Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 105075 - codeine 1.0: scons can't find 'build'
Summary: codeine 1.0: scons can't find 'build'
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: AMD64 Linux
: High major (vote)
Assignee: Gentoo Media-video project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-09-06 15:28 UTC by Joerg Plate
Modified: 2005-12-08 07:30 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 Joerg Plate 2005-09-06 15:28:37 UTC
>>> Unpacking source...
>>> Unpacking codeine-1.0.tar.bz2 to /var/tmp/portage/codeine-1.0/work
>>> Source unpacked.
scons: Reading SConscript files ...
** set the installation prefix for the project : /usr **
Checking for kde-config           :  kde-config was found
Checking for kde version          :  3.4.2
Checking for the qt library       :  qt is in /usr/qt/3
Checking for uic                  :  uic was found as /usr/qt/3/bin/uic
Checking for moc                  :  moc was found as /usr/qt/3/bin/moc
Checking for the qt includes      :  ok /usr/qt/3/include/
Checking for the kde includes     :  ok /usr/kde/3.4/include/
Checking for KDElibs 3.3...(cached) yes
Checking for main() in C++ library xine... yes
Checking for xine-lib 1.0...yes
Checking for main() in C library Xtst... yes
scons: Reading SConscript files ...
OSError: [Errno 2] No such file or directory:
'/var/tmp/portage/codeine-1.0/work/codeine-1.0/build':
  File "SConstruct", line 110:
    env.SConscript( "src/SConscript", build_dir='build', duplicate=0 )
  File "/usr/lib/scons/SCons/Script/SConscript.py", line 471:
    return apply(_SConscript, [self.fs,] + files, {'exports' : exports})
  File "/usr/lib/scons/SCons/Script/SConscript.py", line 217:
    exec _file_ in call_stack[-1].globals
  File "src/SConscript", line 11:
    myenv.SConscript( dirs = Split( "app part") )
  File "/usr/lib/scons/SCons/Script/SConscript.py", line 471:
    return apply(_SConscript, [self.fs,] + files, {'exports' : exports})
  File "/usr/lib/scons/SCons/Script/SConscript.py", line 233:
    os.chdir(frame.prev_dir.rdir().get_abspath())

!!! ERROR: media-video/codeine-1.0 failed.
!!! Function src_compile, Line 33, Exitcode 2
!!! (no error message)


Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Florian Jürgensen 2005-09-08 08:16:38 UTC
I have the same problem but I also got a little workaround for you.   
   
  
Just extract the tarball:   
   
"tar xvjf /usr/portage/distfiles/codeine-1.0.tar.bz2"  
   
  
Create build:  
  
"mkdir codeine-1.0/build"  
  
  
Repack it:  
  
"tar cvjf codeine-1.0.tar.bz2 codeine-1.0/" 
 
 
Replace the old with the new one: 
 
"mv -f codeine-1.0.tar.bz2 /usr/portage/distfiles/" 
 
 
Regenerate the digest: 
 
"ebuild /usr/portage/media-video/codeine/codeine-1.0.ebuild digest" 
 
 
Now the emerge should work without problems. 
Comment 2 Luca Barbato gentoo-dev 2005-09-10 07:48:32 UTC
emerge info and scons version please, try to downgrade scons and tell us if that
solves the problem

What about masking the lastest scons since the people using it aren't catching
up with the changes / the new scons beaviour is wrong?
Comment 3 Jan Essert 2005-09-12 10:31:38 UTC
I'm getting the same error. My scons version is:  
  
dev-util/scons-0.96.90  
 
Downgrading scons to scons-0.96.1 solves the problem. 
  
emerge info:  
  
Portage 2.0.52-r1 (default-linux/x86/2005.1, gcc-3.4.4, glibc-2.3.5-r1,  
2.6.13-gentoo i686)  
=================================================================  
System uname: 2.6.13-gentoo i686 AMD Athlon(tm) processor  
Gentoo Base System version 1.12.0_pre8  
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632)  
[disabled]  
ccache version 2.4 [enabled]  
dev-lang/python:     2.4.1-r1  
sys-apps/sandbox:    1.2.12  
sys-devel/autoconf:  2.13, 2.59-r7  
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6  
sys-devel/binutils:  2.16.1  
sys-devel/libtool:   1.5.20  
virtual/os-headers:  2.6.11-r2  
ACCEPT_KEYWORDS="x86 ~x86"  
AUTOCLEAN="yes"  
CBUILD="i686-pc-linux-gnu"  
CFLAGS="-march=athlon-tbird -O2 -pipe -fomit-frame-pointer -m3dnow -mmmx"  
CHOST="i686-pc-linux-gnu"  
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control"  
CONFIG_PROTECT_MASK="/etc/gconf /etc/init.d /etc/initng /etc/terminfo /etc/texmf/web2c /etc/env.d"  
CXXFLAGS="-march=athlon-tbird -O2 -pipe -fomit-frame-pointer -m3dnow -mmmx  
-fvisibility-inlines-hidden"  
DISTDIR="/usr/portage/distfiles"  
FEATURES="autoconfig ccache distlocks sandbox sfperms strict userpriv  
usersandbox"  
GENTOO_MIRRORS="http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/  
ftp://mirror.nutsmaas.nl/gentoo/ http://mirror.isp.net.au/pub/gentoo/  
http://ftp.easynet.nl/mirror/gentoo/"  
LANG="de_DE.utf8"  
LC_ALL="de_DE.utf8"  
LINGUAS="de"  
MAKEOPTS="-j2"  
PKGDIR="/usr/portage/packages"  
PORTAGE_TMPDIR="/var/tmp"  
PORTDIR="/usr/portage"  
PORTDIR_OVERLAY="/usr/local/portage"  
SYNC="rsync://mirrors.sec.informatik.tu-darmstadt.de/gentoo-x86-portage/"  
USE="x86 3dnow 3dnowext X aalib acpi alsa apache2 avi berkdb bitmap-fonts cdr  
crypt cups curl divx4linux dvd dvdr eds emboss encode fam flac foomaticdb  
fortran gdbm gif gstreamer gtk2 guile icq imagemagick jabber java jpeg kde  
kdeenablefinal kdexdeltas libg++ libwww mad maildir mbox mikmod mmx mmxext mp3  
mpeg musepack mysql ncurses nls nptl nvidia offensive ogg oggvorbis opengl  
oscar pam pda pdflib perl pic png python qt quicktime readline real sdl spell  
ssl svg tcpd tetex tiff truetype truetype-fonts type1-fonts unicode usb videos  
vorbis xine xml2 xv xvid xvmc zlib linguas_de userland_GNU kernel_linux  
elibc_glibc"  
Unset:  ASFLAGS, CTARGET, LDFLAGS  
Comment 4 Luca Barbato gentoo-dev 2005-09-15 18:08:45 UTC
I guess is time to p.mask that scons version.
Comment 5 Diego Elio Pettenò (RETIRED) gentoo-dev 2005-12-08 07:30:16 UTC
That version of scons is now p.masked