Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 42576

Summary: reiserfsprogs fails to compile with linux-headers-2.6.3
Product: Gentoo Linux Reporter: Andreas Simon <andreas.w.simon>
Component: [OLD] Core systemAssignee: Gentoo's Team for Core System packages <base-system>
Status: RESOLVED FIXED    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: All   
Whiteboard:
Package list:
Runtime testing required: ---

Description Andreas Simon 2004-02-23 05:14:25 UTC
sys-fs/reiserfsprogs-3.6.12-r1 fails to compile with sys-kernel/linux-headers-2.6.3 (version 1.1).


# emerge reiserfsprogs
Calculating dependencies ...done!
>>> emerge (1 of 1) sys-fs/reiserfsprogs-3.6.12-r1 to /
>>> md5 src_uri ;-) reiserfsprogs-3.6.12.tar.gz
>>> Unpacking source...
>>> Unpacking reiserfsprogs-3.6.12.tar.gz to /var/tmp/portage/reiserfsprogs-3.6.12-r1/work
 * Applying reiserfsprogs-3.6.12-check_root-bug...                                                                                    [ ok ]
>>> Source unpacked.
configure: WARNING: If you wanted to set the --build type, don't use --host.
    If a cross compiler is detected then cross compile mode will be used.
checking for a BSD-compatible install... /bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for i686-pc-linux-gnu-strip... no
checking for strip... strip
checking for i686-pc-linux-gnu-gcc... gcc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking for i686-pc-linux-gnu-ranlib... no
checking for ranlib... ranlib
checking how to run the C preprocessor... gcc -E
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking malloc.h usability... yes
checking malloc.h presence... yes
checking for malloc.h... yes
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking for unistd.h... (cached) yes
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking for size_t... yes
checking for struct stat.st_rdev... yes
checking whether gcc needs -traditional... no
checking for working memcmp... yes
checking for strftime... yes
checking for vprintf... yes
checking for _doprnt... no
checking for strerror... yes
checking for strstr... yes
checking for strtol... yes
checking for CREDITS... yes
configure: creating ./config.status
config.status: creating include/Makefile
config.status: creating mkreiserfs/Makefile
config.status: creating resize_reiserfs/Makefile
config.status: creating fsck/Makefile
config.status: creating lib/Makefile
config.status: creating Makefile
config.status: creating reiserfscore/Makefile
config.status: creating debugreiserfs/Makefile
config.status: creating tune/Makefile
config.status: creating include/config.h
config.status: executing depfiles commands

Type 'make' to compile reiserfsprogs
Making all in include
make[1]: Entering directory `/var/tmp/portage/reiserfsprogs-3.6.12-r1/work/reiserfsprogs-3.6.12/include'
make  all-am
make[2]: Entering directory `/var/tmp/portage/reiserfsprogs-3.6.12-r1/work/reiserfsprogs-3.6.12/include'
make[2]: Leaving directory `/var/tmp/portage/reiserfsprogs-3.6.12-r1/work/reiserfsprogs-3.6.12/include'
make[1]: Leaving directory `/var/tmp/portage/reiserfsprogs-3.6.12-r1/work/reiserfsprogs-3.6.12/include'
Making all in lib
make[1]: Entering directory `/var/tmp/portage/reiserfsprogs-3.6.12-r1/work/reiserfsprogs-3.6.12/lib'
if gcc -DHAVE_CONFIG_H -I. -I. -I../include     -march=athlon-xp -O2 -pipe -fstack-protector -MT io.o -MD -MP -MF ".deps/io.Tpo" \
  -c -o io.o `test -f 'io.c' || echo './'`io.c; \
then mv ".deps/io.Tpo" ".deps/io.Po"; \
else rm -f ".deps/io.Tpo"; exit 1; \
fi
if gcc -DHAVE_CONFIG_H -I. -I. -I../include     -march=athlon-xp -O2 -pipe -fstack-protector -MT misc.o -MD -MP -MF ".deps/misc.Tpo" \
  -c -o misc.o `test -f 'misc.c' || echo './'`misc.c; \
then mv ".deps/misc.Tpo" ".deps/misc.Po"; \
else rm -f ".deps/misc.Tpo"; exit 1; \
fi
In file included from ../include/swab.h:20,
                 from ../include/misc.h:12,
                 from io.c:21:
/usr/include/linux/byteorder/swab.h:133: error: syntax error before "__u16"
/usr/include/linux/byteorder/swab.h:146: error: syntax error before "__u32"
In file included from ../include/swab.h:20,
                 from ../include/misc.h:12,
                 from misc.c:26:
/usr/include/linux/byteorder/swab.h:133: error: syntax error before "__u16"
/usr/include/linux/byteorder/swab.h:146: error: syntax error before "__u32"
make[1]: *** [misc.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: *** [io.o] Error 1
make[1]: Leaving directory `/var/tmp/portage/reiserfsprogs-3.6.12-r1/work/reiserfsprogs-3.6.12/lib'
make: *** [all-recursive] Error 1

!!! ERROR: sys-fs/reiserfsprogs-3.6.12-r1 failed.
!!! Function src_compile, Line 24, Exitcode 2
!!! Failed to compile


# emerge --info
Portage 2.0.50-r1 (default-x86-1.4, gcc-3.3.3, glibc-2.3.3_pre20040207-r0, 2.6.3-love3)
=================================================================
System uname: 2.6.3-love3 i686 AMD Athlon(tm) XP 1800+
Gentoo Base System version 1.4.3.13
ccache version 2.3 [disabled]
Autoconf: sys-devel/autoconf-2.59-r3
Automake: sys-devel/automake-1.8.2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=athlon-xp -O3 -pipe -fstack-protector"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/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/env.d"
CXXFLAGS="-march=athlon-xp -O3 -pipe -fstack-protector"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs fixpackages sandbox"
GENTOO_MIRRORS="ftp://ftp.tu-clausthal.de/pub/linux/gentoo ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/opt/portage /opt/portage-kde"
SYNC="rsync://rsync.de.gentoo.org/gentoo-portage"
USE="3dnow X aalib acl alsa apm arts artswrappersuid avi berkdb cdr crypt cups dga dvb dvd encode esd faad flac foomaticdb gdbm gif gnome gpm gstreamer gtk gtk2 imap imlib ipv6 java jpeg kde lcms libg++ libwww mad maildir mikmod mmx motif mozilla mpeg mule ncurses nls nptl offensive oggvorbis opengl oss pam pdflib perl pic png python qt quicktime readline sasl sdl slang spell sse ssl tcltk tcpd tetex threads tiff truetype unicode x86 xml2 xmms xv zlib"
Comment 1 Andreas Simon 2004-02-23 06:22:31 UTC
I just see that the issue is fixed with linux-headers-2.6.3-r1.