testdisk-6.8 can't be emerged without USE-flag "jpeg". Prior versions are not affected. Reproducible: Always Steps to Reproduce: 1. USE="-jpeg" emerge -av =app-admin/testdisk-6.8 Result: Ebuild fails 2. USE="jpeg" emerge -av =app-admin/testdisk-6.8 Result: successful compilation
if x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -march=nocona -O2 -pipe -Wall -MD -Wpointer-arith -W missing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggrega te-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wd eclaration-after-statement -MT file_mdf.o -MD -MP -MF ".deps/file_mdf.Tpo" -c -o file_mdf.o file_mdf.c; \ then mv -f ".deps/file_mdf.Tpo" ".deps/file_mdf.Po"; else rm -f ".deps/file_mdf.Tpo"; exit 1; fi file_jpg.c: In function 'header_check_jpg': file_jpg.c:67: warning: unused parameter 'safe_header_only' file_jpg.c: In function 'file_check_jpg': file_jpg.c:404: error: 'my_source_mgr' undeclared (first use in this function) file_jpg.c:404: error: (Each undeclared identifier is reported only once file_jpg.c:404: error: for each function it appears in.) file_jpg.c:404: error: 'src' undeclared (first use in this function) file_jpg.c:405: error: expected expression before ')' token file_jpg.c:344: warning: unused variable 'infile' make[2]: *** [file_jpg.o] Error 1 make[2]: *** Waiting for unfinished jobs.... file_mdf.c: In function 'header_check_mdf': file_mdf.c:54: warning: unused parameter 'buffer_size' file_mdf.c:54: warning: unused parameter 'safe_header_only' file_mdf.c:54: warning: unused parameter 'file_recovery' make[2]: Leaving directory `/var/tmp/portage/app-admin/testdisk-6.8/work/testdisk-6.8/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/app-admin/testdisk-6.8/work/testdisk-6.8' make: *** [all] Error 2 * * ERROR: app-admin/testdisk-6.8 failed. * Call stack: * ebuild.sh, line 1701: Called dyn_compile * ebuild.sh, line 1039: Called qa_call 'src_compile' * ebuild.sh, line 44: Called src_compile * testdisk-6.8.ebuild, line 49: Called die * The specific snippet of code: * emake || die * The die message: * (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/log/portage/app-admin:testdisk-6.8:20071208-184807.log'. * ###################################################### emerge --info Portage 2.1.3.19 (default-linux/amd64/2007.0/desktop, gcc-4.1.2, glibc-2.6.1-r0, 2.6.22-suspend2-r2 x86_64) ================================================================= System uname: 2.6.22-suspend2-r2 x86_64 Intel(R) Celeron(R) M CPU 530 @ 1.73GHz Timestamp of tree: Sat, 08 Dec 2007 11:46:01 +0000 ccache version 2.4 [enabled] app-shells/bash: 3.2_p17 dev-java/java-config: 1.3.7, 2.0.33-r1 dev-lang/python: 2.4.4-r6 dev-python/pycrypto: 2.0.1-r6 dev-util/ccache: 2.4-r7 sys-apps/baselayout: 1.12.9-r2 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 sys-devel/binutils: 2.18-r1 sys-devel/gcc-config: 1.3.16 sys-devel/libtool: 1.5.24 virtual/os-headers: 2.6.22-r2 ACCEPT_KEYWORDS="amd64" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=nocona -O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/X11/xkb" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c / etc/udev/rules.d" CXXFLAGS="-march=nocona -O2 -pipe" DISTDIR="/usr/src/portage/distfiles/" FEATURES="ccache distlocks metadata-transfer parallel-fetch sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="http://ftp.uni-erlangen.de/pub/mirrors/gentoo http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/ " LDFLAGS="-Wl,-O1" LINGUAS="de" MAKEOPTS="-j2" PKGDIR="/usr/src/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" SYNC="rsync://rsync.de.gentoo.org/gentoo-portage" USE="X a52 aac acpi alsa amd64 ansi bash-completion battery berkdb bitmap-fonts bzip2 cairo cdda cddb cdr cli clisp cracklib crypt cscope cups dar64 dbus dell divx dri dts dvd dvdr dvdread eds emacs emboss encode evo fam fat firefox flac fortran gd gdbm gif gimp gmedia gnutls gpgme gpm gtk hal hddtemp iconv idn imap isdnlog java javascript jpeg lame libnotify lm_sensors logrotate lzo mad math matroska midi mikmod mmx mmxext mp3 mpeg mudflap ncurses nls nolvm1 nolvmstatic nomirrors nptl nptlonly nsplugin ntfs offensive ogg opengl openmp optimisememory pam pcmcia pcre pdf perl png pop ppds pppd python qt3support quicktime rar readline realmedia reflection reiserfs restrict-javascript rtsp sdl sdl-image session smime smtp socks5 spamassassin spell spl sse sse2 ssl ssse3 svg symlink tcpd theora tiff tk toolbar tordns truetype truetype-fonts type1-fonts unicode usb vda vim-with-x vorbis wifi wmp wxwindows x264 xinerama xml xorg xscreensaver xv xvid zlib" 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="evdev keyboard mouse synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de" USERLAND="GNU" VIDEO_CARDS="vesa i810" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Same here ...
Same here ... ---------------- emerge --info > http://pastebin.org/19196
testdisk-6.8-r1 have this problem too
Created attachment 143520 [details, diff] Fix file_jpg.c when libjpeg is missing Please find a patch for this problem. Note, it's fixed in TestDisk & PhotoRec 6.9.
thanks Florian and Christophe - fixed in 6.8-r1 and 6.9