Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 75584 - testdisk-5.3 fails to compile - new upstream version available
Summary: testdisk-5.3 fails to compile - new upstream version available
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Robin Johnson
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-12-24 15:15 UTC by C. Dominik Bodi
Modified: 2005-02-14 04:30 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description C. Dominik Bodi 2004-12-24 15:15:56 UTC
When I try to emerge testdisk-5.3 emerge fails due a compilation error.
Besides the newest upstream version at http://www.cgsecurity.org/index.html?testdisk.html is 5.5

Reproducible: Always
Steps to Reproduce:
1. emerge testdisk (for ~x86)

Actual Results:  
Error message: 
source='ntfs_dir.c' object='ntfs_dir.o' libtool=no \ 
depfile='.deps/ntfs_dir.Po' tmpdepfile='.deps/ntfs_dir.TPo' \ 
depmode=gcc3 /bin/sh ../config/depcomp \ 
i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I..     -O2 -mcpu=i686 -pipe 
-DLINUX -fms-extensions -Wall -MD -Wpointer-arith -Wmissing-declarations 
-Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W 
-Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef 
-Wredundant-decls -Wsign-compare  -Wnested-externs -Winline -c `test -f 
'ntfs_dir.c' || echo './'`ntfs_dir.c 
`-mcpu=' is deprecated. Use `-mtune=' or '-march=' instead. 
`-mcpu=' is deprecated. Use `-mtune=' or '-march=' instead. 
In file included from ntfs_dir.c:58: 
dir.h:18: error: field `filestat' has incomplete type 
ntfs_dir.c:71: warning: type defaults to `int' in declaration of `uchar_t' 
ntfs_dir.c:71: error: parse error before '*' token 
ntfs_dir.c:73: warning: function declaration isn't a prototype 
ntfs_dir.c:80: warning: type defaults to `int' in declaration of `uchar_t' 
ntfs_dir.c:80: error: parse error before '*' token 
ntfs_dir.c:80: warning: function declaration isn't a prototype 
ntfs_dir.c:82: warning: type defaults to `int' in declaration of `uchar_t' 
ntfs_dir.c:82: error: parse error before '*' token 
ntfs_dir.c:84: warning: function declaration isn't a prototype 
ntfs_dir.c:106: warning: type defaults to `int' in declaration of `uchar_t' 
ntfs_dir.c:106: error: parse error before '*' token 
ntfs_dir.c:109: warning: function declaration isn't a prototype 
ntfs_dir.c: In function `list_entry': 
ntfs_dir.c:119: error: `name' undeclared (first use in this function) 
ntfs_dir.c:119: error: (Each undeclared identifier is reported only once 
ntfs_dir.c:119: error: for each function it appears in.) 
ntfs_dir.c:119: error: `name_len' undeclared (first use in this function) 
ntfs_dir.c:128: error: `name_type' undeclared (first use in this function) 
ntfs_dir.c:139: error: `ls' undeclared (first use in this function) 
ntfs_dir.c:139: error: `mref' undeclared (first use in this function) 
ntfs_dir.c:158: error: `dt_type' undeclared (first use in this function) 
ntfs_dir.c: In function `utils_pathname_to_inode': 
ntfs_dir.c:263: error: `uchar_t' undeclared (first use in this function) 
ntfs_dir.c:263: error: `unicode' undeclared (first use in this function) 
ntfs_dir.c: At top level: 
ntfs_dir.c:365: warning: unused parameter 'disk_car' 
ntfs_dir.c:365: warning: unused parameter 'partition' 
ntfs_dir.c:365: warning: unused parameter 'cluster' 
make[2]: *** [ntfs_dir.o] Error 1 
make[2]: Leaving directory 
`/var/tmp/portage/testdisk-5.3/work/testdisk-5.3/src' 
make[1]: *** [all-recursive] Error 1 
make[1]: Leaving directory `/var/tmp/portage/testdisk-5.3/work/testdisk-5.3' 
make: *** [all] Error 2 
 
!!! ERROR: app-admin/testdisk-5.3 failed. 
!!! Function src_compile, Line 18, Exitcode 2 
 

Expected Results:  
emerge should cleanly finish and install testdisk. 

Portage 2.0.51-r8 (default-linux/x86/2004.3, gcc-3.4.3, 
glibc-2.3.4.20041102-r0, 2.6.9 i686) 
================================================================= 
System uname: 2.6.9 i686 AMD Athlon(tm) XP 2600+ 
Gentoo Base System version 1.6.8 
Python:              dev-lang/python-2.3.4 [2.3.4 (#1, Oct  7 2004, 12:41:25)] 
ccache version 2.3 [enabled] 
dev-lang/python:     2.3.4 
sys-devel/autoconf:  2.59-r6, 2.13 
sys-devel/automake:  1.8.5-r2, 1.5, 1.4_p6, 1.6.3, 1.7.9, 1.9.3 
sys-devel/binutils:  2.15.92.0.2-r2 
sys-devel/libtool:   1.5.10-r2 
virtual/os-headers:  2.6.8.1-r1 
ACCEPT_KEYWORDS="x86 ~x86" 
AUTOCLEAN="yes" 
CFLAGS="-O2 -mcpu=i686 -pipe" 
CHOST="i686-pc-linux-gnu" 
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control" 
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" 
CXXFLAGS="" 
DISTDIR="/usr/portage/distfiles" 
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms" 
GENTOO_MIRRORS="http://ftp.gentoo.skynet.be/pub/gentoo/ 
http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/ 
http://ftp.linux.ee/pub/gentoo/distfiles/ http://trumpetti.atm.tut.fi/gentoo/ 
http://gentoo.mirror.sdv.fr http://ftp.uni-erlangen.de/pub/mirrors/gentoo 
http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/ 
http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ 
http://ftp.easynet.nl/mirror/gentoo/ http://gentoo.tiscali.nl/gentoo/ 
http://mirror.gentoo.no/ http://ftp.du.se/pub/os/gentoo 
http://mirror.pudas.net/gentoo http://mirror.switch.ch/mirror/gentoo/ 
http://www.mirror.ac.uk/mirror/distro.ibiblio.org/pub/linux/distributions/gentoo" 
MAKEOPTS="-j1" 
PKGDIR="/usr/portage/packages" 
PORTAGE_TMPDIR="/var/tmp" 
PORTDIR="/usr/portage" 
PORTDIR_OVERLAY="" 
SYNC="rsync://rsync.gentoo.org/gentoo-portage" 
USE="x86 3dnow X a52 acpi alsa arts audiofile avi berkdb bitmap-fonts cddb 
cdparanoia cdr crypt cups dga divx4linux dv dvd dvdr dvdread emacs encode exif 
fam fame fbcon flac font-server gdbm ggi gif gnokii gnutls gphoto2 gpm 
gstreamer gtk gtk2 icq imagemagick imlib jabber java joystick jpeg jpeg2k 
junit kde lcms libwww lzo mad maildir mbox mime mjpeg mmx motif mozilla mpeg 
ncurses network nls nocardbus nptl offensive oggvorbis opengl pam pda pdflib 
perl pic png ppds python qt quicktime readline real scanner sdl slang smime 
speex spell sse ssl tcltk tcpd tetex theora tiff truetype truetype-fonts 
type1-fonts unicode usb videos xine xml2 xmms xv xvid yahoo zlib linguas_de"
Comment 1 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2005-02-14 04:30:35 UTC
new version in cvs.