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

perl: Text-Unaccent: fixup build #45768

Merged
merged 4 commits into from Aug 31, 2018
Merged

Conversation

jerith666
Copy link
Contributor

workaround as mentioned at https://rt.cpan.org/Public/Bug/Display.html?id=124815

Things done
  • Tested using sandboxing (nix.useSandbox on NixOS, or option 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/)
  • Determined the impact on package closure size (by running nix path-info -S before and after)
  • Fits CONTRIBUTING.md.

@Mic92
Copy link
Member

Mic92 commented Aug 31, 2018

@GrahamcOfBorg build perlPackages.TextUnaccent

@GrahamcOfBorg
Copy link

Failure on x86_64-darwin (full log)

Attempted: perlPackages.TextUnaccent

Partial log (click to expand)

                                    ^
2 warnings generated.
cc -c  -I. -fno-common -DPERL_DARWIN -mmacosx-version-min=10.10 -fno-strict-aliasing -pipe -fstack-protector-strong -I/no-such-path/include -DPERL_USE_SAFE_PUTENV -O3   -DVERSION=\"1.08\" -DXS_VERSION=\"1.08\"  "-I/nix/store/xhir85mv5mfwdkbisnx3bl9h6agjmix4-perl-5.28.0/lib/perl5/5.28.0/darwin-2level/CORE"  -DHAVE_CONFIG_H unac.c
unac.c:41:10: fatal error: 'iconv.h' file not found
#include <iconv.h>
         ^~~~~~~~~
1 error generated.
make: *** [Makefile:336: unac.o] Error 1
builder for '/nix/store/2mpi4lds2m0ny04hshabf1h5gzmscij3-perl5.28.0-Text-Unaccent-1.08.drv' failed with exit code 2
error: build of '/nix/store/2mpi4lds2m0ny04hshabf1h5gzmscij3-perl5.28.0-Text-Unaccent-1.08.drv' failed

@GrahamcOfBorg
Copy link

Success on aarch64-linux (full log)

Attempted: perlPackages.TextUnaccent

Partial log (click to expand)

strip is /nix/store/y4ymnvgxygpq05h03kyzbj572zmh6zla-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/vq36axxahdmym0jn140k4lq0rw4kmhpj-perl5.28.0-Text-Unaccent-1.08/lib
patching script interpreter paths in /nix/store/vq36axxahdmym0jn140k4lq0rw4kmhpj-perl5.28.0-Text-Unaccent-1.08
checking for references to /build in /nix/store/vq36axxahdmym0jn140k4lq0rw4kmhpj-perl5.28.0-Text-Unaccent-1.08...
shrinking RPATHs of ELF executables and libraries in /nix/store/6nc64axq6h71lg5n7v2fri12y1fyc9qa-perl5.28.0-Text-Unaccent-1.08-devdoc
gzipping man pages under /nix/store/6nc64axq6h71lg5n7v2fri12y1fyc9qa-perl5.28.0-Text-Unaccent-1.08-devdoc/share/man/
strip is /nix/store/y4ymnvgxygpq05h03kyzbj572zmh6zla-binutils-2.30/bin/strip
patching script interpreter paths in /nix/store/6nc64axq6h71lg5n7v2fri12y1fyc9qa-perl5.28.0-Text-Unaccent-1.08-devdoc
checking for references to /build in /nix/store/6nc64axq6h71lg5n7v2fri12y1fyc9qa-perl5.28.0-Text-Unaccent-1.08-devdoc...
/nix/store/vq36axxahdmym0jn140k4lq0rw4kmhpj-perl5.28.0-Text-Unaccent-1.08

@GrahamcOfBorg
Copy link

No attempt on x86_64-linux (full log)

The following builds were skipped because they don't evaluate on x86_64-linux: perlPackages.TextUnaccent

Partial log (click to expand)

Cannot nix-instantiate `perlPackages.TextUnaccent' because:
GC Warning: Failed to expand heap by 10737418240 bytes
Can't start up: not enough memory

@Mic92
Copy link
Member

Mic92 commented Aug 31, 2018

@GrahamcOfBorg build perlPackages.TextUnaccent

@GrahamcOfBorg
Copy link

No attempt on x86_64-darwin (full log)

The following builds were skipped because they don't evaluate on x86_64-darwin: perlPackages.TextUnaccent

Partial log (click to expand)

Cannot nix-instantiate `perlPackages.TextUnaccent' because:
error: while evaluating the attribute '__impureHostDeps' of the derivation 'perl5.28.0-Text-Unaccent-1.08' at /private/var/lib/ofborg/builds/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/grahamc-ndnd/pkgs/stdenv/generic/make-derivation.nix:179:11:
while evaluating 'unique' at /private/var/lib/ofborg/builds/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/grahamc-ndnd/lib/lists.nix:539:12, called from /private/var/lib/ofborg/builds/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/grahamc-ndnd/pkgs/stdenv/generic/make-derivation.nix:161:9:
while evaluating anonymous function at /private/var/lib/ofborg/builds/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/grahamc-ndnd/pkgs/stdenv/generic/make-derivation.nix:161:36, called from /private/var/lib/ofborg/builds/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/grahamc-ndnd/pkgs/stdenv/generic/make-derivation.nix:161:21:
while evaluating 'chooseDevOutputs' at /private/var/lib/ofborg/builds/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/grahamc-ndnd/lib/attrsets.nix:462:22, called from undefined position:
while evaluating anonymous function at /private/var/lib/ofborg/builds/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/grahamc-ndnd/lib/attrsets.nix:386:24, called from /private/var/lib/ofborg/builds/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/grahamc-ndnd/lib/attrsets.nix:335:15:
while evaluating 'optionals' at /private/var/lib/ofborg/builds/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/grahamc-ndnd/lib/lists.nix:209:21, called from /private/var/lib/ofborg/builds/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/grahamc-ndnd/pkgs/top-level/perl-packages.nix:16591:19:
undefined variable 'libiconv' at /private/var/lib/ofborg/builds/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/grahamc-ndnd/pkgs/top-level/perl-packages.nix:16591:58

@GrahamcOfBorg
Copy link

Success on aarch64-linux (full log)

Attempted: perlPackages.TextUnaccent

Partial log (click to expand)

/nix/store/vq36axxahdmym0jn140k4lq0rw4kmhpj-perl5.28.0-Text-Unaccent-1.08

@GrahamcOfBorg
Copy link

Success on x86_64-linux (full log)

Attempted: perlPackages.TextUnaccent

Partial log (click to expand)

strip is /nix/store/h0lbngpv6ln56hjj59i6l77vxq25flbz-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/nbhr7lyb3lsh78zifb3zwzcqjsqfjnvr-perl5.28.0-Text-Unaccent-1.08/lib
patching script interpreter paths in /nix/store/nbhr7lyb3lsh78zifb3zwzcqjsqfjnvr-perl5.28.0-Text-Unaccent-1.08
checking for references to /build in /nix/store/nbhr7lyb3lsh78zifb3zwzcqjsqfjnvr-perl5.28.0-Text-Unaccent-1.08...
shrinking RPATHs of ELF executables and libraries in /nix/store/g0h8sgm22wahz7w2fxh78335qi4n4pwn-perl5.28.0-Text-Unaccent-1.08-devdoc
gzipping man pages under /nix/store/g0h8sgm22wahz7w2fxh78335qi4n4pwn-perl5.28.0-Text-Unaccent-1.08-devdoc/share/man/
strip is /nix/store/h0lbngpv6ln56hjj59i6l77vxq25flbz-binutils-2.30/bin/strip
patching script interpreter paths in /nix/store/g0h8sgm22wahz7w2fxh78335qi4n4pwn-perl5.28.0-Text-Unaccent-1.08-devdoc
checking for references to /build in /nix/store/g0h8sgm22wahz7w2fxh78335qi4n4pwn-perl5.28.0-Text-Unaccent-1.08-devdoc...
/nix/store/nbhr7lyb3lsh78zifb3zwzcqjsqfjnvr-perl5.28.0-Text-Unaccent-1.08

@Mic92
Copy link
Member

Mic92 commented Aug 31, 2018

@GrahamcOfBorg build perlPackages.TextUnaccent

@GrahamcOfBorg
Copy link

Failure on x86_64-darwin (full log)

Attempted: perlPackages.TextUnaccent

Partial log (click to expand)

-------------------
t/unac.t (Wstat: 11 Tests: 0 Failed: 0)
  Non-zero wait status: 11
  Parse errors: Bad plan.  You planned 4 tests but ran 0.
Files=1, Tests=0,  0 wallclock secs ( 0.02 usr  0.00 sys +  0.01 cusr  0.00 csys =  0.03 CPU)
Result: FAIL
Failed 1/1 test programs. 0/0 subtests failed.
make: *** [Makefile:1025: test_dynamic] Error 255
builder for '/nix/store/jnpynv08v5jshnn87kxdg273ybd2mb8k-perl5.28.0-Text-Unaccent-1.08.drv' failed with exit code 2
error: build of '/nix/store/jnpynv08v5jshnn87kxdg273ybd2mb8k-perl5.28.0-Text-Unaccent-1.08.drv' failed

@GrahamcOfBorg
Copy link

Success on aarch64-linux (full log)

Attempted: perlPackages.TextUnaccent

Partial log (click to expand)

/nix/store/vq36axxahdmym0jn140k4lq0rw4kmhpj-perl5.28.0-Text-Unaccent-1.08

@GrahamcOfBorg
Copy link

Success on x86_64-linux (full log)

Attempted: perlPackages.TextUnaccent

Partial log (click to expand)

strip is /nix/store/h0lbngpv6ln56hjj59i6l77vxq25flbz-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/nbhr7lyb3lsh78zifb3zwzcqjsqfjnvr-perl5.28.0-Text-Unaccent-1.08/lib
patching script interpreter paths in /nix/store/nbhr7lyb3lsh78zifb3zwzcqjsqfjnvr-perl5.28.0-Text-Unaccent-1.08
checking for references to /build in /nix/store/nbhr7lyb3lsh78zifb3zwzcqjsqfjnvr-perl5.28.0-Text-Unaccent-1.08...
shrinking RPATHs of ELF executables and libraries in /nix/store/g0h8sgm22wahz7w2fxh78335qi4n4pwn-perl5.28.0-Text-Unaccent-1.08-devdoc
gzipping man pages under /nix/store/g0h8sgm22wahz7w2fxh78335qi4n4pwn-perl5.28.0-Text-Unaccent-1.08-devdoc/share/man/
strip is /nix/store/h0lbngpv6ln56hjj59i6l77vxq25flbz-binutils-2.30/bin/strip
patching script interpreter paths in /nix/store/g0h8sgm22wahz7w2fxh78335qi4n4pwn-perl5.28.0-Text-Unaccent-1.08-devdoc
checking for references to /build in /nix/store/g0h8sgm22wahz7w2fxh78335qi4n4pwn-perl5.28.0-Text-Unaccent-1.08-devdoc...
/nix/store/nbhr7lyb3lsh78zifb3zwzcqjsqfjnvr-perl5.28.0-Text-Unaccent-1.08

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