Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 71549 - samba 3.0.8 fails to compile/link
Summary: samba 3.0.8 fails to compile/link
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: Sparc Linux
: High major (vote)
Assignee: Gentoo's SAMBA Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-11-17 08:43 UTC by Labrador
Modified: 2004-11-17 14:28 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 Labrador 2004-11-17 08:43:03 UTC
emerge of samba 3.0.8 fails on my Ultra 60:

 * LD: BIND_NOW: bin/smbumount
Compiling client/smbumount.c
In file included from /usr/include/asm/sigcontext.h:11,
                 from /usr/include/asm-sparc/signal.h:5,
                 from /usr/include/asm/signal.h:11,
                 from /usr/include/asm-sparc/processor.h:21,
                 from /usr/include/asm/processor.h:11,
                 from /usr/include/linux/prefetch.h:15,
                 from /usr/include/linux/list.h:5,
                 from /usr/include/linux/wait.h:12,
                 from /usr/include/linux/fs.h:12,
                 from /usr/include/linux/smb_fs.h:15,
                 from client/smbumount.c:16:
/usr/include/asm-sparc/sigcontext.h:14: error: redefinition of `struct sigcontext'
In file included from /usr/include/asm/signal.h:11,
                 from /usr/include/asm-sparc/processor.h:21,
                 from /usr/include/asm/processor.h:11,
                 from /usr/include/linux/prefetch.h:15,
                 from /usr/include/linux/list.h:5,
                 from /usr/include/linux/wait.h:12,
                 from /usr/include/linux/fs.h:12,
                 from /usr/include/linux/smb_fs.h:15,
                 from client/smbumount.c:16:
/usr/include/asm-sparc/signal.h:117: error: redefinition of `struct sigstack'
/usr/include/asm-sparc/signal.h:195: error: syntax error before '.' token
/usr/include/asm-sparc/signal.h:199: error: syntax error before '}' token
/usr/include/asm-sparc/signal.h:208: error: redefinition of `struct sigaction'
/usr/include/asm-sparc/signal.h:209: error: syntax error before '.' token
/usr/include/asm-sparc/signal.h:210: error: conflicting types for `sa_mask'
/usr/include/asm-sparc/signal.h:198: error: previous declaration of `sa_mask'
/usr/include/asm-sparc/signal.h:213: error: syntax error before '}' token
/usr/include/asm-sparc/signal.h:215: error: redefinition of `struct sigaltstack'
In file included from /usr/include/asm/processor.h:11,
                 from /usr/include/linux/prefetch.h:15,
                 from /usr/include/linux/list.h:5,
                 from /usr/include/linux/wait.h:12,
                 from /usr/include/linux/fs.h:12,
                 from /usr/include/linux/smb_fs.h:15,
                 from client/smbumount.c:16:
/usr/include/asm-sparc/processor.h:46: error: redefinition of `struct fpq'
make: *** [client/smbumount.o] Error 1

!!! ERROR: net-fs/samba-3.0.8 failed.
!!! Function src_compile, Line 202, Exitcode 2
!!! LD: BIND_NOW: bin/smbumount compile error


Here is my emerge --info:


Portage 2.0.51-r3 (default-sparc64-2004.0, gcc-3.3.4, glibc-2.3.3.20040420-r2, 2.6.6 sparc64)
=================================================================
System uname: 2.6.6 sparc64 sun4u
Gentoo Base System version 1.4.16
ccache version 2.3 [enabled]
Autoconf: sys-devel/autoconf-2.59-r5
Automake: sys-devel/automake-1.8.5-r1
Binutils: sys-devel/binutils-2.14.90.0.8-r1
Headers:  sys-kernel/linux26-headers-2.6.8.1-r1
Libtools: sys-devel/libtool-1.5.2-r5
ACCEPT_KEYWORDS="sparc"
AUTOCLEAN="yes"
CFLAGS="-mcpu=ultrasparc -O2 -pipe"
CHOST="sparc-unknown-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /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/mozilla/defaults/pref /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-mcpu=ultrasparc -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache distlocks sandbox userpriv"
GENTOO_MIRRORS="http://gentoo.osuosl.org http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="sparc X avi berkdb bitmap-fonts crypt cups encode f77 fbcon foomaticdb fortran gdbm gif gtk imlib jpeg kde ldap libwww mikmod mozilla mpeg ncurses nls noaudio oggvorbis opengl pam pdflib perl png python qt readline samba sdl slang spell ssl tcltk tcpd truetype xml2 xv zlib"

This one built OK on my x86 box.


Reproducible: Always
Steps to Reproduce:
1. emerge sync
2. emerge samba
3.

Actual Results:  
Error as shown above

Expected Results:  
Compiled samba 3.0.8 error-free.
Comment 1 Gustavo Zacarias (RETIRED) gentoo-dev 2004-11-17 14:28:37 UTC
As i answered in the forums earlier, we don't support linux26-headers on sparc at the moment.
So i'm closing as WONTFIX.