Skip to content

Instantly share code, notes, and snippets.

@thefloweringash
Created August 1, 2020 09:54
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save thefloweringash/10f236a3d9fee59298bdee2ec47480e8 to your computer and use it in GitHub Desktop.
Save thefloweringash/10f236a3d9fee59298bdee2ec47480e8 to your computer and use it in GitHub Desktop.
nix-build -A perlPackages.LocaleGettext with updated bootstrap tools
these derivations will be built:
/nix/store/mhwc9yhx36qcgsnd6730gyacyh1r8pbm-perl5.30.3-gettext-1.07.drv
building '/nix/store/mhwc9yhx36qcgsnd6730gyacyh1r8pbm-perl5.30.3-gettext-1.07.drv'...
unpacking sources
unpacking source archive /nix/store/53ar6y7s69wmgf5bsb2grphlq5hp2zfd-gettext-1.07.tar.gz
source root is Locale-gettext-1.07
setting SOURCE_DATE_EPOCH to timestamp 1443458880 of file Locale-gettext-1.07/META.yml
patching sources
configuring
patching ./t/frconvert.t...
patching ./t/jaconvert.t...
patching ./t/raw.t...
patching ./t/bind.t...
patching ./t/use.t...
checking for gettext... yes
checking for dgettext... yes
checking for ngettext... yes
checking for bind_textdomain_codeset... yes
Checking if your kit is complete...
Looks good
Generating a Unix-style Makefile
Writing Makefile for Locale::gettext
Writing MYMETA.yml and MYMETA.json
no configure script, doing nothing
building
build flags: SHELL=/nix/store/2zpjcwvc73cmirzvw7g461s96ri6dr55-bash-4.4-p23/bin/bash
cp gettext.pm blib/lib/Locale/gettext.pm
Running Mkbootstrap for gettext ()
chmod 644 "gettext.bs"
"/nix/store/z72xsh2ks2w337q2mr8kanhb47hln76l-perl-5.30.3/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- gettext.bs blib/arch/auto/Locale/gettext/gettext.bs 644
"/nix/store/z72xsh2ks2w337q2mr8kanhb47hln76l-perl-5.30.3/bin/perl" "/nix/store/z72xsh2ks2w337q2mr8kanhb47hln76l-perl-5.30.3/lib/perl5/5.30.3/ExtUtils/xsubpp" -typemap '/nix/store/z72xsh2ks2w337q2mr8kanhb47hln76l-perl-5.30.3/lib/perl5/5.30.3/ExtUtils/typemap' gettext.xs > gettext.xsc
Please specify prototyping behavior for gettext.xs (see perlxs manual)
mv gettext.xsc gettext.c
cc -c -fno-common -DPERL_DARWIN -mmacosx-version-min=10.12 -fno-strict-aliasing -pipe -fstack-protector-strong -I/no-such-path/include -DPERL_USE_SAFE_PUTENV -O3 -DVERSION=\"1.07\" -DXS_VERSION=\"1.07\" "-I/nix/store/z72xsh2ks2w337q2mr8kanhb47hln76l-perl-5.30.3/lib/perl5/5.30.3/darwin-thread-multi-2level/CORE" gettext.c
rm -f blib/arch/auto/Locale/gettext/gettext.bundle
cc -mmacosx-version-min=10.12 -bundle -undefined dynamic_lookup -L/no-such-path/lib -fstack-protector-strong gettext.o -o blib/arch/auto/Locale/gettext/gettext.bundle \
\
chmod 755 blib/arch/auto/Locale/gettext/gettext.bundle
Manifying 1 pod document
running tests
check flags: SHELL=/nix/store/2zpjcwvc73cmirzvw7g461s96ri6dr55-bash-4.4-p23/bin/bash VERBOSE=y test
"/nix/store/z72xsh2ks2w337q2mr8kanhb47hln76l-perl-5.30.3/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- gettext.bs blib/arch/auto/Locale/gettext/gettext.bs 644
PERL_DL_NONLAZY=1 "/nix/store/z72xsh2ks2w337q2mr8kanhb47hln76l-perl-5.30.3/bin/perl" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/bind.t ....... Can't load '/private/tmp/nix-build-perl5.30.3-gettext-1.07.drv-1/Locale-gettext-1.07/blib/arch/auto/Locale/gettext/gettext.bundle' for module Locale::gettext: dlopen(/private/tmp/nix-build-perl5.30.3-gettext-1.07.drv-1/Locale-gettext-1.07/blib/arch/auto/Locale/gettext/gettext.bundle, 2): Symbol not found: ___isOSVersionAtLeast
Referenced from: /nix/store/p4s4w4q1lwvcla9p88d9ikvvwfxl66fg-curl-7.71.1/lib/libcurl.4.dylib
Expected in: flat namespace
in /nix/store/p4s4w4q1lwvcla9p88d9ikvvwfxl66fg-curl-7.71.1/lib/libcurl.4.dylib at /nix/store/z72xsh2ks2w337q2mr8kanhb47hln76l-perl-5.30.3/lib/perl5/5.30.3/darwin-thread-multi-2level/DynaLoader.pm line 197.
at t/bind.t line 6.
Compilation failed in require at t/bind.t line 6.
BEGIN failed--compilation aborted at t/bind.t line 6.
t/bind.t ....... Dubious, test returned 2 (wstat 512, 0x200)
Failed 1/1 subtests
t/frconvert.t .. Can't load '/private/tmp/nix-build-perl5.30.3-gettext-1.07.drv-1/Locale-gettext-1.07/blib/arch/auto/Locale/gettext/gettext.bundle' for module Locale::gettext: dlopen(/private/tmp/nix-build-perl5.30.3-gettext-1.07.drv-1/Locale-gettext-1.07/blib/arch/auto/Locale/gettext/gettext.bundle, 2): Symbol not found: ___isOSVersionAtLeast
Referenced from: /nix/store/p4s4w4q1lwvcla9p88d9ikvvwfxl66fg-curl-7.71.1/lib/libcurl.4.dylib
Expected in: flat namespace
in /nix/store/p4s4w4q1lwvcla9p88d9ikvvwfxl66fg-curl-7.71.1/lib/libcurl.4.dylib at /nix/store/z72xsh2ks2w337q2mr8kanhb47hln76l-perl-5.30.3/lib/perl5/5.30.3/darwin-thread-multi-2level/DynaLoader.pm line 197.
at t/frconvert.t line 8.
Compilation failed in require at t/frconvert.t line 8.
BEGIN failed--compilation aborted at t/frconvert.t line 8.
t/frconvert.t .. Dubious, test returned 2 (wstat 512, 0x200)
Failed 1/1 subtests
t/jaconvert.t .. Can't load '/private/tmp/nix-build-perl5.30.3-gettext-1.07.drv-1/Locale-gettext-1.07/blib/arch/auto/Locale/gettext/gettext.bundle' for module Locale::gettext: dlopen(/private/tmp/nix-build-perl5.30.3-gettext-1.07.drv-1/Locale-gettext-1.07/blib/arch/auto/Locale/gettext/gettext.bundle, 2): Symbol not found: ___isOSVersionAtLeast
Referenced from: /nix/store/p4s4w4q1lwvcla9p88d9ikvvwfxl66fg-curl-7.71.1/lib/libcurl.4.dylib
Expected in: flat namespace
in /nix/store/p4s4w4q1lwvcla9p88d9ikvvwfxl66fg-curl-7.71.1/lib/libcurl.4.dylib at /nix/store/z72xsh2ks2w337q2mr8kanhb47hln76l-perl-5.30.3/lib/perl5/5.30.3/darwin-thread-multi-2level/DynaLoader.pm line 197.
at t/jaconvert.t line 8.
Compilation failed in require at t/jaconvert.t line 8.
BEGIN failed--compilation aborted at t/jaconvert.t line 8.
t/jaconvert.t .. Dubious, test returned 2 (wstat 512, 0x200)
Failed 1/1 subtests
t/raw.t ........ Can't load '/private/tmp/nix-build-perl5.30.3-gettext-1.07.drv-1/Locale-gettext-1.07/blib/arch/auto/Locale/gettext/gettext.bundle' for module Locale::gettext: dlopen(/private/tmp/nix-build-perl5.30.3-gettext-1.07.drv-1/Locale-gettext-1.07/blib/arch/auto/Locale/gettext/gettext.bundle, 2): Symbol not found: ___isOSVersionAtLeast
Referenced from: /nix/store/p4s4w4q1lwvcla9p88d9ikvvwfxl66fg-curl-7.71.1/lib/libcurl.4.dylib
Expected in: flat namespace
in /nix/store/p4s4w4q1lwvcla9p88d9ikvvwfxl66fg-curl-7.71.1/lib/libcurl.4.dylib at /nix/store/z72xsh2ks2w337q2mr8kanhb47hln76l-perl-5.30.3/lib/perl5/5.30.3/darwin-thread-multi-2level/DynaLoader.pm line 197.
at t/raw.t line 8.
Compilation failed in require at t/raw.t line 8.
BEGIN failed--compilation aborted at t/raw.t line 8.
t/raw.t ........ Dubious, test returned 2 (wstat 512, 0x200)
Failed 1/1 subtests
t/use.t ........ Can't load '/private/tmp/nix-build-perl5.30.3-gettext-1.07.drv-1/Locale-gettext-1.07/blib/arch/auto/Locale/gettext/gettext.bundle' for module Locale::gettext: dlopen(/private/tmp/nix-build-perl5.30.3-gettext-1.07.drv-1/Locale-gettext-1.07/blib/arch/auto/Locale/gettext/gettext.bundle, 2): Symbol not found: ___isOSVersionAtLeast
Referenced from: /nix/store/p4s4w4q1lwvcla9p88d9ikvvwfxl66fg-curl-7.71.1/lib/libcurl.4.dylib
Expected in: flat namespace
in /nix/store/p4s4w4q1lwvcla9p88d9ikvvwfxl66fg-curl-7.71.1/lib/libcurl.4.dylib at /nix/store/z72xsh2ks2w337q2mr8kanhb47hln76l-perl-5.30.3/lib/perl5/5.30.3/darwin-thread-multi-2level/DynaLoader.pm line 197.
at t/use.t line 6.
Compilation failed in require at t/use.t line 6.
BEGIN failed--compilation aborted at t/use.t line 6.
t/use.t ........ Dubious, test returned 2 (wstat 512, 0x200)
Failed 1/1 subtests
Test Summary Report
-------------------
t/bind.t (Wstat: 512 Tests: 0 Failed: 0)
Non-zero exit status: 2
Parse errors: Bad plan. You planned 1 tests but ran 0.
t/frconvert.t (Wstat: 512 Tests: 0 Failed: 0)
Non-zero exit status: 2
Parse errors: Bad plan. You planned 1 tests but ran 0.
t/jaconvert.t (Wstat: 512 Tests: 0 Failed: 0)
Non-zero exit status: 2
Parse errors: Bad plan. You planned 1 tests but ran 0.
t/raw.t (Wstat: 512 Tests: 0 Failed: 0)
Non-zero exit status: 2
Parse errors: Bad plan. You planned 1 tests but ran 0.
t/use.t (Wstat: 512 Tests: 0 Failed: 0)
Non-zero exit status: 2
Parse errors: Bad plan. You planned 1 tests but ran 0.
Files=5, Tests=0, 1 wallclock secs ( 0.04 usr 0.02 sys + 0.21 cusr 0.07 csys = 0.34 CPU)
Result: FAIL
Failed 5/5 test programs. 0/0 subtests failed.
make: *** [Makefile:1032: test_dynamic] Error 2
builder for '/nix/store/mhwc9yhx36qcgsnd6730gyacyh1r8pbm-perl5.30.3-gettext-1.07.drv' failed with exit code 2
error: build of '/nix/store/mhwc9yhx36qcgsnd6730gyacyh1r8pbm-perl5.30.3-gettext-1.07.drv' failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment