Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 119875 - netatalk-2.0.3-r2 does not compile x64 due to errors associated swab.h definitions
Summary: netatalk-2.0.3-r2 does not compile x64 due to errors associated swab.h defini...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Other
: High normal (vote)
Assignee: Tim Yamin (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-01-21 16:58 UTC by Maurice Volaski
Modified: 2006-03-25 14:06 UTC (History)
2 users (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 Maurice Volaski 2006-01-21 16:58:05 UTC
On emerging netatalk-2.0.3-r2, I get this output:

In file included from /usr/include/xfs/linux.h:44,
                 from /usr/include/xfs/platform_defs.h:51,
                 from /usr/include/xfs/libxfs.h:38,
                 from /usr/include/xfs/xqm.h:36,
                 from quota.c:68:
/usr/include/xfs/swab.h:112: error: conflicting types for '__fswab16'
/usr/include/linux/byteorder/swab.h:135: error: previous definition of '__fswab16' was here
/usr/include/xfs/swab.h:116: error: conflicting types for '__swab16p'
/usr/include/linux/byteorder/swab.h:139: error: previous definition of '__swab16p' was here
/usr/include/xfs/swab.h:120: error: redefinition of '__swab16s'
/usr/include/linux/byteorder/swab.h:143: error: previous definition of '__swab16s' was here
/usr/include/xfs/swab.h:125: error: conflicting types for '__fswab32'
/usr/include/linux/byteorder/swab.h:148: error: previous definition of '__fswab32' was here
/usr/include/xfs/swab.h:129: error: conflicting types for '__swab32p'
/usr/include/linux/byteorder/swab.h:152: error: previous definition of '__swab32p' was here
/usr/include/xfs/swab.h:133: error: redefinition of '__swab32s'
/usr/include/linux/byteorder/swab.h:156: error: previous definition of '__swab32s' was here
/usr/include/xfs/swab.h:138: error: conflicting types for '__fswab64'
/usr/include/linux/byteorder/swab.h:162: error: previous definition of '__fswab64' was here
/usr/include/xfs/swab.h:148: error: conflicting types for '__swab64p'
/usr/include/linux/byteorder/swab.h:172: error: previous definition of '__swab64p' was here
/usr/include/xfs/swab.h:152: error: redefinition of '__swab64s'
/usr/include/linux/byteorder/swab.h:176: error: previous definition of '__swab64s' was here
if x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../..     -I../../include -I../../sys -I../../include -O2 -I../../sys -D_PATH_AFPDDEFVOL=\"/etc/netatalk/AppleVolumes.default\" -D_PATH_AFPDSYSVOL=\"/etc/netatalk/AppleVolumes.system\" -D_PATH_AFPDPWFILE=\"/etc/netatalk/afppasswd\" -D_PATH_AFPDCONF=\"/etc/netatalk/afpd.conf\" -D_PATH_AFPDUAMPATH=\"/usr/lib64/netatalk/\" -DAPPLCNAME -DSERVERTEXT=\"/etc/netatalk/msg/\" -MT afp_util.o -MD -MP -MF ".deps/afp_util.Tpo" \
  -c -o afp_util.o `test -f 'afp_util.c' || echo './'`afp_util.c; \
then mv -f ".deps/afp_util.Tpo" ".deps/afp_util.Po"; \
else rm -f ".deps/afp_util.Tpo"; exit 1; \
fi
make[3]: *** [quota.o] Error 1


system config...
Portage 2.0.54 (default-linux/amd64/2005.0, gcc-3.4.4, glibc-2.3.6-r2, 2.6.13 x86_64)
=================================================================
System uname: 2.6.13 x86_64 AMD Opteron(tm) Processor 250
Gentoo Base System version 1.12.0_pre15
dev-lang/python:     2.3.5-r2, 2.4.2
sys-apps/sandbox:    1.2.12
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.6-r1
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.15_rc6
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/config/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="amd64 apache2 avi bitmap-fonts bzip2 cdr crypt eds emboss encode expat foomaticdb gd gdbm gif gpm gstreamer imlib innodb jpeg kde libwww lm_sensors lzw lzw-tiff mhash mpeg mysql ncurses nls nptl nptlonly pam pcre pdflib perl png qt quicktime readline samba sdl slang snmp ssl tcltk tcpd udev userlocales vhosts xml2 xpm zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS
Comment 1 Diego Elio Pettenò (RETIRED) gentoo-dev 2006-03-12 05:08:32 UTC
Make sure you have an updated system because I can't really reproduce this, works fine here on amd64, and it's the only report about this...
Comment 2 Maurice Volaski 2006-03-12 13:15:18 UTC
Your system is out of date. You tested with old headers. Make sure you are using 2.6.15_rc6. I guess this is really a header bug.
Comment 3 Chris White (RETIRED) gentoo-dev 2006-03-12 13:35:07 UTC
This is a masked package, so I'll let plasmaroo decide the best course of action on this.
Comment 4 Tim Yamin (RETIRED) gentoo-dev 2006-03-25 14:06:20 UTC
Fixed in 2.6.16 headers.