Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 419857 - net-wireless/crda-1.0.1-r1 - src_compile(): python3: SyntaxError: invalid syntax
Summary: net-wireless/crda-1.0.1-r1 - src_compile(): python3: SyntaxError: invalid syntax
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Bjarke Istrup Pedersen (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on: 419909
Blocks:
  Show dependency tree
 
Reported: 2012-06-06 08:31 UTC by M. B.
Modified: 2013-01-01 15:03 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description M. B. 2012-06-06 08:31:40 UTC
crda-1.0.1-r1 is marked stable for amd64. It's a Python-3-migration error - setting the system python to 2.7 makes it build.
1.1.2-r3 works fine with python-3.2, but is in testing.


$emerge -1 -j1 crda
Calculating dependencies               ... done!                  

>>> Verifying ebuild manifests

>>> Emerging (1 of 1) net-wireless/crda-1.0.1-r1
 * crda-1.0.1.tar.bz2 RMD160 SHA1 SHA256 size ;-) ...                                             [ ok ]
>>> Unpacking source...
>>> Unpacking crda-1.0.1.tar.bz2 to /var/tmp/portage/net-wireless/crda-1.0.1-r1/work
>>> Source unpacked in /var/tmp/portage/net-wireless/crda-1.0.1-r1/work
>>> Compiling source in /var/tmp/portage/net-wireless/crda-1.0.1-r1/work/crda-1.0.1 ...
make -j3 --load-average=3 CC=x86_64-pc-linux-gnu-gcc 
  GEN  keys-gcrypt.c
  File "./utils/key2pub.py", line 6
    except ImportError, e:
                      ^
SyntaxError: invalid syntax
make: *** [keys-gcrypt.c] Error 1
make: INTERNAL: Exiting with 4 jobserver tokens available; should be 3!
emake failed
 * ERROR: net-wireless/crda-1.0.1-r1 failed (compile phase):
 *   Compilation failed
 * 
 * Call stack:
 *     ebuild.sh, line  85:  Called src_compile
 *   environment, line 682:  Called die
 * The specific snippet of code:
 *       emake CC="$(tc-getCC)" || die "Compilation failed"
 * 
 * If you need support, post the output of `emerge --info '=net-wireless/crda-1.0.1-r1'`,
 * the complete build log and the output of `emerge -pqv '=net-wireless/crda-1.0.1-r1'`.
 * The complete build log is located at '/var/tmp/portage/net-wireless/crda-1.0.1-r1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/net-wireless/crda-1.0.1-r1/temp/environment'.
 * Working directory: '/var/tmp/portage/net-wireless/crda-1.0.1-r1/work/crda-1.0.1'
 * S: '/var/tmp/portage/net-wireless/crda-1.0.1-r1/work/crda-1.0.1'

>>> Failed to emerge net-wireless/crda-1.0.1-r1, Log file:

>>>  '/var/tmp/portage/net-wireless/crda-1.0.1-r1/temp/build.log'


========
emerge --info '=net-wireless/crda-1.0.1-r1'


