Skip to content

python.pkgs.pythonix: 0.1.0 -> 0.1.1#42065

Merged
Mic92 merged 1 commit intoNixOS:masterfrom
Mic92:pythonix
Jun 15, 2018
Merged

python.pkgs.pythonix: 0.1.0 -> 0.1.1#42065
Mic92 merged 1 commit intoNixOS:masterfrom
Mic92:pythonix

Conversation

@Mic92
Copy link
Member

@Mic92 Mic92 commented Jun 15, 2018

also fix the build

Motivation for this change
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/)
  • Fits CONTRIBUTING.md.

@Mic92 Mic92 requested a review from FRidh as a code owner June 15, 2018 10:53
@Mic92
Copy link
Member Author

Mic92 commented Jun 15, 2018

@GrahamcOfBorg build python3.pkgs.pythonix

@Mic92 Mic92 added the 9.needs: port to stable A PR needs a backport to the stable release. label Jun 15, 2018
@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: python3.pkgs.pythonix

Partial log (click to expand)


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

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


@Mic92
Copy link
Member Author

Mic92 commented Jun 15, 2018

This is broken on stable as well due to an nixUnstable update.

@GrahamcOfBorg
Copy link

Success on x86_64-linux (full log)

Attempted: python3.pkgs.pythonix

Partial log (click to expand)

[0/1] Installing files.
Installing src/nix.so to /nix/store/xikhja43yhgd1ph7gsgzfln10v086ffk-pythonix-0.1.1/lib/python3.6/site-packages/nix.so
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/xikhja43yhgd1ph7gsgzfln10v086ffk-pythonix-0.1.1
shrinking /nix/store/xikhja43yhgd1ph7gsgzfln10v086ffk-pythonix-0.1.1/lib/python3.6/site-packages/nix.so
strip is /nix/store/4mf2xm9p32lzrim927yk92xhx35yaz62-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/xikhja43yhgd1ph7gsgzfln10v086ffk-pythonix-0.1.1/lib
patching script interpreter paths in /nix/store/xikhja43yhgd1ph7gsgzfln10v086ffk-pythonix-0.1.1
checking for references to /build in /nix/store/xikhja43yhgd1ph7gsgzfln10v086ffk-pythonix-0.1.1...
/nix/store/xikhja43yhgd1ph7gsgzfln10v086ffk-pythonix-0.1.1

@Mic92
Copy link
Member Author

Mic92 commented Jun 15, 2018

@GrahamcOfBorg build python3.pkgs.pythonix

@GrahamcOfBorg
Copy link

Success on x86_64-linux (full log)

Attempted: python3.pkgs.pythonix

Partial log (click to expand)

[0/1] Installing files.
Installing src/nix.so to /nix/store/xikhja43yhgd1ph7gsgzfln10v086ffk-pythonix-0.1.1/lib/python3.6/site-packages/nix.so
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/xikhja43yhgd1ph7gsgzfln10v086ffk-pythonix-0.1.1
shrinking /nix/store/xikhja43yhgd1ph7gsgzfln10v086ffk-pythonix-0.1.1/lib/python3.6/site-packages/nix.so
strip is /nix/store/4mf2xm9p32lzrim927yk92xhx35yaz62-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/xikhja43yhgd1ph7gsgzfln10v086ffk-pythonix-0.1.1/lib
patching script interpreter paths in /nix/store/xikhja43yhgd1ph7gsgzfln10v086ffk-pythonix-0.1.1
checking for references to /build in /nix/store/xikhja43yhgd1ph7gsgzfln10v086ffk-pythonix-0.1.1...
/nix/store/xikhja43yhgd1ph7gsgzfln10v086ffk-pythonix-0.1.1

@GrahamcOfBorg
Copy link

Failure on x86_64-darwin (full log)

Attempted: python3.pkgs.pythonix

Partial log (click to expand)

/nix/store/c31hd5m0i1hkyml99qh50p7f1p2wwyfb-nix-2.0.4-dev/include/nix/util.hh:23:9: warning: 'DT_DIR' macro redefined [-Wmacro-redefined]
#define DT_DIR 3
        ^
