Package Base Details: nix-git

Git Clone URL: https://aur.archlinux.org/nix-git.git (read-only, click to copy)
Submitter: atweiden
Maintainer: alerque
Last Packager: alerque
Votes: 4
Popularity: 0.000002
First Submitted: 2016-01-11 03:58 (UTC)
Last Updated: 2023-06-26 08:11 (UTC)

Latest Comments

eclairevoyant commented on 2023-07-17 05:11 (UTC)

@alerque the issue was caused by the PKGBUILD using _GLIBCXX_USE_CXX11_ABI, so I removed that and provided some other improvements that we can discuss on the PR directly.

To your other point, I agree that VCS packages may occasionally break, but I would seriously doubt that the main build system/package manager on a distro which receives active development would be broken for months. And I think this package in particular should always build, since they have proper CI set up.

alerque commented on 2023-06-26 08:08 (UTC) (edited on 2023-06-26 08:09 (UTC) by alerque)

@eclairevoyant Re your orphan request, please consider sending patches. If I see good patches I'll add you or whoever as co-maintainers too. You can also send PRs against this repository.

I mostly synced this with the stable packaging in [extra]. There is still a build issue of some kind. We regularly have trouble with differences between stable releases and how they handle compiler flags, this looks like more of that. In between releases breaks frequently. I'm happy to patch this if people figure out what is going on at any given time, but I don't think the expectation is that a VCS package will always build.

AkechiShiro commented on 2022-09-22 09:34 (UTC)

Build is still failing with the same error as @SamLukeYes

SamLukeYes commented on 2022-04-24 06:29 (UTC) (edited on 2022-04-24 06:36 (UTC) by SamLukeYes)

nlohmann-json should be added to makedepends. After adding this dependency, build fails with the following error:

  LD     /usr/lib/libnixutil.so
/usr/bin/ld: cannot open output file /usr/lib/libnixutil.so: Permission denied
collect2: error: ld returned 1 exit status
make: *** [mk/lib.mk:117: /usr/lib/libnixutil.so] Error 1
make: *** Waiting for unfinished jobs....
==> ERROR: A failure occurred in build().
    Aborting...
==> ERROR: Build failed, check /var/lib/aurbuild/x86_64/yes/build

alerque commented on 2021-11-16 18:49 (UTC)

@grawlinson Thanks for getting that working. Kind of a bummer, I did about 90% of that work a few days back but ran out of time to finish and hence we duplicated a lot of fiddling. Oh well. I'll work on migrating those changes over here.

Also we need to talk upstream into getting their stable tags merged to master so git describe gives sane results again.

grawlinson commented on 2021-11-16 04:01 (UTC)

Nix 2.4 is in testing, a few significant changes were required. Some of these changes should help this package compile again.

alerque commented on 2021-11-16 03:29 (UTC)

I brought this up to speed a lot with current build issues (largely copied from the stable builds) but there is still an issue with the ld step. I have the same issue trying to bump the stable build to 2.4. If anybody knows what is up with that please do let me know!

AkechiShiro commented on 2021-10-31 14:13 (UTC)

I found that the filename version was changed to ".version".

But I've met a new error, it seems there is a missing dependency :

configure: error: Package requirements (libcpuid) were not met:

Package 'libcpuid', required by 'virtual:world', not found

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively, you may set the environment variables LIBCPUID_CFLAGS
and LIBCPUID_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.
==> ERROR: A failure occurred in build().
    Aborting...

haagch commented on 2017-09-23 14:48 (UTC)

A dependency on https://aur.archlinux.org/packages/nlohmann_json-git/ is missing.