Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 171714 - media-libs/libzzub-0.2.3 does not compile (scons error)
Summary: media-libs/libzzub-0.2.3 does not compile (scons error)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Hanno Böck
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-03-21 19:21 UTC by Jouni Rinne
Modified: 2009-04-22 02:22 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 Jouni Rinne 2007-03-21 19:21:51 UTC
Emerging media-libs/libzzub-0.2.3 stops with the following error:

>>> Emerging (1 of 2) media-libs/libzzub-0.2.3 to /
 * libzzub-0.2.3.tar.bz2 RMD160 ;-) ...                                   [ ok ]
 * libzzub-0.2.3.tar.bz2 SHA1 ;-) ...                                     [ ok ]
 * libzzub-0.2.3.tar.bz2 SHA256 ;-) ...                                   [ ok ]
 * libzzub-0.2.3.tar.bz2 size ;-) ...                                     [ ok ]
 * checking ebuild checksums ;-) ...                                      [ ok ]
 * checking auxfile checksums ;-) ...                                     [ ok ]
 * checking miscfile checksums ;-) ...                                    [ ok ]
 * checking libzzub-0.2.3.tar.bz2 ;-) ...                                 [ ok ]
>>> Unpacking source...
>>> Unpacking libzzub-0.2.3.tar.bz2 to /var/tmp/portage/media-libs/libzzub-0.2.3/work
>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/media-libs/libzzub-0.2.3/work/libzzub-0.2.3 ...
scons: Reading SConscript files ...
AttributeError: 'module' object has no attribute 'options':
  File "SConstruct", line 355:
    if (not is_cleaning()) and ('configure' in COMMAND_LINE_TARGETS):
  File "SConstruct", line 353:
    return SCons.Script.Main.options.clean

!!! ERROR: media-libs/libzzub-0.2.3 failed.
Call stack:
  ebuild.sh, line 1614:   Called dyn_compile
  ebuild.sh, line 971:   Called qa_call 'src_compile'
  environment, line 1252:   Called src_compile
  libzzub-0.2.3.ebuild, line 20:   Called die

!!! (no error message)
!!! If you need support, post the topmost build error, and the call stack if relevant.
!!! A complete build log is located at '/var/tmp/portage/media-libs/libzzub-0.2.3/temp/build.log'.

I'm using scons-0.96.1
Comment 1 Jouni Rinne 2007-03-21 19:23:09 UTC
Portage 2.1.2.2 (default-linux/x86/2006.1, gcc-4.1.1, glibc-2.5-r1, 2.6.18-gentoo-r4 i686)
=================================================================
System uname: 2.6.18-gentoo-r4 i686 AMD Athlon(tm) XP 3000+
Gentoo Base System version 1.12.9
Timestamp of tree: Wed, 21 Mar 2007 07:50:01 +0000
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.4 [enabled]
dev-java/java-config: 1.3.7, 2.0.31-r5
dev-lang/python:     2.3.6, 2.4.4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r6
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.17
sys-devel/gcc-config: 1.3.15-r1
sys-devel/libtool:   1.5.23b
virtual/os-headers:  2.6.17-r2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=athlon-xp -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-O2 -march=athlon-xp -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://trumpetti.atm.tut.fi/gentoo/ http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/"
LANG="fi_FI@euro"
LINGUAS="fi"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="3dnow X a52 aac acpi alsa asf avi berkdb bitmap-fonts cairo cdr cli cracklib crypt cups curl dga divx4linux dlloader dri dv dvd dvdread ffmpeg firefox flac fortran gdbm gif gnome gnustep gpm gtk2 hal iconv ieee1394 imagemagick imap isdnlog jack jpeg kde ladspa lash lcms libg++ mad matroska midi mikmod mjpeg mmap mmx motif mp3 mpeg ncurses nls nodrm nptl nptlonly nsplugin nvidia ogg oggvorbis opengl pcre perl png ppds pppd pulseaudio python qt qt3 quicktime readline real reflection ruby scanner sdl session sndfile spl sqlite sqlite3 sse ssl svg tcpd theora tidy tiff truetype truetype-fonts type1-fonts unicode usb v4l v4l2 vorbis win32codecs x264 x86 xine xinerama xml xorg xv xvmc zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="evdev keyboard mouse joystick" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="fi" USERLAND="GNU" VIDEO_CARDS="mga nv nvidia s3 s3virge v4l vesa"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

Comment 2 Jouni Rinne 2007-03-21 19:53:46 UTC
Ok, I had scons > 0.96.1 masked for some reason I don't remember any more. I
upgraded scons to 0.96.94 and now libzzub compiles without problems... Anyway,
please update the scons dependency in the ebuild to

>=dev-util/scons-0.96.94

It seems that scons-0.96.1 and libzzub's SConstruct files doesn't like each
other. 

Comment 3 Hanno Böck gentoo-dev 2007-04-02 22:27:42 UTC
done
Comment 4 Fabio Bonfante 2009-01-24 12:11:57 UTC
I have the same problem with scons 1.0. It's time to use the 0.2.5 version?
-----------------
>>> Compiling source in /var/tmp/portage/media-libs/libzzub-0.2.3/work/libzzub-0.2.3 ...
scons: Reading SConscript files ...
AttributeError: 'module' object has no attribute 'options':
  File "/var/tmp/portage/media-libs/libzzub-0.2.3/work/libzzub-0.2.3/SConstruct", line 355:
    if (not is_cleaning()) and ('configure' in COMMAND_LINE_TARGETS):
  File "/var/tmp/portage/media-libs/libzzub-0.2.3/work/libzzub-0.2.3/SConstruct", line 353:
    return SCons.Script.Main.options.clean
-------------------------

Portage 2.1.6.4 (default/linux/amd64/2008.0/desktop, gcc-4.1.2, glibc-2.6.1-r0, 2.6.27-gentoo-r7 x86_64)
=================================================================
System uname: Linux-2.6.27-gentoo-r7-x86_64-AMD_Athlon-tm-_64_Processor_3200+-with-glibc2.2.5
Timestamp of tree: Sat, 24 Jan 2009 06:40:01 +0000
distcc 3.0 x86_64-pc-linux-gnu [disabled]
app-shells/bash:     3.2_p39
dev-java/java-config: 1.3.7-r1, 2.1.6-r1
dev-lang/python:     2.4.4-r14, 2.5.2-r7
dev-python/pycrypto: 2.0.1-r6
dev-util/cmake:      2.4.6-r1
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.63
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=k8 -O2 -mmmx -msse -msse2 -m3dnow -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-march=k8 -O2 -mmmx -msse -msse2 -m3dnow -pipe"
DISTDIR="/var/tmp/distfiles"
FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="it_IT.UTF-8"
LC_ALL="it_IT.UTF-8"
LDFLAGS="-Wl,-O1"
LINGUAS="it"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/overlays/sunrise /usr/local/overlays/gnome-experimental /usr/local/overlays/java-overlay /usr/local/overlays/fluendo-elisa /usr/local/overlays/zugaina /usr/local/overlays/armagetron /usr/local/overlays/desktop-effects /usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext 7zip X a52 aac acl acpi alsa amd64 amuled apache2 asf audacious avahi avi bash-completion berkdb bluetooth branding browserplugin bzip2 cairo cddb cdparanoia cdr chm cli cracklib crypt cups curl dbus directfb dri dts dv dvd dvdr dvdread eds emboss encode esd evo exif expat fam fbcon fbsplash ffmpeg flac gcj gd gdbm gif glut gnome gphoto2 gpm gstreamer gtk gtk2 gtkhtml hal iconv idn ieee1394 imagemagick innodb ipod ipv6 isdnlog jack java jpeg jpeg2k kerberos lcms ldap libnotify libvisual lirc lzo mad matroska midi mikmod mmx mng mod modplug mono mp3 mpd mpeg mtp mudflap multilib musepack mysql mythtv ncurses nfs nls nptl nptlonly nsplugin nvidia objc odbc ogg oggvorbis openal openexr opengl openmp pam pcre pdf perl png postgres ppds pppd python qt qt3 qt3support qt4 quicktime readline reflection samba scanner schroedinger sdl session skins sndfile speex spell spl sqlite srt sse sse2 sse3 ssl startup-notification stream streamout svg sysfs tagwriting tcpd tga theora threads tiff truetype tv unicode usb userlocales v4l vcd vhosts vorbis wacom wavpack webservices wmf wxwindows x264 xine xinerama xml xml2 xorg xosd xpm xulrunner xv xvid xvmc zlib" ALSA_CARDS="hda-intel" 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 auth_digest authn_anon authn_dbd authn_dbm authn_default authn_file authz_dbm authz_default  authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock dbd deflate dir disk_cache env expires  ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation  proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="mouse keyboard wacom evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="it" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 5 Jon-Francis Bhreitheamhnaigh 2009-04-22 02:22:58 UTC
Please re-open this bug. As it stands, there are no versions of dev-util/scons in the tree that work with the SConstruct file that ships with libzzub-0.2.3.  Or, failing that, bump the version in portage to 0.2.5, which does at least build with scons-1.2.0.  Thanks.