Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 45212 - jfsutils 1.1.3 compile error
Summary: jfsutils 1.1.3 compile error
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High critical (vote)
Assignee: Gentoo Kernel Bug Wranglers and Kernel Maintainers
URL:
Whiteboard:
Keywords:
: 48119 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-03-20 07:07 UTC by Thorsten Hirsch
Modified: 2005-04-28 10:16 UTC (History)
4 users (show)

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


Attachments
jfsutils-1.1.3-gentoo.diff (jfsutils-1.1.3-gentoo.diff,1.01 KB, patch)
2005-04-03 11:33 UTC, Marcelo Goes (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Thorsten Hirsch 2004-03-20 07:07:50 UTC
The compilation of jfsutils 1.1.3 stops because of an error

Reproducible: Always
Steps to Reproduce:
1. emerge -U jfsutils
2.
3.

Actual Results:  
[...]
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include   -D_FILE_OFFSET_BITS=64
-march=athlon-xp -O3 -pipe -c `test -f 'utilsubs.c' || echo './'`utilsubs.c
devices.c: In function `ujfs_get_dev_size':
devices.c:87: error: syntax error before '[' token
make[2]: *** [devices.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory
`/var/tmp/portage/jfsutils-1.1.3/work/jfsutils-1.1.3/libfs'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/jfsutils-1.1.3/work/jfsutils-1.1.3'
make: *** [all] Error 2

!!! ERROR: sys-fs/jfsutils-1.1.3 failed.
!!! Function src_compile, Line 25, Exitcode 2
!!! (no error message)


Expected Results:  
no error ;-)

jfsutils 1.1.3 shall be installed when doing an emerge -U world
Comment 1 Petter 2004-03-23 04:43:08 UTC
Exact same result for me, my emerge info:

Portage 2.0.50-r1 (default-x86-1.4, gcc-3.3.2, glibc-2.3.2-r9, 2.6.3-gentoo-r1)
=================================================================
System uname: 2.6.3-gentoo-r1 i686 Intel(R) Pentium(R) 4 CPU 2.53GHz
Gentoo Base System version 1.4.3.13
distcc 2.12.1 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled]
ccache version 2.3 [enabled]
Autoconf: sys-devel/autoconf-2.58-r1
Automake: sys-devel/automake-1.7.7
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium4 -O3 -pipe -fomit-frame-pointer -mfpmath=sse,387 -msse2 -msse -mmmx -fprefetch-loop-arrays -funroll-loops -falign-functions=4 -falign-jumps=4"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=pentium4 -O3 -pipe -fomit-frame-pointer -mfpmath=sse,387 -msse2 -msse -mmmx -fprefetch-loop-arrays -funroll-loops -falign-functions=4 -falign-jumps=4"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache distcc fixpackages sandbox"
GENTOO_MIRRORS="ftp://trumpetti.atm.tut.fi/gentoo/ ftp://ftp.easynet.nl/mirror/gentoo/ http://ftp6.uni-erlangen.de/pub/mirrors/gentoo http://ds.thn.htu.se/linux/gentoo"
MAKEOPTS="-j9"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/src/ebuilds"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage/"
USE="3ds S3TC X Xaw3d aalib acpi acpi4linux alsa altcolors amd apache2 apm arts artswrappersuid asterisk async autofs avantgo avi berkdb bonobo cdr clamav clanJavaScript clanVoice crypt cscope cups curl dga dillo distribution doc dumb-allegro dv dvb dvd dvdr encode esd ethereal etwin evms2 evo exiscan-acl expat faad fam ffmpeg fftw firebird flac flash fluidsynth foomaticdb foreign-package foreign-sysvinit freetype fusion gd gdbm ggi gif gimpprint ginac gmtfull gmthigh gmtsuppl gmttria gnome gnomedb gphoto2 gtk gtk2 gtkhtml guile hbci hdf hdf5 i8x0 imagemagick imap imlib imlib2 innodb ipalias ipcs jabber jack jack-caps jack-tmpfs java javascript jikes joystick jpeg junit justify jython kadu-modules kadu-voice kde kerberos krb4 lcd lcms ldap lesstif libdsk libg++ libgda libwww lids linguas_sv lmtp log4j ltsp lua lufsusermount mad maildir matroska mbox md5sum mdb migemo mikmod milter mldonkeypango mmx mng mono motif mozilla moznocompose moznoirc moznomail mozp3p mozsvg mpeg mpeg4 mpi msn music mysql nas ncurses net nls nocardbus nocd nowin nptl nviz oav objc odbc offensive ofx oggvorbis openal opengl operanom2 optional-tasks oro oscar oss pam parse-clocks passfile pcap pda pdflib pear-db perl pg-hier php physfs pic pie plotutils png pnp ppds psyco python qt quicktime readline regexp rhino rogue rplay ruby samba sasl sdl serial slang slp snmp sox speedo speex spell src sse ssl stencil-buffer stroke svga t1lib tcltk tcpd tcsim tiff tools transcode truetype type1 unicode usb video_cards_i830 video_cards_i845 videos vim-with-x virus-scan wmf wolk-bootsplash wolk-supermount wsconvert wxwin wxwindows x86 xalan xatrix xchatnogtk xchattext xerces xface xgetdefault xine xml xml2 xmms xosd xv xvid xvmc yahoo zeo zlib zvbi"
Comment 2 Arno 2004-04-15 12:50:39 UTC
Having the same problem here.

