Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 96699 - sys-fs/ext2resize-1.1.19 fails
Summary: sys-fs/ext2resize-1.1.19 fails
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Other
: High normal (vote)
Assignee: Tim Yamin (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-06-21 06:50 UTC by Patrizio Bassi
Modified: 2005-06-21 12:43 UTC (History)
1 user (show)

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 Patrizio Bassi 2005-06-21 06:50:50 UTC
depfile='.deps/ext2_unix_io.Po' tmpdepfile='.deps/ext2_unix_io.TPo' \
depmode=gcc3 /bin/sh ../depcomp \
i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.     -O3 -mtune=pentium3 -march=pentium3 -pipe -fomit-frame-pointer -mmmx -msse -c `test -f 'ext2_unix_io.c' || echo './'`ext2_unix_io.c
ext2_unix_io.c: In function `do_get_size':
ext2_unix_io.c:106: error: parse error before '[' token
make[2]: *** [ext2_unix_io.o] Error 1
make[2]: Leaving directory `/mnt/Dati/Gentoo/tmp/portage/ext2resize-1.1.19/work/ext2resize-1.1.19/src'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/mnt/Dati/Gentoo/tmp/portage/ext2resize-1.1.19/work/ext2resize-1.1.19/src'
make: *** [all-recursive] Error 1

!!! ERROR: sys-fs/ext2resize-1.1.19 failed.
!!! Function src_compile, Line 30, Exitcode 2
!!! Make failed
!!! If you need support, post the topmost build error, NOT this status message.


i think it's gcc-3.4.4 trouble.
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2005-06-21 06:57:31 UTC
emerge --info, please. 
Comment 2 Patrizio Bassi 2005-06-21 07:43:10 UTC
you always asks for info, while problem is in sources.... 
 
ok...here are my infos.. 
 
emerge info 
Portage 2.0.51.22-r1 (default-linux/x86/2005.0, gcc-3.4.4, glibc-2.3.5-r0, 2.6.12 i686) 
================================================================= 
System uname: 2.6.12 i686 Pentium III (Katmai) 
Gentoo Base System version 1.6.12 
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] 
ccache version 2.4 [disabled] 
dev-lang/python:     2.4.1-r1 
sys-apps/sandbox:    1.2.9 
sys-devel/autoconf:  2.13, 2.59-r6 
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.5 
sys-devel/binutils:  2.16.1 
sys-devel/libtool:   1.5.18 
virtual/os-headers:  2.6.11-r2 
ACCEPT_KEYWORDS="x86 ~x86" 
AUTOCLEAN="yes" 
CBUILD="i686-pc-linux-gnu" 
CFLAGS="-O3 -mtune=pentium3 -march=pentium3 -pipe -fomit-frame-pointer -mmmx 
-msse" 
CHOST="i686-pc-linux-gnu" 
CONFIG_PROTECT="/etc /opt/openjms/config /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /var/bind /var/qmail/control /var/run/dspam /var/spool/dspam" 
CONFIG_PROTECT_MASK="/etc/gconf /etc/splash /etc/terminfo /etc/texmf/web2c /etc/env.d" 
CXXFLAGS="-O3 -mtune=pentium3 -march=pentium3 -pipe -fomit-frame-pointer 
-mmmx -msse" 
DISTDIR="/usr/portage/distfiles" 
FEATURES="autoconfig distlocks fixpackages sandbox sfperms strict" 
GENTOO_MIRRORS="http://gentoo.ngi.it 
http://www.die.unipd.it/pub/Linux/distributions/gentoo-sources/" 
LANG="it_IT@euro" 
LC_ALL="it_IT@euro" 
LINGUAS="it" 
PKGDIR="/usr/portage/packages" 
PORTAGE_TMPDIR="/var/tmp" 
PORTDIR="/usr/portage" 
PORTDIR_OVERLAY="/usr/local/portage" 
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" 
USE="x86 X X509 Xaw3d a52 aac aalib acl acpi activefilter adns alsa apache2 apm 
arts audiofile avi bash-completion berkdb bidi bitmap-fonts bonobo bootsplash caps 
cdda cddb cdio cdparanoia cdr chroot clamav client codecs crypt css cups curl dga 
dhcp directfb divx4linux djbfft dlloader edl eds emboss encode ethereal exif faac faad 
fam fbcon ffmpeg fftw flac flash foomaticdb foreign-package fortran freetds gcj gd gdbm 
ggi gif gimp gimpprint gnokii gnome gphoto2 gpm graphviz gs gstreamer gtk gtk2 
gtkhtml guile iconv idea imagemagick imlib innodb irda irmc jack java javascript jikes jit 
joystick jpeg jpeg2k junit justify kde kdeenablefinal kerberos lcd ldap libcaca libclamav 
libg++ libgda libusb libwww lirc live lm_sensors lzo mad mailwrapper matroska 
md5sum mdb mikmod mime mmx mmx2 mmxext mng motif mozdevelop mozilla 
moznocompose moznoirc moznomail mozsvg mozxmlterm mp3 mpeg mpeg2 mpeg4 
mplayer mysql mysqli mythtv nagios-dns nagios-ntp nagios-ping nagios-ssh ncurses 
neXt network nls nntp no_wxgtk1 nobsh nopie nossp noxalan nptl nptlonly oav odbc 
ogg oggvorbis opengl operanom2 oss pam pda pdf pdflib perl png pnp postgres ppds 
pthreads python qemu-fast qhull qt quicktime quotas readline real rrdtool rtc ruby 
samba scanner sdl server session sftplogging slang slp snortsam soap sockets socks5 
softmmu softquota spamassassin spell sqlite3 sse ssl subject-rewrite svg svga tcltk 
tcpd tetex tga theora tiff truetype truetype-fonts trusted type1-fonts usb vorbis wsconvert 
wxwindows xanim xchatdccserver xine xinerama xml xml2 xmlrpc xmms xosd xpm 
xprint xv xvid xvm xvmc zlib linguas_it userland_GNU kernel_linux elibc_glibc" 
Unset:  ASFLAGS, CTARGET, LDFLAGS, MAKEOPTS 
 
Comment 3 SpanKY gentoo-dev 2005-06-21 10:00:31 UTC
considering half the time a user's assumption as to the source of the problem is
wrong, `emerge info` helps users figure out what's going on

in this case, ext2resize builds just fine with gcc-3.4.4 on my machine

but wait, since i have your `emerge info` i know you're using
linux-headers-2.6.x which means this is prob a linux headers issue since the
line in question utilizes an ioctl IOR() define

tim: i dropped the linux-2.6 patch that was in ver 1.1.17 since it no longer
applied to 1.1.19 ... think you could figure out where this is going wrong ?
Comment 4 Tim Yamin (RETIRED) gentoo-dev 2005-06-21 12:43:38 UTC
Fixed in CVS. Mike, it was just a matter of #include <linux/fs.h> ;)