Gentoo Archives: gentoo-user

From: Alan McKinnon <alan.mckinnon@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] hatari fails to build
Date: Tue, 09 Sep 2014 05:20:44
Message-Id: 540E8DDB.3030006@gmail.com
In Reply to: [gentoo-user] hatari fails to build by meino.cramer@gmx.de
1 On 09/09/2014 04:30, meino.cramer@×××.de wrote:
2 > Hi,
3 >
4 > While doing a world update hatari fails to build. This happens
5 > on my AMD64 PC as it happens on my ARM Beaglebone Black the same
6 > way...(this is from my PC):
7 >
8 > -- Installing: /var/tmp/portage/games-emulation/hatari-1.6.2/image/usr/share/man/man1/hatariui.1.gz
9 > * Fixing shebang in usr/share/games/hatari/hatariui/config.py.
10 > * Fixing shebang in usr/share/games/hatari/hatariui/conftypes.py.
11 > * The file has incompatible shebang:
12 > * file: usr/share/games/hatari/hatariui/conftypes.py
13 > * current shebang: # content generated by gentypes.py
14
15
16
17 This is a bug, probably from upstream, as conftypes.py doesn't have a
18 shebang at all. You can file a bug at bgo so the maintainer can deal
19 with it.
20
21 Meanwhile, version 1.7.0 (current ~arch) builds and installs cleanly
22
23
24
25
26
27 > * requested impl: python2.7
28 > * ERROR: games-emulation/hatari-1.6.2::gentoo failed (install phase):
29 > * python_fix_shebang: conversion of incompatible shebang requested
30 > *
31 > * Call stack:
32 > * ebuild.sh, line 93: Called src_install
33 > * environment, line 3979: Called python_fix_shebang '/var/tmp/portage/games-emulation/hatari-1.6.2/image/usr/share/games/hatari/hatariui/config.py' '/var/tmp/portage/games-emulation/hatari-1.6.2/image/usr/share/games/hatari/hatariui/conftypes.py' '/var/tmp/portage/games-emulation/hatari-1.6.2/image/usr/share/games/hatari/hatariui/debugui.py' '/var/tmp/portage/games-emulation/hatari-1.6.2/image/usr/share/games/hatari/hatariui/dialogs.py' '/var/tmp/portage/games-emulation/hatari-1.6.2/image/usr/share/games/hatari/hatariui/hatari.py' '/var/tmp/portage/games-emulation/hatari-1.6.2/image/usr/share/games/hatari/hatariui/hatariui.py' '/var/tmp/portage/games-emulation/hatari-1.6.2/image/usr/share/games/hatari/hatariui/uihelpers.py' '/var/tmp/portage/games-emulation/hatari-1.6.2/image/usr/share/games/hatari/hconsole/example.py' '/var/tmp/portage/games-emulation/hatari-1.6.2/image/usr/share/games/hatari/hconsole/hconsole.py'
34 > * environment, line 3645: Called die
35 > * The specific snippet of code:
36 > * die "${FUNCNAME}: conversion of incompatible shebang requested";
37 > *
38 >
39 >
40 > Output of 'emerge --info '=games-emulation/hatari-1.6.2::gentoo'
41 >
42 > Portage 2.2.8-r1 (default/linux/amd64/13.0, gcc-4.8.2, glibc-2.19-r1, 3.16.1-RT x86_64)
43 > =================================================================
44 > System Settings
45 > =================================================================
46 > System uname: Linux-3.16.1-RT-x86_64-AMD_Phenom-tm-_II_X6_1090T_Processor-with-gentoo-2.2
47 > KiB Mem: 8167380 total, 3004424 free
48 > KiB Swap: 6291452 total, 6291452 free
49 > Timestamp of tree: Tue, 09 Sep 2014 00:45:01 +0000
50 > ld GNU ld (Gentoo 2.23.2 p1.0) 2.23.2
51 > ccache version 3.1.9 [disabled]
52 > app-shells/bash: 4.2_p45
53 > dev-java/java-config: 2.2.0
54 > dev-lang/python: 2.7.7, 3.2.5-r6, 3.3.5-r1
55 > dev-util/ccache: 3.1.9-r3
56 > dev-util/cmake: 2.8.12.2-r1
57 > dev-util/pkgconfig: 0.28-r1
58 > sys-apps/baselayout: 2.2
59 > sys-apps/openrc: 0.13.1
60 > sys-apps/sandbox: 2.6-r1
61 > sys-devel/autoconf: 2.13, 2.69
62 > sys-devel/automake: 1.10.3, 1.11.6, 1.12.6, 1.13.4, 1.14.1
63 > sys-devel/binutils: 2.23.2
64 > sys-devel/gcc: 4.4.7, 4.8.2
65 > sys-devel/gcc-config: 1.7.3
66 > sys-devel/libtool: 2.4.2-r1
67 > sys-devel/make: 3.82-r4
68 > sys-kernel/linux-headers: 3.16 (virtual/os-headers)
69 > sys-libs/glibc: 2.19-r1
70 > Repositories: gentoo x-portage
71 > ACCEPT_KEYWORDS="amd64"
72 > ACCEPT_LICENSE="*"
73 > CBUILD="x86_64-pc-linux-gnu"
74 > CFLAGS="-march=native -O2 -pipe -msse3 -ggdb"
75 > CHOST="x86_64-pc-linux-gnu"
76 > CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/themes/oxygen-gtk/gtk-2.0 /var/lib/hsqldb"
77 > CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.5/ext-active/ /etc/php/cgi-php5.5/ext-active/ /etc/php/cli-php5.5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
78 > CXXFLAGS="-march=native -O2 -pipe -msse3 -ggdb"
79 > DISTDIR="/usr/portage/distfiles"
80 > EMERGE_DEFAULT_OPTS=""
81 > FCFLAGS="-O2 -pipe"
82 > FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms splitdebug strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"
83 > FFLAGS="-O2 -pipe"
84 > GENTOO_MIRRORS="http://de-mirror.org/distro/gentoo/ ftp://de-mirror.org/distro/gentoo/ rsync://de-mirror.org/gentoo/ ftp://ftp.wh2.tu-dresden.de/pub/mirrors/gentoo http://gentoo.mneisen.org/ http://mirror.netcologne.de/gentoo/ ftp://mirror.netcologne.de/gentoo/ rsync://mirror.netcologne.de/gentoo/ ftp://mirror.opteamax.de/gentoo/ rsync://mirror.opteamax.de/gentoo/ http://mirror.opteamax.de/gentoo/ http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/ ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo ftp://ftp.spline.inf.fu-berlin.de/mirrors/gentoo/ http://ftp.spline.inf.fu-berlin.de/mirrors/gentoo/ ftp://ftp.tu-clausthal.de/pub/linux/gentoo/ ftp://ftp.uni-erlangen.de/pub/mirrors/gentoo http://ftp6.uni-erlangen.de/pub/mirrors/gentoo ftp://ftp6.uni-erlangen.de/pub/mirrors/gentoo http://ftp.uni-erlangen.de/pub/mirrors/gentoo rsync://ftp.join.uni-muenster.de/gentoo/ ftp://ftp-stud.hs-esslingen.de/pub/Mirrors/gentoo/ rsync://f
85 t
86 p-stud.hs-esslingen.de/gentoo/ http://ftp-stud.hs-esslingen.de/pub/Mirrors/gentoo/ ftp://ftp.join.uni-muenster.de/pub/linux/distributions/gentoo ftp://ftp6.uni-muenster.de/pub/linux/distributions/gentoo ftp://ftp.ipv6.uni-muenster.de/pub/linux/distributions/gentoo"
87 > LDFLAGS="-Wl,-O1 -Wl,--as-needed"
88 > MAKEOPTS="-j 1"
89 > PKGDIR="/usr/portage/packages"
90 > PORTAGE_CONFIGROOT="/"
91 > PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
92 > PORTAGE_TMPDIR="/var/tmp"
93 > PORTDIR="/usr/portage"
94 > PORTDIR_OVERLAY="/usr/local/portage"
95 > SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
96 > USE="X acl alsa amd64 berkdb bzip2 cairo cdr cli consolekit cracklib crypt cxx dbus dri dvb dvd dvdr dvdread encode flac fortran gdbm gif gtk iconv ipv6 jack jpeg jpeg2k kpathsea ladspa lua lzo mad mmx modules mp3 multilib ncurses nls nptl nptlonly nvidia ogg opencv opengl openmp pam pcre png qt3support readline sdl session sndfile sox sse sse2 ssl tcpd tiff tk unicode v4l v4l2 vaapi vdpau vorbis x264 x265 xvmc zlib zsh-completion" ABI_X86="64" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info lo
97 g
98 _config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_3" RUBY_TARGETS="ruby19 ruby20" USERLAND="GNU" VIDEO_CARDS="nvidia" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy conditi
99 o
100 n tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
101 > Unset: CPPFLAGS, CTARGET, INSTALL_MASK, LANG, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
102 >
103 > =================================================================
104 > Package Settings
105 > =================================================================
106 >
107 > games-emulation/hatari-1.6.2 was built with the following:
108 > USE="" PYTHON_SINGLE_TARGET="python2_7 -python2_6" PYTHON_TARGETS="python2_7 -python2_6"
109 > CFLAGS="-march=native -O2 -pipe -msse3"
110 > CXXFLAGS="-march=native -O2 -pipe -msse3"
111 >
112 >
113 >
114 >
115 >
116 >
117 > I will send the rest of files (build.log,...) if requested, but
118 > in case someone already knows how to fix this, I dont want to
119 > "pollute" the mailinglist with all that in beforehand :)
120 >
121 > What happens here and how can I fix it?
122 >
123 > Thank you very much in advance for any help!
124 > Best regards,
125 > mcc
126 >
127 >
128 >
129 >
130
131
132 --
133 Alan McKinnon
134 alan.mckinnon@×××××.com