Bug 159373 - media-video/dvbcut-0.5.3-r1 failure with >=dev-util/scons-0.96.93
Bug#: 159373 Product:  Gentoo Linux Version: unspecified Platform: x86
OS/Version: Linux Status: RESOLVED Severity: normal Priority: P2
Resolution: FIXED Assigned To: media-video@gentoo.org Reported By: roberto.castagnola@gmail.com
Component: Unspecified
URL: 
Summary: media-video/dvbcut-0.5.3-r1 failure with >=dev-util/scons-0.96.93
Keywords:  
Status Whiteboard: 
Opened: 2006-12-29 07:15 0000
Description:   Opened: 2006-12-29 07:15 0000
When dev-util/scons-0.96.93 is installed, media-video/dvbcut-0.5.3-r1 fails
with this error:

>>> Compiling source in /mnt/gentoo/2006.0/var/tmp/portage/media-video/dvbcut-0.5.3-r1/work/dvbcut-0.5.3 ...
scons FFMPEG=/usr \

scons: Reading SConscript files ...
Checking for libao... found
scons: done reading SConscript files.
scons: Building targets ...
g++ -o src/avframe.o -c -O3 -Wall "-D{'_FILE_OFFSET_BITS': '64', 'HAVE_LIB_AO':
None, '_LARGEFILE_SOURCE': None}" "-D{'QT_NO_DEBUG': None}" -I/usr/qt/3/include
src/avframe.cpp
<command line>:2:1: macro names must be identifiers
<command line>:3:1: macro names must be identifiers
scons: *** [src/avframe.o] Error 1
scons: building terminated because of errors.
make: *** [build] Error 2

!!! ERROR: media-video/dvbcut-0.5.3-r1 failed.
Call stack:
  ebuild.sh, line 1580:   Called dyn_compile
  ebuild.sh, line 945:   Called src_compile
  dvbcut-0.5.3-r1.ebuild, line 34:   Called die

!!! build failed
!!! If you need support, post the topmost build error, and the call stack if
relevant.


Using stable dev-util/scons-0.96.1 it goes on and fails with bug 159212.

------- Comment #1 From Alexander Wigen 2007-01-15 00:15:53 0000 -------
I ran into same bug.

------- Comment #2 From Roberto Castagnola 2007-03-01 08:27:27 0000 -------
Same problem with dev-util/scons-0.96.94

------- Comment #3 From Roberto Castagnola 2007-03-01 10:10:19 0000 -------
Fixed with a patch from svn upstream.
Check it from Bug 159212 with new ebuild.

------- Comment #4 From Alexis Ballier 2007-03-12 08:01:01 0000 -------
fixed, thanks for porting the patch.