/nix/store/0yvai96flnxvsl8bn95nwcz1y7pd7xa5-Libsystem-osx-10.11.6/include/sys/dirent.h:126:9: note: previous definition is here
#define DT_DIR           4
        ^
3 warnings generated.
ninja: build stopped: subcommand failed.
builder for '/nix/store/d464qngb1ybqjfz1sblsm7r6q1lp5f6w-pythonix-0.1.1.drv' failed with exit code 1
error: build of '/nix/store/d464qngb1ybqjfz1sblsm7r6q1lp5f6w-pythonix-0.1.1.drv' failed

@GrahamcOfBorg GrahamcOfBorg added the 6.topic: python Python is a high-level, general-purpose programming language. label Jun 15, 2018
@Mic92
Copy link
Member Author

Mic92 commented Jun 15, 2018

@GrahamcOfBorg build python3.pkgs.pythonix

@GrahamcOfBorg
Copy link

Failure on x86_64-darwin (full log)

Attempted: python3.pkgs.pythonix

Partial log (click to expand)

[1/5] Compiling C++ object 'src/src@@nix@sha/nix-to-python.cc.o'.
FAILED: src/src@@nix@sha/nix-to-python.cc.o
/nix/store/jpwsh1pzwnizdzqk2l266526j9ap1r5j-clang-wrapper-5.0.2/bin/c++ -Isrc/src@@nix@sha -Isrc -I../src -I/nix/store/2kjsky9h9h9klwb08f7h4vfkji3ii6ax-python3-3.6.5/include/python3.6m -I/nix/store/c31hd5m0i1hkyml99qh50p7f1p2wwyfb-nix-2.0.4-dev/include/nix -I/nix/store/cyb1vq511qrlca7lh0f7kscadr0ni55j-boehm-gc-7.6.6-dev/include -Xclang -fcolor-diagnostics -pipe -Wall -Winvalid-pch -Wnon-virtual-dtor -O3 -std=c++14 -std=c++17 -fvisibility=hidden  -MD -MQ 'src/src@@nix@sha/nix-to-python.cc.o' -MF 'src/src@@nix@sha/nix-to-python.cc.o.d' -o 'src/src@@nix@sha/nix-to-python.cc.o' -c ../src/nix-to-python.cc
../src/nix-to-python.cc:85:18: error: cannot pass object of non-trivial type 'std::__1::string' (aka 'basic_string<char, char_traits<char>, allocator<char> >') through variadic function; call will abort at runtime [-Wnon-pod-varargs]
                 showType(v));
                 ^
1 error generated.
ninja: build stopped: subcommand failed.
builder for '/nix/store/csg2rrxrbcw86b9wspvh1hhilrbha04h-pythonix-0.1.2.drv' failed with exit code 1
error: build of '/nix/store/csg2rrxrbcw86b9wspvh1hhilrbha04h-pythonix-0.1.2.drv' failed

@GrahamcOfBorg
Copy link

Success on x86_64-linux (full log)

Attempted: python3.pkgs.pythonix

Partial log (click to expand)

[0/1] Installing files.
Installing src/nix.so to /nix/store/jdn9p7qfcd2gy8kxmgkzhckp2hikk6vj-pythonix-0.1.2/lib/python3.6/site-packages/nix.so
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/jdn9p7qfcd2gy8kxmgkzhckp2hikk6vj-pythonix-0.1.2
shrinking /nix/store/jdn9p7qfcd2gy8kxmgkzhckp2hikk6vj-pythonix-0.1.2/lib/python3.6/site-packages/nix.so
strip is /nix/store/4mf2xm9p32lzrim927yk92xhx35yaz62-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/jdn9p7qfcd2gy8kxmgkzhckp2hikk6vj-pythonix-0.1.2/lib
patching script interpreter paths in /nix/store/jdn9p7qfcd2gy8kxmgkzhckp2hikk6vj-pythonix-0.1.2
checking for references to /build in /nix/store/jdn9p7qfcd2gy8kxmgkzhckp2hikk6vj-pythonix-0.1.2...
/nix/store/jdn9p7qfcd2gy8kxmgkzhckp2hikk6vj-pythonix-0.1.2

