. Reproducible: Always Steps to Reproduce: 1. Disable lzo useflag 2. Make sure dev-libs/lzo isn't installed 3. emerge transcode Actual Results: import_nuv.c:20:19: error: lzo1x.h: No such file or directory import_nuv.c: In function ‘nuv_decode_video’: import_nuv.c:484: warning: pointer targets in assignment differ in signedness import_nuv.c:491: error: ‘lzo_uint’ undeclared (first use in this function) import_nuv.c:491: error: (Each undeclared identifier is reported only once import_nuv.c:491: error: for each function it appears in.) import_nuv.c:491: error: expected ‘;’ before ‘len’ import_nuv.c:497: warning: implicit declaration of function ‘lzo1x_decompress’ import_nuv.c:498: error: ‘len’ undeclared (first use in this function) import_nuv.c:498: error: ‘LZO_E_OK’ undeclared (first use in this function) import_nuv.c:520: warning: pointer targets in passing argument 2 of ‘RTjpeg_decompressYUV420’ differ in signedness import_nuv.c: In function ‘import_nuv_decode’: import_nuv.c:635: warning: pointer targets in assignment differ in signedness make[3]: *** [import_nuv_la-import_nuv.lo] Error 1 make[3]: Leaving directory `/var/tmp/portage/media-video/transcode-1.0.6_rc1/work/transcode-1.0.6rc1/import/nuv' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/media-video/transcode-1.0.6_rc1/work/transcode-1.0.6rc1/import' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/media-video/transcode-1.0.6_rc1/work/transcode-1.0.6rc1' make: *** [all] Error 2
Same here, on two ~amd64 systems [nelz@loonquawl ~ 0]% emerge --info Portage 2.1.4.4 (default-linux/amd64/2007.0/desktop, gcc-4.2.2, glibc-2.7-r1, 2.6.24-tuxonice-r2 x86_64) ================================================================= System uname: 2.6.24-tuxonice-r2 x86_64 Intel(R) Core(TM)2 Duo CPU T7100 @ 1.80GHz Timestamp of tree: Sat, 16 Feb 2008 06:16:01 +0000 distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled] app-shells/bash: 3.2_p33 dev-java/java-config: 1.3.7, 2.1.4 dev-lang/python: 2.5.1-r5 sys-apps/baselayout: 1.12.11.1 sys-apps/sandbox: 1.2.18.1-r2 sys-devel/autoconf: 2.13, 2.61-r1 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.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.24 ACCEPT_KEYWORDS="amd64 ~amd64" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=nocona -O2 -pipe -msse3" 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/kde/4.0/env /usr/kde/4.0/share/config /usr/kde/4.0/shutdown /usr/share/config" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d" CXXFLAGS="-march=nocona -O2 -pipe -msse3" DISTDIR="/mnt/portage/distfiles" EMERGE_DEFAULT_OPTS="--alphabetical" FEATURES="buildpkg ccache distcc distlocks metadata-transfer parallel-fetch sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="ftp://gentoo.digimed.co.uk/ ftp://ftp.heanet.ie/pub/gentoo/ ftp://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/ ftp://ftp.easynet.nl/mirror/gentoo/" LANG="en_GB" LINGUAS="en_GB" MAKEOPTS="-j5" PKGDIR="/mnt/portage/packages/loonquawl" 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="/mnt/scratch" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/mnt/portage/layman/sunrise /mnt/portage/local" SYNC="rsync://desiato/gentoo" USE="X aac acl acpi alsa amd64 berkdb bitmap-fonts bluetooth bzip2 cairo cdr cli cracklib crypt cups dbus dri dvd dvdr dvdread emboss encode evo exif fam firefox flac foomaticdb gdbm gif gimp gimpprint gphoto2 gpm gtk hal htmlhandbook iconv id3 imap isdnlog jpeg kde kdeenablefinal kdehiddenvisibility lm_sensors logrotate mad midi mikmod mmx mp3 mpeg mudflap ncurses networkmanager nptl nptlonly nsplugin ntfs offensive ogg opengl openmp oss pcre pdf png pppd python qt3 qt3support qt4 quicktime readline reflection reiserfs sdl session slp spell spl sse sse2 ssl svg tcpd threads tiff truetype truetype-fonts type1-fonts unicode usb v4l v4l2 vorbis wifi xml xorg xv zlib zsh-completion" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci 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="keyboard mouse synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en_GB" USERLAND="GNU" VIDEO_CARDS="vesa i810" Unset: CPPFLAGS, CTARGET, INSTALL_MASK, LC_ALL, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Maarten, need emerge --info, and Neil, I need where its dying, since it shouldn't be building nuv on amd64 anyway.
Portage 2.1.4.4 (default-linux/amd64/2007.0/desktop, gcc-4.2.2, glibc-2.7-r1, 2.6.24-gentoo-r2 x86_64) ================================================================= System uname: 2.6.24-gentoo-r2 x86_64 AMD Athlon(tm) 64 Processor 3000+ Timestamp of tree: Sat, 16 Feb 2008 10:16:01 +0000 ccache version 2.4 [enabled] app-shells/bash: 3.2_p33 dev-java/java-config: 1.3.7, 2.1.4 dev-lang/python: 2.5.1-r5 dev-util/ccache: 2.4-r7 sys-apps/baselayout: 2.0.0_rc6-r1 sys-apps/sandbox: 1.2.18.1-r2 sys-devel/autoconf: 2.13, 2.61-r1 sys-devel/automake: 1.4_p6, 1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1 sys-devel/binutils: 2.18-r1, 2.18.50.0.1 sys-devel/gcc-config: 1.4.0-r4 sys-devel/libtool: 1.5.26 virtual/os-headers: 2.6.24 ACCEPT_KEYWORDS="amd64 ~amd64" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=k8 -Os -pipe -msse3" 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/X11/xkb /usr/share/config" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d" CXXFLAGS="-march=k8 -Os -pipe -msse3" DISTDIR="/usr/portage/distfiles" FEATURES="ccache distlocks metadata-transfer nostrip parallel-fetch sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS=" http://ftp.easynet.nl/mirror/gentoo/" LC_ALL="en_US.UTF-8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" LINGUAS="en nl" MAKEOPTS="-j2" 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/portage/local/layman/sunrise /usr/portage/local/layman/pro-audio /usr/portage/local/layman/gnash-cvs /usr/portage/local/layman/enlightenment /usr/portage/local/layman/springlobby /usr/portage/local/layman/gnome /usr/local/portage /usr/local/nouveau" SYNC="rsync://rsync.nl.gentoo.org/gentoo-portage" USE="3dnow 3dnowext X a52 accessibility acl acpi alsa amd64 aotuv berkdb bitmap-fonts cairo caps cdr cli cracklib crypt cups curl dbus dhcp dri dvd dvdr dvdread eds emboss encode evo fam ffmpeg flac fortran gdbm gif gimpprint gpm gtk gtk2 hal iconv ipv6 isdnlog jack jpeg kerberos ladspa latex ldap mad midi mikmod minimal mmx mmxext mp3 mpeg mudflap musepack ncurses nls nptl nptlonly nvidia offensive ogg oggvorbis opengl openmp pam pcre pdf perl png ppds pppd python qt3 qt3support qt4 quicktime readline realmedia reflection sdl session spell spl sse sse2 sse3 ssl svg tcpd theora tiff truetype truetype-fonts type1-fonts unicode usb v4l v4l2 vorbis wavpack wmp xml xorg xv xvmc zlib" ALSA_CARDS="ice1724" 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="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en nl" USERLAND="GNU" VIDEO_CARDS="nouveau vesa" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
You should change include-path in file transcode-1.0.6rc1/import/nuv/import_nuv.c line 20 from lzo1x.h to lzo/lzo1x.h and a few lines below from lzoutil.h to lzo/lzoutil.h. Then transcode should compile fine (and, yes, lzo should also be installed ;-) ). At least on amd x2 it works. I'm trying to upload the patch and the modified ebuild, but in the past I've a lot of trouble uploading files (very likely too restrictive proxy settings). If you can't find any attached files, try downloading it here: http://www.easy-pinguin.de/transcode-1.0.6_rc1-lzo.patch http://www.easy-pinguin.de/transcode-1.0.6_rc1.ebuild I would suggest to save the files into an overlay directory so they will be survive the next emerge --sync.
(In reply to comment #2) > Neil, I need where its dying, since it > shouldn't be building nuv on amd64 anyway. > Making all in nuv make[3]: Entering directory `/mnt/scratch/portage/media-video/transcode-1.0.6_rc1/work/transcode-1.0.6rc1/import/nuv' if /bin/sh ../../libtool --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../.. -D_REENTRANT -DMOD_PATH=\"/usr/lib64/transcode\" -I../.. -I../../import -I../../src -Wall -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -march=nocona -O2 -pipe -DDCT_YUV_PRECISION=1 -MT import_nuv_la-import_nuv.lo -MD -MP -MF ".deps/import_nuv_la-import_nuv.Tpo" -c -o import_nuv_la-import_nuv.lo `test -f 'import_nuv.c' || echo './'`import_nuv.c; \ then mv -f ".deps/import_nuv_la-import_nuv.Tpo" ".deps/import_nuv_la-import_nuv.Plo"; else rm -f ".deps/import_nuv_la-import_nuv.Tpo"; exit 1; fi if /bin/sh ../../libtool --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../.. -D_REENTRANT -DMOD_PATH=\"/usr/lib64/transcode\" -I../.. -I../../import -I../../src -Wall -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -march=nocona -O2 -pipe -DDCT_YUV_PRECISION=1 -MT import_nuv_la-RTjpegN.lo -MD -MP -MF ".deps/import_nuv_la-RTjpegN.Tpo" -c -o import_nuv_la-RTjpegN.lo `test -f 'RTjpegN.c' || echo './'`RTjpegN.c; \ then mv -f ".deps/import_nuv_la-RTjpegN.Tpo" ".deps/import_nuv_la-RTjpegN.Plo"; else rm -f ".deps/import_nuv_la-RTjpegN.Tpo"; exit 1; fi mkdir .libs x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../.. -D_REENTRANT -DMOD_PATH=\"/usr/lib64/transcode\" -I../.. -I../../import -I../../src -Wall -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -march=nocona -O2 -pipe -DDCT_YUV_PRECISION=1 -MT import_nuv_la-import_nuv.lo -MD -MP -MF .deps/import_nuv_la-import_nuv.Tpo -c import_nuv.c -fPIC -DPIC -o .libs/import_nuv_la-import_nuv.o import_nuv.c:20:19: error: lzo1x.h: No such file or directory x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../.. -D_REENTRANT -DMOD_PATH=\"/usr/lib64/transcode\" -I../.. -I../../import -I../../src -Wall -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -march=nocona -O2 -pipe -DDCT_YUV_PRECISION=1 -MT import_nuv_la-RTjpegN.lo -MD -MP -MF .deps/import_nuv_la-RTjpegN.Tpo -c RTjpegN.c -fPIC -DPIC -o .libs/import_nuv_la-RTjpegN.o import_nuv.c: In function 'nuv_decode_video': import_nuv.c:484: warning: pointer targets in assignment differ in signedness import_nuv.c:491: error: 'lzo_uint' undeclared (first use in this function) import_nuv.c:491: error: (Each undeclared identifier is reported only once import_nuv.c:491: error: for each function it appears in.) import_nuv.c:491: error: expected ';' before 'len' import_nuv.c:497: warning: implicit declaration of function 'lzo1x_decompress' import_nuv.c:498: error: 'len' undeclared (first use in this function) import_nuv.c:498: error: 'LZO_E_OK' undeclared (first use in this function) import_nuv.c:520: warning: pointer targets in passing argument 2 of 'RTjpeg_decompressYUV420' differ in signedness import_nuv.c: In function 'import_nuv_decode': import_nuv.c:635: warning: pointer targets in assignment differ in signedness distcc[31542] ERROR: compile import_nuv.c on localhost failed make[3]: *** [import_nuv_la-import_nuv.lo] Error 1 make[3]: *** Waiting for unfinished jobs.... RTjpegN.c: In function 'RTjpeg_compressYUV420': RTjpegN.c:2860: warning: pointer targets in initialization differ in signedness RTjpegN.c:2861: warning: pointer targets in initialization differ in signedness RTjpegN.c:2882: warning: pointer targets in passing argument 1 of 'RTjpeg_dctY' differ in signedness RTjpegN.c:2886: warning: pointer targets in passing argument 1 of 'RTjpeg_dctY' differ in signedness RTjpegN.c:2890: warning: pointer targets in passing argument 1 of 'RTjpeg_dctY' differ in signedness RTjpegN.c:2894: warning: pointer targets in passing argument 1 of 'RTjpeg_dctY' differ in signedness RTjpegN.c: In function 'RTjpeg_compressYUV422': RTjpegN.c:2914: warning: pointer targets in initialization differ in signedness RTjpegN.c:2935: warning: pointer targets in passing argument 1 of 'RTjpeg_dctY' differ in signedness RTjpegN.c:2939: warning: pointer targets in passing argument 1 of 'RTjpeg_dctY' differ in signedness RTjpegN.c: In function 'RTjpeg_decompressYUV422': RTjpegN.c:2985: warning: pointer targets in initialization differ in signedness RTjpegN.c:3013: warning: pointer targets in passing argument 1 of 'RTjpeg_idct' differ in signedness RTjpegN.c:3019: warning: pointer targets in passing argument 1 of 'RTjpeg_idct' differ in signedness RTjpegN.c: In function 'RTjpeg_decompressYUV420': RTjpegN.c:3033: warning: pointer targets in initialization differ in signedness RTjpegN.c:3034: warning: pointer targets in initialization differ in signedness RTjpegN.c:3062: warning: pointer targets in passing argument 1 of 'RTjpeg_idct' differ in signedness RTjpegN.c:3068: warning: pointer targets in passing argument 1 of 'RTjpeg_idct' differ in signedness RTjpegN.c:3074: warning: pointer targets in passing argument 1 of 'RTjpeg_idct' differ in signedness RTjpegN.c:3080: warning: pointer targets in passing argument 1 of 'RTjpeg_idct' differ in signedness RTjpegN.c: In function 'RTjpeg_mcompressYUV420': RTjpegN.c:3213: warning: pointer targets in initialization differ in signedness RTjpegN.c:3214: warning: pointer targets in initialization differ in signedness RTjpegN.c:3252: warning: pointer targets in passing argument 1 of 'RTjpeg_dctY' differ in signedness RTjpegN.c:3261: warning: pointer targets in passing argument 1 of 'RTjpeg_dctY' differ in signedness RTjpegN.c:3270: warning: pointer targets in passing argument 1 of 'RTjpeg_dctY' differ in signedness RTjpegN.c:3279: warning: pointer targets in passing argument 1 of 'RTjpeg_dctY' differ in signedness RTjpegN.c: In function 'RTjpeg_mcompressYUV422': RTjpegN.c:3319: warning: pointer targets in assignment differ in signedness RTjpegN.c:3347: warning: pointer targets in passing argument 1 of 'RTjpeg_dctY' differ in signedness RTjpegN.c:3356: warning: pointer targets in passing argument 1 of 'RTjpeg_dctY' differ in signedness make[3]: Leaving directory `/mnt/scratch/portage/media-video/transcode-1.0.6_rc1/work/transcode-1.0.6rc1/import/nuv' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/mnt/scratch/portage/media-video/transcode-1.0.6_rc1/work/transcode-1.0.6rc1/import' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/mnt/scratch/portage/media-video/transcode-1.0.6_rc1/work/transcode-1.0.6rc1' make: *** [all] Error 2 * * ERROR: media-video/transcode-1.0.6_rc1 failed. * Call stack: * ebuild.sh, line 49: Called src_compile * environment, line 2855: Called die * The specific snippet of code: * emake all || die "emake failed" * The die message: * emake failed * * If you need support, post the topmost build error, and the call stack if relevant. * A complete build log is located at '/var/log/portage/media-video:transcode-1.0.6_rc1:20080216-230839.log'. * The ebuild environment file is located at '/mnt/scratch/portage/media-video/transcode-1.0.6_rc1/temp/environment'. *
This seems to be an X86 problem, on amd64 ebuild in tree compiles fine. Updated ebuild above solves problem on X86, compiled just fine.
The original problem was requiring lzo when the useflag is off, i think two problems got mixed here.
(In reply to comment #6) > This seems to be an X86 problem, on amd64 ebuild in tree compiles fine. No, it doesn't. It fails here on ~amd64.
> This seems to be an X86 problem, on amd64 ebuild in tree compiles fine. No, it doesn't. Compiles fine here on x86_64 AND x86 (Athlon X2 and Athlon XP). Once again, as it seems, that my comment #4 is ignored, the Problem is: import_nuv.c:20:19: error: lzo1x.h: No such file or directory And the problem is, that lzolx.h is searched in /usr/include, but not in /usr/inclue/lzo where all the headerfiles resides. So either you add the include-path to ./configure (maybe, not verified) or you patch import_nuv.c as I did. Than it will compile on both plattforms without problems.
transcode-1.0.6_rc1-r1 should fix it now
It's fixed it here, thanks.
(In reply to comment #10) > transcode-1.0.6_rc1-r1 should fix it now > Confirmed fixed on ~amd64. Thank you.
fixed in cvs