emerge --info '=net-wireless/crda-1.0.1-r1'
Portage 2.2.0_alpha110 (default/linux/amd64/10.0, gcc-4.5.3, glibc-2.14.1-r3, 3.2.12-gentoo x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-3.2.12-gentoo-x86_64-Intel-R-_Core-TM-2_Duo_CPU_T5450_@_1.66GHz-with-gentoo-2.1
Timestamp of tree: Tue, 05 Jun 2012 18:45:01 +0000
ccache version 3.1.7 [enabled]
app-shells/bash:          4.2_p20
dev-java/java-config:     2.1.11-r3
dev-lang/python:          2.7.3-r1, 3.1.5, 3.2.3
dev-util/ccache:          3.1.7
dev-util/cmake:           2.8.7-r5
dev-util/pkgconfig:       0.26
sys-apps/baselayout:      2.1-r1
sys-apps/openrc:          0.9.9.3
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.13, 2.68
sys-devel/automake:       1.9.6-r3, 1.11.1
sys-devel/binutils:       2.21.1-r1
sys-devel/gcc:            4.5.3-r2
sys-devel/gcc-config:     1.6
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82-r1
sys-kernel/linux-headers: 3.1 (virtual/os-headers)
sys-libs/glibc:           2.14.1-r3
Repositories: gentoo gamerlay-stable zugaina science bitcoin sunrise local
Installed sets: @myset-fonts, @myset-gmpc, @myset-johntheripper, @myset-slim, @myset-xmonad, @system
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=core2 -mtune=generic -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /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"
CXXFLAGS="-march=core2 -mtune=generic -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--jobs=6 --load-average=3"
FEATURES="assume-digests binpkg-logs candy ccache config-protect-if-modified distlocks ebuild-locks fixlafiles news parallel-fetch parse-eapi-ebuild-head preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch webrsync-gpg"
FFLAGS=""
GENTOO_MIRRORS="http://gentoo.mneisen.org/ http://gentoo.supp.name/"
LANG="de"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="de en sv fr ru"
MAKEOPTS="-j3 --load-average=3"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_EXTRA_OPTS="--delete-after"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/gamerlay /usr/portage/local/layman/zugaina /usr/portage/local/layman/science /usr/portage/local/layman/bitcoin /usr/portage/local/layman/sunrise /usr/portage/local/mine"
SYNC="rsync://rsync.de.gentoo.org/gentoo-portage"
USE="64bit X a52 aac aalib accessibility acl acpi alsa amd64 amr aotuv apng archive bash-completion berkdb blksha1 bluray boost branding bzip2 cairo cdda cddax cdr cg clamdtop cleartype cli cracklib crypt css cups curl cxx dbus dcc_video dcc_voice device-mapper dga dia disk-partition djvu dri dvd dvdr enca encode exif fam fat ffmpeg flac fontconfig foomaticdb fortran frei0r ftp fuse gallium gd gdbm geoip gif gimp git glitz gmail gnutls gphoto2 gpm graphite gre gs gstreamer gtk gui hddtemp helpers hpn iconv icu id3tag idn inkjar iostats ipv6 iso14755 jabber jadetex java java6 javascript jingle jpeg jpeg2k kpathsea ladspa laptop latex lcms libass libcaca libnotify libv4l2 live lm_sensors lock lyrics lzma lzo mad matroska mime mjpeg mmap mmx mmxext mng modules mp2 mp3 mp4 mpeg mplayer msn mudflap multilib music ncurses network nls nodrm nptl nsplugin ntfs ntp ocr octave offensive offlinehelp ogg opengl openmp otr pam pcre pdf pdfimport pgo png postscript ppds pppd python qt3support qt4 quicktime rar readline reiser4 reiserfs rss rtc samba schroedinger sdl secure-delete session skins skype smp sound speex sse sse2 ssl startup-notification stk subtitles subversion svg symlink system-sqlite t1lib tables tcpd templates theora threads thunar tidy tiff transparent-proxy trayicon truetype twolame udev unicode unlock-notify upnp usb v4l2 vcd video videos vim-pager vim-syntax vim-with-x vorbis vst wcwidth weather-metar weather-xoap webkit wifi winpopup wma wps wxwidgets x264 xanim xcb xcomposite xfce xfs xft xhtml xinerama xml xorg xosd xpfast xpm xpsmall xscreensaver xv xvfb xvid xvmc yahoo zip zlib" ALSA_CARDS="ca0106" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="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 log_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" 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 ubx" INPUT_DEVICES="synaptics evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="de en sv fr ru" PHP_TARGETS="php5-3" PYTHON_TARGETS="python3_2 python2_7" RUBY_TARGETS="ruby18 ruby19" USERLAND="GNU" VIDEO_CARDS="intel" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, USE_PYTHON




Reproducible: Always
Comment 1 Bjarke Istrup Pedersen (RETIRED) gentoo-dev 2012-06-06 12:05:24 UTC
Since 1.1.2-r3 works fine, I'll create a keyword bug about it, to get it marked stable, so we can get rid of 1.0.1-r1 .

So once that has been fixed, this will be fixed too.
Comment 2 Bjarke Istrup Pedersen (RETIRED) gentoo-dev 2012-06-15 05:11:25 UTC
Well, it is not fixed yet for all platforms, so please dont close this bug before it is...

Thanks :)
Comment 3 Bjarke Istrup Pedersen (RETIRED) gentoo-dev 2013-01-01 15:03:18 UTC
I have removed the old version, so only the working versions is left.