/usr/portage/sys-fs/jfsutils/files/digest-jfsutils-1.1.5

works fine though.
Comment 3 Steve Arnold archtester gentoo-dev 2004-04-21 19:23:09 UTC
Add one more; are we all running 2.6.x kernels?

gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include   -D_FILE_OFFSET_BITS=64 -march=i686 -mcpu=athlon-xp -O2 -pipe -c `test -f 'diskmap.c' || echo './'`diskmap.c
source='message.c' object='message.o' libtool=no \
depfile='.deps/message.Po' tmpdepfile='.deps/message.TPo' \
depmode=gcc3 /bin/sh ../depcomp \
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include   -D_FILE_OFFSET_BITS=64 -march=i686 -mcpu=athlon-xp -O2 -pipe -c `test -f 'message.c' || echo './'`message.c
distcc[4181] ERROR: compile on megatron.arnolds.bogus failed
devices.c: In function `ujfs_get_dev_size':
devices.c:87: error: syntax error before '[' token
make[2]: *** [devices.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory `/var/tmp/portage/jfsutils-1.1.3/work/jfsutils-1.1.3/libfs'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/jfsutils-1.1.3/work/jfsutils-1.1.3'
make: *** [all] Error 2

!!! ERROR: sys-fs/jfsutils-1.1.3 failed.
!!! Function src_compile, Line 25, Exitcode 2
!!! (no error message)

Portage 2.0.50-r6 (default-x86-1.4, gcc-3.3.3, glibc-2.3.2-r9, 2.6.6-rc1)
=================================================================
System uname: 2.6.6-rc1 i686 AMD Athlon(tm) XP 2000+
Gentoo Base System version 1.4.9
distcc 2.13 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled]
ccache version 2.3 [enabled]
Autoconf: sys-devel/autoconf-2.58-r1
Automake: sys-devel/automake-1.8.3
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=i686 -mcpu=athlon-xp -O2 -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.1/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /usr/lib/mozilla /defaults/pref /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="-march=i686 -mcpu=athlon-xp -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache cvs distcc sandbox userpriv usersandbox"
GENTOO_MIRRORS="http://megatron.arnolds.bogus/gentoo/"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://megatron.arnolds.bogus/gentoo-portage"
USE="3dnow X aalib acl acpi alsa apm arts avi bonobo cdr crypt cups dga directfb dvd emacs encode esd evo fam fbcon foomaticdb freetype freetype2 gb gd gdbm gif gnome gpm gtk gtk2 gtkhtml imap imlib ipv6 java jpeg junit kde lame lcms ldap libg++ libwww mad mikmod mmx motif mozilla mpeg mysql ncurses nls ogg oggvorbis opengl oss pam pda pdflib perl plotutils png python qt quicktime readline samba sasl sdl slang slp spell sse ssl tcltk tcpd tetex tiff truetype video_cards_radeon vorbis x86 xml xml2 xmms xv zeo zlib"

gcc -v
Reading specs from /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.3/specs
Configured with: /var/tmp/portage/gcc-3.3.3-r2/work/gcc-3.3.3/configure --prefix=/usr --bindir=/usr/i686-pc-linux-gnu/gcc-bin/3.3 --includedir=/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.3/include --datadir=/usr/share/gcc-data/i686-pc-linux-gnu/3.3 --mandir=/usr/share/gcc-data/i686-pc-linux-gnu/3.3/man --infodir=/usr/share/gcc-data/i686-pc-linux-gnu/3.3/info --enable-shared --host=i686-pc-linux-gnu --target=i686-pc-linux-gnu --with-system-zlib --enable-languages=c,c++,f77,objc,java --enable-threads=posix --enable-long-long --disable-checking --enable-cstdio=stdio --enable-clocale=generic --enable-__cxa_atexit --enable-version-specific-runtime-libs --with-gxx-include-dir=/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.3/include/g++-v3 --with-local-prefix=/usr/local --enable-shared --disable-nls --x-includes=/usr/X11R6/include --x-libraries=/usr/X11R6/lib --enable-interpreter --enable-java-awt=xlib --with-x --disable-multilib
Thread model: posix
gcc version 3.3.3 20040217 (Gentoo Linux 3.3.3-r2, ssp-3.3-7, pie-8.5.3)
Comment 4 Steve Arnold archtester gentoo-dev 2004-04-21 19:25:01 UTC
*** Bug 48119 has been marked as a duplicate of this bug. ***
Comment 5 Brad Cowan (RETIRED) gentoo-dev 2004-07-12 20:17:13 UTC
have y'all tried 1.1.6
Comment 6 Thorsten Hirsch 2004-07-13 10:01:00 UTC
jfsutils 1.1.5 already worked, but it's still masked; 1.1.3 is stable, so I leave this bug as new, okay?
Comment 7 Marcelo Goes (RETIRED) gentoo-dev 2005-04-03 11:33:50 UTC
Created attachment 55219 [details, diff]
jfsutils-1.1.3-gentoo.diff

I back ported a couple fixes from 1.1.4.
Comment 8 Daniel Drake (RETIRED) gentoo-dev 2005-04-28 10:16:06 UTC
1.1.4 is stable, please reopen if the issue still exists there.