Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 201710
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Robin Johnson <robbat2@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Florian Philipp <f_philipp@fastmail.net>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
testdisk68_jpg.patch Fix file_jpg.c when libjpeg is missing patch Christophe GRENIER 2008-02-14 18:43 0000 906 bytes Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 201710 depends on: Show dependency tree
Bug 201710 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: 2007-12-08 19:05 0000
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

------- Comment #1 From Florian Philipp 2007-12-08 19:08:48 0000 -------
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

------- Comment #2 From Evil Compile Person 2008-01-09 11:02:21 0000 -------
Same here ...

------- Comment #3 From gtlinuxman 2008-02-12 08:59:55 0000 -------
Same here ...
----------------
emerge --info > http://pastebin.org/19196

------- Comment #4 From gtlinuxman 2008-02-12 09:05:32 0000 -------
testdisk-6.8-r1 have this problem too

------- Comment #5 From Christophe GRENIER 2008-02-14 18:43:38 0000 -------
Created an attachment (id=143520) [details]
Fix file_jpg.c when libjpeg is missing

Please find a patch for this problem.
Note, it's fixed in TestDisk & PhotoRec 6.9.

------- Comment #6 From Daniel Black 2008-04-01 23:44:44 0000 -------
thanks Florian and Christophe - fixed in 6.8-r1 and 6.9

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug