Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

libpqxx: Add dependency on doxygen and xmlto #36334

Merged
merged 1 commit into from Mar 5, 2018
Merged

Conversation

chrisburr
Copy link
Contributor

Motivation for this change

Unable to build hydra due to this error when building libpqxx:

if test -x "/cvmfs/lhcbdev.cern.ch/nix/store/mdxz9iba3irpy37jabkfx3aqra3wvpgb-doxygen-1.8.14/bin/doxygen"; then \
  /cvmfs/lhcbdev.cern.ch/nix/store/wgfllczzdy62a5q1wm1ibk2v1lvvqprw-coreutils-8.29/bin/mkdir -p html/Reference; \
  /cvmfs/lhcbdev.cern.ch/nix/store/mdxz9iba3irpy37jabkfx3aqra3wvpgb-doxygen-1.8.14/bin/doxygen Doxyfile; \
  touch reference-stamp; \
else \
  echo >&2; \
  echo >&2 "*****************************************************"; \
  echo >&2; \
  echo >&2 "Doxygen not found."; \
  echo >&2 "Install it, or configure with --disable-documentation"; \
  echo >&2; \
  echo >&2 "*****************************************************"; \
  exit 1; \
fi

*****************************************************

Doxygen not found.
Install it, or configure with --disable-documentation

*****************************************************
make[1]: *** [Makefile:484: reference-stamp] Error 1
Things done
  • Tested using sandboxing (nix.useSandbox on NixOS, or option build-use-sandbox in nix.conf on non-NixOS)
  • Built on platform(s)
    • NixOS
    • macOS
    • other Linux distributions
  • Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
  • Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
  • Tested execution of all binary files (usually in ./result/bin/)
  • Fits CONTRIBUTING.md.

@Mic92
Copy link
Member

Mic92 commented Mar 5, 2018

@GrahamcOfBorg build libpqxx

@GrahamcOfBorg
Copy link

Failure on x86_64-darwin (full log)

Partial log (click to expand)

Package ‘libpqxx-6.1.0’ in /Users/graham/nix-borg/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/grahamc-ndnd/pkgs/development/libraries/libpqxx/default.nix:24 is not supported on ‘x86_64-darwin’, refusing to evaluate.

a) For `nixos-rebuild` you can set
  { nixpkgs.config.allowBroken = true; }
in configuration.nix to override this.

b) For `nix-env`, `nix-build`, `nix-shell` or any other Nix command you can add
  { allowBroken = true; }
to ~/.config/nixpkgs/config.nix.

@GrahamcOfBorg
Copy link

Success on x86_64-linux (full log)

Partial log (click to expand)

make[1]: Leaving directory '/tmp/nix-build-libpqxx-6.1.0.drv-0/source'
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/crcdg1srjj4dzz999qbfldnqpmcn1knn-libpqxx-6.1.0
shrinking /nix/store/crcdg1srjj4dzz999qbfldnqpmcn1knn-libpqxx-6.1.0/lib/libpqxx-6.1.so
strip is /nix/store/b0zlxla7dmy1iwc3g459rjznx59797xy-binutils-2.28.1/bin/strip
stripping (with command strip and flags -S) in /nix/store/crcdg1srjj4dzz999qbfldnqpmcn1knn-libpqxx-6.1.0/lib  /nix/store/crcdg1srjj4dzz999qbfldnqpmcn1knn-libpqxx-6.1.0/bin 
patching script interpreter paths in /nix/store/crcdg1srjj4dzz999qbfldnqpmcn1knn-libpqxx-6.1.0
/nix/store/crcdg1srjj4dzz999qbfldnqpmcn1knn-libpqxx-6.1.0/bin/pqxx-config: interpreter directive changed from " /bin/sh" to "/nix/store/zqh3l3lyw32q1ayb15bnvg9f24j5v2p0-bash-4.4-p12/bin/sh"
checking for references to /tmp/nix-build-libpqxx-6.1.0.drv-0 in /nix/store/crcdg1srjj4dzz999qbfldnqpmcn1knn-libpqxx-6.1.0...
/nix/store/crcdg1srjj4dzz999qbfldnqpmcn1knn-libpqxx-6.1.0

@GrahamcOfBorg
Copy link

Success on aarch64-linux (full log)

Partial log (click to expand)

make[1]: Leaving directory '/build/source'
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/xbh730sifzllgbwk7v49dvljv924d88b-libpqxx-6.1.0
shrinking /nix/store/xbh730sifzllgbwk7v49dvljv924d88b-libpqxx-6.1.0/lib/libpqxx-6.1.so
strip is /nix/store/lvx1acn1ig1j2km8jds5x3ggh3f2wa8v-binutils-2.28.1/bin/strip
stripping (with command strip and flags -S) in /nix/store/xbh730sifzllgbwk7v49dvljv924d88b-libpqxx-6.1.0/lib  /nix/store/xbh730sifzllgbwk7v49dvljv924d88b-libpqxx-6.1.0/bin
patching script interpreter paths in /nix/store/xbh730sifzllgbwk7v49dvljv924d88b-libpqxx-6.1.0
/nix/store/xbh730sifzllgbwk7v49dvljv924d88b-libpqxx-6.1.0/bin/pqxx-config: interpreter directive changed from " /bin/sh" to "/nix/store/lnws52qanbi5vz8qg24v4ym57nznfndg-bash-4.4-p12/bin/sh"
checking for references to /build in /nix/store/xbh730sifzllgbwk7v49dvljv924d88b-libpqxx-6.1.0...
/nix/store/xbh730sifzllgbwk7v49dvljv924d88b-libpqxx-6.1.0

@Mic92 Mic92 merged commit 9769391 into NixOS:master Mar 5, 2018
@chrisburr chrisburr deleted the patch-2 branch March 5, 2018 11:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants