First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 230095
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: media-video herd <media-video@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Daniel Pielmeier <billie@gentoo.org>
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
dvbcut-0.5.4-scons.patch dvbcut-0.5.4-scons.patch patch Daniel Pielmeier 2008-06-29 20:48 0000 615 bytes Details | Diff
dvbcut-0.5.4-r1.diff diff to ebuild patch Daniel Pielmeier 2008-10-19 17:21 0000 448 bytes Details | Diff
dvbcut-0.5.4-scons.patch scons patch patch Daniel Pielmeier 2008-10-19 17:22 0000 611 bytes Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 230095 depends on: Show dependency tree
Bug 230095 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2008-06-29 20:46 0000
dvbcut fails with:

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

scons: Reading SConscript files ...

scons: *** Path for option PREFIX does not exist: /usr/local
File
"/var/tmp/portage/media-video/dvbcut-0.5.4-r1/work/dvbcut-0.5.4/SConstruct",
line 41, in ?
make: *** [build] Fehler 2

A patch which fixes this follows!

------- Comment #1 From Daniel Pielmeier 2008-06-29 20:47:00 0000 -------
emerge --info

Portage 2.1.4.4 (default/linux/x86/2008.0, gcc-4.1.2, glibc-2.6.1-r0,
2.6.24-gentoo-r8 i686)
=================================================================
System uname: 2.6.24-gentoo-r8 i686 Intel(R) Core(TM)2 CPU 6600 @ 2.40GHz
Timestamp of tree: Sun, 29 Jun 2008 18:15:03 +0000
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p33
dev-java/java-config: 1.3.7, 2.1.6
dev-lang/python:     2.4.4-r13
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r7
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.2.5
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r2
sys-devel/automake:  1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=prescott -O2 -pipe -fomit-frame-pointer"
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/config /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf
/etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/splash /etc/terminfo
/etc/udev/rules.d"
CXXFLAGS="-march=prescott -O2 -pipe -fomit-frame-pointer"
DISTDIR="/media/system/source/distfiles"
EMERGE_DEFAULT_OPTS="--with-bdeps y --nospinner"
FEATURES="ccache collision-protect distlocks metadata-transfer parallel-fetch
sandbox sfperms strict unmerge-orphans"
GENTOO_MIRRORS="ftp://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/
ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo ftp://gentoo.imj.fr/pub/gentoo/"
LANG="de_DE.utf8"
LC_ALL="de_DE.utf8"
LINGUAS="de"
MAKEOPTS="-j7"
PKGDIR="/media/system/source/packages"
PORTAGE_RSYNC_EXTRA_OPTS="--human-readable"
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="/media/system/repositories/portage"
PORTDIR_OVERLAY="/media/system/repositories/sunrise
/media/system/repositories/berkano /media/system/repositories/portage-billie"
SYNC="rsync://gentoo-vdr/gentoo-portage"
USE="7zip X a52 aac aalib ace acl acpi adplug alsa amr amrnb amrwb ao arj
audiofile bash-completion berkdb bl branding bzip2 cairo cdda cddb cdio
cdparanoia chardet cli cracklib crypt css cups dbus dga directfb divx djvu dri
dts dv dvb dvd dvdnav dvdr dvdread encode exif fam fame fbcon ffmpeg flac
fontconfig fortran gd gdbm ggi gif glitz gmedia gpm gtk hal hdri iconv id3tag
ieee1394 imagemagick imlib ipv6 isdnlog jack java jbig jpeg jpeg2k ladspa lame
lcms lha libcaca libnotify libsamplerate live lzo mad matroska midi mikmod
mjpeg mmx mmxext mng modplug mono motif mp2 mp3 mpeg mudflap musepack
musicbrainz nas ncurses netjack nls nptl nptlonly nsplugin ogg openal opengl
openmp oss pam pcre pdf perl png pnm portaudio ppds pppd pulseaudio pvr python
qt3 qt4 quicktime radio rar readline real realmedia reflection rle rpm rtsp sdl
sdl-image session shout sid slang sndfile sound soundtouch speex spell spl srt
sse sse2 ssl ssse3 startup-notification stream svg taglib tcpd tga theora tiff
timidity tivo truetype tta twolame unicode v4l v4l2 vamp vcd vcdx vidix vorbis
vorbis-psy wavpack win32codecs wma wmf wmp wxwindows x264 x86 xanim xattr
xcomposite xml xorg xosd xpm xscreensaver xulrunner xv xvid xvmc yv12 zip 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" 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 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"
ELIBC="glibc" INPUT_DEVICES="evdev keyboard mouse" KERNEL="linux"
LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses
text" LINGUAS="de" USERLAND="GNU" VIDEO_CARDS="fbdev v4l vesa vga nvidia nv"
Unset:  CPPFLAGS, CTARGET, INSTALL_MASK, LDFLAGS, PORTAGE_COMPRESS,
PORTAGE_COMPRESS_FLAGS

------- Comment #2 From Daniel Pielmeier 2008-06-29 20:48:51 0000 -------
Created an attachment (id=158895) [details]
dvbcut-0.5.4-scons.patch

fixes paths in SConstruct

------- Comment #3 From Alexis Ballier 2008-08-06 23:30:50 0000 -------
weird I cant reproduce it with any scons version in the tree, what version are
you using ?

------- Comment #4 From Daniel Pielmeier 2008-08-07 00:54:38 0000 -------
(In reply to comment #3)
> weird I cant reproduce it with any scons version in the tree, what version are
> you using ?
> 

Unpatched it fails with stable 0.97 and unstable 0.98.5.

Works patched with stable 0.97 and unstable 0.98.5.

------- Comment #5 From Daniel Pielmeier 2008-10-19 17:19:17 0000 -------
(In reply to comment #0)

> scons FFMPEG=/usr \
> scons: Reading SConscript files ...
> scons: *** Path for option PREFIX does not exist: /usr/local

This issue was bugging me again and after some digging I found the reason why
dvbcut does not build here. As the error above says it, there is no such
directory /usr/local on my system. as dvbcut only calls

emake FFMPEG=/usr DESTDIR="${D}" PREFIX="/usr" MANPATH="/usr/share/man" install

in src_install it tries to find /usr/local in src_compile which is not there. I
tried to set the same command in src_compile but this did not help. Only the
patch I provided fixes the case where no /usr/local is present. Creating
/usr/local and /usr/local/include makes the ebuild happy too, but I don't think
this is the best solution.

/usr/local is no required path on a linux distribution only user stuff goes
there and as I have nothing to place there this directory does not exist.

I will attach an updated patch that applies against the current ebuild in the
tree.

------- Comment #6 From Daniel Pielmeier 2008-10-19 17:21:53 0000 -------
Created an attachment (id=169106) [details]
diff to ebuild

------- Comment #7 From Daniel Pielmeier 2008-10-19 17:22:16 0000 -------
Created an attachment (id=169108) [details]
scons patch

------- Comment #8 From Alexis Ballier 2008-10-19 17:30:26 0000 -------
applied, thanks

First Last Prev Next    No search results available      Search page      Enter new bug