@GrahamcOfBorg GrahamcOfBorg added 8.has: clean-up This PR removes packages or removes other cruft 8.has: package (new) This PR adds a new package 10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin. 10.rebuild-linux: 1-10 This PR causes between 1 and 10 packages to rebuild on Linux. labels Jun 15, 2018
@Mic92
Copy link
Member Author

Mic92 commented Jun 15, 2018

@GrahamcOfBorg build python3.pkgs.pythonix

@GrahamcOfBorg
Copy link

Success on x86_64-linux (full log)

Attempted: python3.pkgs.pythonix

Partial log (click to expand)

[0/1] Installing files.
Installing src/nix.so to /nix/store/05pqyx0r3ljvmm4m0g9bfar7gkf2aj9f-pythonix-0.1.3/lib/python3.6/site-packages/nix.so
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/05pqyx0r3ljvmm4m0g9bfar7gkf2aj9f-pythonix-0.1.3
shrinking /nix/store/05pqyx0r3ljvmm4m0g9bfar7gkf2aj9f-pythonix-0.1.3/lib/python3.6/site-packages/nix.so
strip is /nix/store/4mf2xm9p32lzrim927yk92xhx35yaz62-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/05pqyx0r3ljvmm4m0g9bfar7gkf2aj9f-pythonix-0.1.3/lib
patching script interpreter paths in /nix/store/05pqyx0r3ljvmm4m0g9bfar7gkf2aj9f-pythonix-0.1.3
checking for references to /build in /nix/store/05pqyx0r3ljvmm4m0g9bfar7gkf2aj9f-pythonix-0.1.3...
/nix/store/05pqyx0r3ljvmm4m0g9bfar7gkf2aj9f-pythonix-0.1.3

@GrahamcOfBorg
Copy link

Failure on x86_64-darwin (full log)

Attempted: python3.pkgs.pythonix

Partial log (click to expand)

/nix/store/jpwsh1pzwnizdzqk2l266526j9ap1r5j-clang-wrapper-5.0.2/bin/c++ -Isrc/src@@nix@sha -Isrc -I../src -I/nix/store/2kjsky9h9h9klwb08f7h4vfkji3ii6ax-python3-3.6.5/include/python3.6m -I/nix/store/c31hd5m0i1hkyml99qh50p7f1p2wwyfb-nix-2.0.4-dev/include/nix -I/nix/store/cyb1vq511qrlca7lh0f7kscadr0ni55j-boehm-gc-7.6.6-dev/include -Xclang -fcolor-diagnostics -pipe -Wall -Winvalid-pch -Wnon-virtual-dtor -O3 -std=c++14 -std=c++17 -fvisibility=hidden  -MD -MQ 'src/src@@nix@sha/eval.cc.o' -MF 'src/src@@nix@sha/eval.cc.o.d' -o 'src/src@@nix@sha/eval.cc.o' -c ../src/eval.cc
../src/eval.cc:48:23: error: no member named '__cxa_exception_type' in 'std::exception_ptr'
    auto name = p ? p.__cxa_exception_type()->name() : "null";
                    ~ ^
1 error generated.
[3/5] Compiling C++ object 'src/src@@nix@sha/nix-to-python.cc.o'.
[4/5] Compiling C++ object 'src/src@@nix@sha/python-to-nix.cc.o'.
ninja: build stopped: subcommand failed.
builder for '/nix/store/52f1fk3n7ahrs6jfmdkqymy678r02dbk-pythonix-0.1.3.drv' failed with exit code 1
error: build of '/nix/store/52f1fk3n7ahrs6jfmdkqymy678r02dbk-pythonix-0.1.3.drv' failed

@Mic92
Copy link
Member Author

Mic92 commented Jun 15, 2018

@GrahamcOfBorg build python3.pkgs.pythonix

@GrahamcOfBorg
Copy link

Success on x86_64-linux (full log)

Attempted: python3.pkgs.pythonix

Partial log (click to expand)

[0/1] Installing files.
Installing src/nix.so to /nix/store/675yx901njbgcjhg9ywj7673mpw9g547-pythonix-0.1.4/lib/python3.6/site-packages/nix.so
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/675yx901njbgcjhg9ywj7673mpw9g547-pythonix-0.1.4
shrinking /nix/store/675yx901njbgcjhg9ywj7673mpw9g547-pythonix-0.1.4/lib/python3.6/site-packages/nix.so
strip is /nix/store/4mf2xm9p32lzrim927yk92xhx35yaz62-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/675yx901njbgcjhg9ywj7673mpw9g547-pythonix-0.1.4/lib
patching script interpreter paths in /nix/store/675yx901njbgcjhg9ywj7673mpw9g547-pythonix-0.1.4
checking for references to /build in /nix/store/675yx901njbgcjhg9ywj7673mpw9g547-pythonix-0.1.4...
/nix/store/675yx901njbgcjhg9ywj7673mpw9g547-pythonix-0.1.4

@GrahamcOfBorg
Copy link

Success on x86_64-darwin (full log)

Attempted: python3.pkgs.pythonix

Partial log (click to expand)

[5/5] Linking target src/nix.so.
installing
install flags: install
[0/1] Installing files.
Installing src/nix.so to /nix/store/hlhcrzhfp4m2by3kxj1p1dxggvfys47x-pythonix-0.1.4/lib/python3.6/site-packages/nix.so
post-installation fixup
strip is /nix/store/8q05v40n0f7amgw70pk6bkb23r7hrzgn-cctools-binutils-darwin/bin/strip
stripping (with command strip and flags -S) in /nix/store/hlhcrzhfp4m2by3kxj1p1dxggvfys47x-pythonix-0.1.4/lib
patching script interpreter paths in /nix/store/hlhcrzhfp4m2by3kxj1p1dxggvfys47x-pythonix-0.1.4
/nix/store/hlhcrzhfp4m2by3kxj1p1dxggvfys47x-pythonix-0.1.4

@Mic92 Mic92 merged commit 35b9df7 into NixOS:master Jun 15, 2018
@Mic92 Mic92 deleted the pythonix branch June 15, 2018 11:40
@Mic92 Mic92 restored the pythonix branch June 15, 2018 11:42
@GrahamcOfBorg
Copy link

Failure on aarch64-linux (full log)

Attempted: python3.pkgs.pythonix

Partial log (click to expand)

running test tests/fetchMercurial.sh... [SKIP]
running test tests/signing.sh... [PASS]
running test tests/run.sh... [PASS]
running test tests/brotli.sh... [PASS]
running test tests/pure-eval.sh... [PASS]
running test tests/check.sh... [PASS]
running test tests/plugins.sh... [PASS]
All tests succeeded
cannot build derivation '/nix/store/hw8gyp0lv2991zfz007ybailj4ibxbdm-pythonix-0.1.3.drv': 1 dependencies couldn't be built
error: build of '/nix/store/hw8gyp0lv2991zfz007ybailj4ibxbdm-pythonix-0.1.3.drv' failed

@GrahamcOfBorg
Copy link

Failure on aarch64-linux (full log)

Attempted: python3.pkgs.pythonix

Partial log (click to expand)

checking for log10l declaration... yes
checking for log10l... yes
checking for modfl declaration... yes
building of '/nix/store/hn4paqrba4nmdxs215wwilr90828fihh-gfortran-7.3.0.drv' timed out after 3600 seconds
cannot build derivation '/nix/store/vxqvnfah56hdlapa3d6yq7g4krnrxivw-gfortran-wrapper-7.3.0.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/3h10vn97c5088fcd0a98f1gpbg657ib0-openblas-0.3.0.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/w2mlrdd2wkyjibkvn65wdabv0l8fs1f6-python3.6-numpy-1.14.3.drv': 2 dependencies couldn't be built
cannot build derivation '/nix/store/mnj6zb5zyk85gh2f9a5lp6yym3a12l8s-boost-1.67_0.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/7cyfzmid5w0mwhp8v1vf1cwdvk153w49-pythonix-0.1.2.drv': 1 dependencies couldn't be built
error: build of '/nix/store/7cyfzmid5w0mwhp8v1vf1cwdvk153w49-pythonix-0.1.2.drv' failed

@GrahamcOfBorg
Copy link

Success on aarch64-linux (full log)

Attempted: python3.pkgs.pythonix

Partial log (click to expand)

[0/1] Installing files.
Installing src/nix.so to /nix/store/qak1sm4q2nn38mlp5zildplilqk4l01w-pythonix-0.1.1/lib/python3.6/site-packages/nix.so
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/qak1sm4q2nn38mlp5zildplilqk4l01w-pythonix-0.1.1
shrinking /nix/store/qak1sm4q2nn38mlp5zildplilqk4l01w-pythonix-0.1.1/lib/python3.6/site-packages/nix.so
strip is /nix/store/min150lkigznaayzpwvf8d4jdl1dqvx6-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/qak1sm4q2nn38mlp5zildplilqk4l01w-pythonix-0.1.1/lib
patching script interpreter paths in /nix/store/qak1sm4q2nn38mlp5zildplilqk4l01w-pythonix-0.1.1
checking for references to /build in /nix/store/qak1sm4q2nn38mlp5zildplilqk4l01w-pythonix-0.1.1...
/nix/store/qak1sm4q2nn38mlp5zildplilqk4l01w-pythonix-0.1.1

@GrahamcOfBorg
Copy link

Success on aarch64-linux (full log)

Attempted: python3.pkgs.pythonix

Partial log (click to expand)

[0/1] Installing files.
Installing src/nix.so to /nix/store/vhnd3310gp26b09bwh8w2ssg4wb5f7jd-pythonix-0.1.4/lib/python3.6/site-packages/nix.so
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/vhnd3310gp26b09bwh8w2ssg4wb5f7jd-pythonix-0.1.4
shrinking /nix/store/vhnd3310gp26b09bwh8w2ssg4wb5f7jd-pythonix-0.1.4/lib/python3.6/site-packages/nix.so
strip is /nix/store/min150lkigznaayzpwvf8d4jdl1dqvx6-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/vhnd3310gp26b09bwh8w2ssg4wb5f7jd-pythonix-0.1.4/lib
patching script interpreter paths in /nix/store/vhnd3310gp26b09bwh8w2ssg4wb5f7jd-pythonix-0.1.4
checking for references to /build in /nix/store/vhnd3310gp26b09bwh8w2ssg4wb5f7jd-pythonix-0.1.4...
/nix/store/vhnd3310gp26b09bwh8w2ssg4wb5f7jd-pythonix-0.1.4

@GrahamcOfBorg
Copy link

Success on aarch64-linux (full log)

Attempted: python3.pkgs.pythonix

Partial log (click to expand)

checking for references to /build in /nix/store/bmkkva7b86zn7sk84k5dmchf0jiaqh09-python2.7-setuptools-39.0.1...
building '/nix/store/xixyqrz7zpi1aj9ivsv32mqnvciakwvw-source.drv'...

trying https://github.com/Mic92/pythonix/archive/v0.1.1.tar.gz
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   122    0   122    0     0   1184      0 --:--:-- --:--:-- --:--:--  1184
100  6647    0  6647    0     0  31060      0 --:--:-- --:--:-- --:--:-- 31060
unpacking source archive /build/v0.1.1.tar.gz
/nix/store/qak1sm4q2nn38mlp5zildplilqk4l01w-pythonix-0.1.1

@samueldr samueldr removed the 9.needs: port to stable A PR needs a backport to the stable release. label Apr 17, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

6.topic: python Python is a high-level, general-purpose programming language. 8.has: clean-up This PR removes packages or removes other cruft 8.has: package (new) This PR adds a new package 10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin. 10.rebuild-linux: 1-10 This PR causes between 1 and 10 packages to rebuild on Linux.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants