btrfs-progs fails when calling asciidoc: x86_64-pc-linux-gnu-gcc -march=core-avx2 -mcx16 -msahf -mmovbe -maes -mpclmul -mpopcnt -mabm -mno-lwp -mfma -mno-fma4 -mno-xop -mbmi -mbmi2 -mno-tbm -mavx -mavx2 -msse4.2 -msse4.1 -mlzcnt -mno-rtm -mno-hle -mrdrnd -mf16c -mfsgsbase -mno-rdseed -mno-prfchw -mno-adx -mfxsr -mxsave -mxsaveopt --param l1-cache-size=32 --param l1-cache-line-size=64 --param l2-cache-size=6144 -mtune=core-avx2 -fstack-protector -include config.h -DBTRFS_FLAT_INCLUDES -D_XOPEN_SOURCE=700 -fno-strict-aliasing -fPIC -o btrfs-debug-tree ctree.o disk-io.o radix-tree.o extent-tree.o print-tree.o root-tree.o dir-item.o file-item.o inode-item.o inode-map.o extent-cache.o extent_io.o volumes.o utils.o repair.o qgroup.o raid6.o free-space-cache.o list_sort.o props.o ulist.o qgroup-verify.o backref.o string-table.o task-utils.o inode.o file.o find-root.o btrfs-debug-tree.o libbtrfs.a \ -Wl,-O1 -Wl,--as-needed -rdynamic -luuid -lblkid -lz -llzo2 -L. -pthread [LD] btrfs-map-logical File "/usr/bin/asciidoc", line 101 except KeyError, k: raise AttributeError, k ^ SyntaxError: invalid syntax x86_64-pc-linux-gnu-gcc -march=core-avx2 -mcx16 -msahf -mmovbe -maes -mpclmul -mpopcnt -mabm -mno-lwp -mfma -mno-fma4 -mno-xop -mbmi -mbmi2 -mno-tbm -mavx -mavx2 -msse4.2 -msse4.1 -mlzcnt -mno-rtm -mno-hle -mrdrnd -mf16c -mfsgsbase -mno-rdseed -mno-prfchw -mno-adx -mfxsr -mxsave -mxsaveopt --param l1-cache-size=32 --param l1-cache-line-size=64 --param l2-cache-size=6144 -mtune=core-avx2 -fstack-protector -include config.h -DBTRFS_FLAT_INCLUDES -D_XOPEN_SOURCE=700 -fno-strict-aliasing -fPIC -o btrfs-map-logical ctree.o disk-io.o radix-tree.o extent-tree.o print-tree.o root-tree.o dir-item.o file-item.o inode-item.o inode-map.o extent-cache.o extent_io.o volumes.o utils.o repair.o qgroup.o raid6.o free-space-cache.o list_sort.o props.o ulist.o qgroup-verify.o backref.o string-table.o task-utils.o inode.o file.o find-root.o btrfs-map-logical.o libbtrfs.a \ -Wl,-O1 -Wl,--as-needed -rdynamic -luuid -lblkid -lz -llzo2 -L. -pthread Makefile:119: recipe for target 'btrfs-mount.xml' failed make[1]: *** [btrfs-mount.xml] Error 1 Makefile:161: recipe for target 'build-Documentation' failed make: *** [build-Documentation] Error 2 make: *** Waiting for unfinished jobs.... * ERROR: sys-fs/btrfs-progs-4.1::gentoo failed (compile phase): * emake failed Reproducible: Always
Created attachment 407126 [details] build.log
Created attachment 407128 [details] emerge --info
Played around with some options: The source of the problem is: PYTHON_SINGLE_TARGET="python3_3" Setting this to python-2.7 works.
What version of app-text/asciidoc do you have installed?
8.6.9-r1
Can you attach /usr/bin/asciidoc to this bug? I'm mainly interested in the shebang on the first line.
Created attachment 407292 [details] /usr/bin/asciidoc The Shebang of /usr/bin/asciidoc #!/usr/bin/env python3.3 The python version seems to be correct.
(In reply to Sven Müller from comment #7) Thanks. asciidoc should never have a python3.3 shebang; it is only compatible with python2.
It looks like this would occur if you had installed asciidoc between 12 Jul 2015 and 19 Jul 2015. 19 Jul 2015; Dirkjan Ochtman <djc@gentoo.org> asciidoc-8.6.9-r1.ebuild: Remove python 3.3, 3.4 compatibility again (bug 554786) 12 Jul 2015; Dirkjan Ochtman <djc@gentoo.org> asciidoc-8.6.9-r1.ebuild: Add python 3.3, 3.4 compatibility (fixes bug 546110) djc: Please revbump asciidoc so people don't randomly run into it. Keeping stable keywords should be fine.
(In reply to Mike Gilbert from comment #9) > It looks like this would occur if you had installed asciidoc between 12 Jul > 2015 and 19 Jul 2015. That's correct. Is it necessary to test anything else with a new portage sync? Otherwise I'll stay with PYTHON_SINGLE_TARGET="python2_7". There were some other packages with some trouble with Python 3.3.
Probably could've done so earlier, but closing now that app-text/asciidoc-8.6.9-r1 is gone.