Code Monkey home page Code Monkey logo

Comments (4)

xiota avatar xiota commented on September 24, 2024 1

Tried building again. Failed with different error:

error: failed to run custom build command for `alpm v2.2.2 (https://github.com/archlinux/alpm.rs?rev=8da396#8da39602)`

Caused by:
  process didn't exit successfully: `/home/main-builder/pkgwork/src/paru-2.0.1/target/release/build/alpm-6f8a529ebab994ca/build-script-build` (exit status: 101)
  --- stderr
  thread 'main' panicked at /home/main-builder/.cargo/git/checkouts/alpm.rs-a0070a235cf20bfa/8da3960/alpm/build.rs:25:13:
  this version of alpm.rs does not support libalpm v14.0.0 only v13.x.x is supported
  note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
warning: build failed, waiting for other jobs to finish...

I'm rejecting this because packages that cannot be successfully built should not be relied upon for system recovery.

from packages.

dr460nf1r3 avatar dr460nf1r3 commented on September 24, 2024

How exactly would paru-static help in this case? Since you would likely unbreak it pacman-static and have regular paru work again?

from packages.

LukeShortCloud avatar LukeShortCloud commented on September 24, 2024

My personal use-case is for my winesapOS upgrade script. It is basically an automated Arch Linux upgrade script - something I am having talks with others in the community about refactoring and making a generic and separate archupgrade project. Before performing a full system upgrade with Pacman, we first check for installed packages that will have major upgrade conflicts and deal with them on a one-by-one basis first. Then we perform the full system upgrade.

The vision here is to eventually upgrade the minimal amount of packages (basically base, base-devel, and all of their children dependencies)., go through fixing individual conflicts (some of them from the AUR), and then do a system upgrade with pacman -S -u at the end.

A problem that comes up from time-to-time is that users do not use our included upgrade script and are left with a half broken system when they upgrade since they do not know how to manually deal with these issues. Most recently, a user upgraded via Discover and a few dependencies of Pacman (archive related) were upgraded but nothing else. Those dependencies happened to affect everything else.

Perhaps I am overthinking this or simply being overly cautious.

from packages.

xiota avatar xiota commented on September 24, 2024

aur/paru-static cannot be added because it currently does not build successfully.

  = note: /usr/bin/ld: cannot find -lssl: No such file or directory
          /usr/bin/ld: cannot find -lcrypto: No such file or directory
          /usr/bin/ld: cannot find -lalpm: No such file or directory
          /usr/bin/ld: cannot find -larchive: No such file or directory
          /usr/bin/ld: cannot find -lacl: No such file or directory
          /usr/bin/ld: cannot find -lexpat: No such file or directory
          /usr/bin/ld: cannot find -llzma: No such file or directory
          /usr/bin/ld: cannot find -llz4: No such file or directory
          /usr/bin/ld: cannot find -lbz2: No such file or directory
          /usr/bin/ld: cannot find -lcurl: No such file or directory
          /usr/bin/ld: cannot find -lnghttp3: No such file or directory
          /usr/bin/ld: cannot find -lnghttp2: No such file or directory
          /usr/bin/ld: cannot find -lidn2: No such file or directory
          /usr/bin/ld: cannot find -lssh2: No such file or directory
          /usr/bin/ld: cannot find -lpsl: No such file or directory
          /usr/bin/ld: cannot find -lssl: No such file or directory
          /usr/bin/ld: cannot find -lcrypto: No such file or directory
          /usr/bin/ld: cannot find -lgssapi_krb5: No such file or directory
          /usr/bin/ld: cannot find -lzstd: No such file or directory
          /usr/bin/ld: cannot find -lbrotlidec: No such file or directory
          /usr/bin/ld: cannot find -lgpgme: No such file or directory
          /usr/bin/ld: cannot find -lassuan: No such file or directory
          /usr/bin/ld: cannot find -lgpg-error: No such file or directory
          /usr/bin/ld: /home/main-builder/pkgwork/src/paru-2.0.1/target/x86_64-unknown-linux-musl/release/deps/paru-9a8bfb430a9680ec.paru.e1b032e40a9961a2-cgu.0.rcgu.o: in function `<std::sys_common::net::LookupHost as core::convert::TryFrom<(&str,u16)>>::try_from::{{closure}}':
          paru.e1b032e40a9961a2-cgu.0:(.text._ZN104_$LT$std..sys_common..net..LookupHost$u20$as$u20$core..convert..TryFrom$LT$$LP$$RF$str$C$u16$RP$$GT$$GT$8try_from28_$u7b$$u7b$closure$u7d$$u7d$17h9819642b60ce3d4aE+0x5a): warning: Using 'getaddrinfo' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
          /usr/bin/ld: /home/main-builder/pkgwork/src/paru-2.0.1/target/x86_64-unknown-linux-musl/release/deps/paru-9a8bfb430a9680ec.paru.e1b032e40a9961a2-cgu.0.rcgu.o: in function `dirs_sys::target_unix_not_redox::home_dir':
          paru.e1b032e40a9961a2-cgu.0:(.text._ZN8dirs_sys21target_unix_not_redox8home_dir17hd359b9a7c296b426E+0xdb): warning: Using 'getpwuid_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
          collect2: error: ld returned 1 exit status
          /usr/bin/ld: /home/main-builder/pkgwork/src/paru-2.0.1/target/x86_64-unknown-linux-musl/release/deps/paru-9a8bfb430a9680ec.paru.e1b032e40a9961a2-cgu.0.rcgu.o: note: the message above does not take linker garbage collection into account
          /usr/bin/ld: /home/main-builder/pkgwork/src/paru-2.0.1/target/x86_64-unknown-linux-musl/release/deps/paru-9a8bfb430a9680ec.paru.e1b032e40a9961a2-cgu.0.rcgu.o: note: the message above does not take linker garbage collection into account


error: could not compile `paru` (bin "paru") due to 1 previous error

from packages.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.