Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 16321 - samba 2.2.8_pre1 failed to emerge
Summary: samba 2.2.8_pre1 failed to emerge
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Donny Davies (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-02-24 18:42 UTC by guillaume
Modified: 2003-03-03 09:19 UTC (History)
6 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 guillaume 2003-02-24 18:42:07 UTC
when i try to emerge --update samba, i get compile errors. :

Compiling smbwrapper/smbsh.c
Compiling smbwrapper/shared.c
Linking bin/smbsh
Compiling smbwrapper/smbw.c with -fPIC
smbwrapper/smbw.c:1523: warning: no semicolon at end of struct or union
smbwrapper/smbw.c:1523: parse error before '.' token
smbwrapper/smbw.c:1525: parse error before '.' token
smbwrapper/smbw.c:1527: parse error before '.' token
smbwrapper/smbw.c:1531: parse error before '}' token
smbwrapper/smbw.c: In function `xstat_convert':
smbwrapper/smbw.c:1548: dereferencing pointer to incomplete type
smbwrapper/smbw.c:1549: dereferencing pointer to incomplete type
smbwrapper/smbw.c:1550: dereferencing pointer to incomplete type
smbwrapper/smbw.c:1551: dereferencing pointer to incomplete type
smbwrapper/smbw.c:1552: dereferencing pointer to incomplete type
smbwrapper/smbw.c:1553: dereferencing pointer to incomplete type
smbwrapper/smbw.c:1554: dereferencing pointer to incomplete type
smbwrapper/smbw.c:1555: dereferencing pointer to incomplete type
smbwrapper/smbw.c:1556: dereferencing pointer to incomplete type
smbwrapper/smbw.c:1557: dereferencing pointer to incomplete type
smbwrapper/smbw.c:1558: dereferencing pointer to incomplete type
smbwrapper/smbw.c:1559: dereferencing pointer to incomplete type
smbwrapper/smbw.c:1560: dereferencing pointer to incomplete type
make: *** [smbwrapper/smbw.po] Error 1

!!! ERROR: net-fs/samba-2.2.8_pre1 failed.
!!! Function src_compile, Line 121, Exitcode 2
!!! samba compile problem


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




[root@gui - 00:38:24 - ~] # emerge info
Portage 2.0.46-r12 (default-x86-1.4, gcc-3.2.2, glibc-2.3.2_pre1-r0)
=================================================================
System uname: 2.4.19-gentoo-r10 i686 AMD Athlon(TM) MP 2400+
GENTOO_MIRRORS="http://gentoo.oregonstate.edu http://mirrors.sunsite.dk/gentoo/
ftp://sunsite.dk/mirrors/gentoo/ http://gentoo.linux.no/
ftp://gentoo.linux.no/pub/gentoo/ ftp://ftp.tu-clausthal.de/pub/linux/gentoo/
ftp://ftp.dale.ro/pub/mirrors/ftp.ibiblio.org/pub/Linux/distributions/gentoo/
http://ftp.snt.utwente.nl/pub/os/linux/gentoo/
ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo/
ftp://ftp.rez-gif.supelec.fr/pub/Linux/distrib/gentoo/ "
CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config
/usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config
/usr/share/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
PORTDIR="/usr/portage"
DISTDIR="/usr/portage/distfiles"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/usr/var/tmp"
PORTDIR_OVERLAY=""
USE="x86 gnome libg++ mikmod spell zlib gtkhtml gdbm berkdb slang tetex guile
libwww perl python 3dnow acpi alsa apm arts avi bonobo cdr crypt cups dga doc
dvd encode esd evo fbcon ggi gif gphoto2 gpm gtk imap imlib java jikes jpeg kde
mmx motif mozilla mozxmlterm mpeg nas ncurses nls oggvorbis opengl oss pam
pdflib png qt qtmt quicktime readline samba sdl ssl svga tcltk tcpd tiff
truetype usb x X xml2 xmms xv"
COMPILER="gcc3"
CHOST="i686-pc-linux-gnu"
CFLAGS="-march=athlon-mp -O3 -pipe"
CXXFLAGS="-march=athlon-mp -O3 -pipe"
ACCEPT_KEYWORDS="x86 ~x86"
MAKEOPTS="-j3"
AUTOCLEAN="yes"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
FEATURES="sandbox ccache"
Comment 1 Dietrich Heise 2003-02-25 15:10:38 UTC
same for me
Comment 2 Jason Waldhelm 2003-02-25 16:35:35 UTC
same here.  emerge fails in exactly the same place.

 # emerge info
Portage 2.0.46-r12 (default-x86-1.4, gcc-3.2.2, glibc-2.3.2_pre1-r0)
=================================================================
System uname: 2.4.19-gentoo-r10 i686 Intel(R) Pentium(R) 4 Mobile CPU 2.00GHz
GENTOO_MIRRORS="http://gentoo.oregonstate.edu/ http://www.ibiblio.org/pub/Linux/distributions/gentoo"
CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config /usr/share/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
PORTDIR="/usr/portage"
DISTDIR="/usr/portage/distfiles"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR_OVERLAY=""
USE="x86 oss 3dnow apm avi encode gif jpeg libg++ libwww mikmod mmx mpeg ncurses nls pdflib png qtmt quicktime spell truetype xml2 xmms xv zlib gdbm berkdb slang readline arts svga tcltk java guile sdl gpm tcpd pam ssl perl python esd imlib oggvorbis qt kde motif opengl mozilla cdr scanner X gtk cups alsa crypt acpi4linux -gnome -lolo-sources"
COMPILER="gcc3"
CHOST="i686-pc-linux-gnu"
CFLAGS="-march=pentium4 -O3 -pipe"
CXXFLAGS="-march=pentium4 -O3 -pipe"
ACCEPT_KEYWORDS="x86 ~x86"
MAKEOPTS="-j2"
AUTOCLEAN="yes"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
FEATURES="sandbox ccache"
Comment 3 Mike Basinger 2003-02-25 17:09:40 UTC
Same for me
Comment 4 Ricardo Ferreira 2003-02-26 10:34:04 UTC
same here 
Comment 5 fasa 2003-02-26 11:03:43 UTC
Same for me
This seems to come from the source thought ...

The only fix I see is to report the bug at Samba's developpers ...

Maybe downgrade the ebuild to version 2.2.7 ?
Comment 6 SpanKY gentoo-dev 2003-02-27 13:07:39 UTC
good news is that the failure is not related to 2.2.8 ... 
2.2.7 fails in the same way ... 
Comment 7 Donny Davies (RETIRED) gentoo-dev 2003-02-27 14:47:06 UTC
cant reproduce this, worksforme.

good news is that i'll just remove smbwrapper/smbsh as
they've been broken for a long time anyways with some
wacky glibc issue.  just never really got around to
cleaning it out.
Comment 8 dan 2003-02-27 16:37:44 UTC
samba 2.2.8_pre1 fails here too with the same error. 
Comment 9 Jim Nutt 2003-02-27 23:50:02 UTC
Some more information on this. It seems to have something to do with configuration, as I'm having every version of samba in portage failing to compile (2.2.5-r1, 2.2.6-r2, 2.2.7, 2.2.7a and 2.2.8-pre1 [I've not tried 3.0 yet]).
They all fail in the same place, line 1523 of smbw.c.

Emerge info below:
Portage 2.0.47-r6 (default-x86-1.4, gcc-3.2.2, glibc-2.3.2_pre1-r0,2.2.5-r4)
=================================================================
System uname: 2.4.20-gentoo-r1 i686 AMD Duron(tm) processor
GENTOO_MIRRORS="http://gentoo.oregonstate.edu/ http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config /usr/kde/3/share/config /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
PORTDIR="/usr/portage"
DISTDIR="/usr/portage/distfiles"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR_OVERLAY=""
USE="x86 oss apm avi crypt cups encode gif jpeg kde libg++ mikmod mmx mpeg ncurses nls pdflib png qtmt quicktime spell xml2 xmms xv zlib gtkhtml alsa gdbm berkdb slang readline arts tetex aalib bonobo svga tcltk java guile postgres X sdl gpm tcpd pam libwww ssl perl python esd imlib oggvorbis gnome gtk motif opengl gphoto2 cdr pda mozilla gpg gpgme 3dnow sse jpilot -qt truetype ogg"
COMPILER="gcc3"
CHOST="i686-pc-linux-gnu"
CFLAGS="-march=athlon-tbird -mcpu=athlon-tbird -O3 -pipe"
CXXFLAGS="-march=athlon-tbird -mcpu=athlon-tbird -O3 -pipe"
ACCEPT_KEYWORDS="x86 ~x86"
MAKEOPTS="-j2"
AUTOCLEAN="yes"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
FEATURES="sandbox ccache"
Comment 10 Jim Nutt 2003-02-28 00:56:38 UTC
I found a thread in comp.protocols.smb that explicitly states that smbwrapper will not work under linux. The ebuild should be modified to remove the --with-smbwrapper flag.
Comment 11 Donny Davies (RETIRED) gentoo-dev 2003-02-28 01:02:58 UTC
jim,  did you not see what i already said in comment #7?

please read it again.

Comment 12 Haroon Rafique 2003-02-28 11:18:28 UTC
Let me start off by saying that I'm not an authority on Gentoo or fixing bugs in general. However, can I offer a suggestion? Instead of arguing about whether it works for someone and doesn't work for someone, can we find out the common denominator for each of those cases?

My guess would be that glibc-2.3.2_pre1 is the common denominator for people where samba is not compiling anymore.

Spanky hit it right on the head with comment 6, and Jim in comment 9, and I agree that it seems like it is a configuration related change. Re-emerging 2.2.7, 2.2.7a, 2.2.8_pre-1 (yes, I tried all 3 one-by-one) all fail at the same stage, line 1523 in smbw.c. Looking at http://cvs.samba.org/cgi-bin/cvsweb/samba/source/smbwrapper/smbw.c that file hasn't been modified in 3 months in the samba CVS.

Plus, can we get beyond the smbwrapper issue, since some of us already had 2.2.7a installed (whether smbwrapper was working or not, at least the ebuild compiled) and (gasp!) cannot reinstall 2.2.7a again after something else changed in our system (gasp!)? Surely, if I have 2.2.7a installed, I should be able to rebuild that ebuild, broken smbwrapper/smbsh or not (unless something else in my system changed which is causing the compile to fail). So, let's find that "something else". If that "something else" is indeed glibc, then let's remove the --with-smbwrapper from the ebuild and file another bug for glibc so that the original issue of line 1523 is not forgotten.

BTW, I can also confirm that by commenting out references to smbwrapper from 2.2.8_pre1 ebuild, the ebuild emerges fine. 3.0-alpha21 emerges fine without any modifications.

Portage 2.0.47-r7 (default-x86-1.4, gcc-3.2.2, glibc-2.3.2_pre1-r0)
ACCEPT_KEYWORDS="x86 ~x86"
Comment 13 Haroon Rafique 2003-02-28 11:21:02 UTC
Previous comment repeat with line-breaks...

Let me start off by saying that I'm not an authority on Gentoo
or fixing bugs in general. However, can I offer a suggestion?
Instead of arguing about whether it works for someone and
doesn't work for someone, can we find out the common denominator
for each of those cases?

My guess would be that glibc-2.3.2_pre1 is the common denominator
for people where samba is not compiling anymore.

Spanky hit it right on the head with comment 6, and Jim in
comment 9, and I agree that it seems like it is a configuration
related change. Re-emerging 2.2.7, 2.2.7a, 2.2.8_pre-1 (yes, I tried
all 3 one-by-one) all fail at the same stage, line 1523 in smbw.c.
Looking at http://cvs.samba.org/cgi-bin/cvsweb/samba/source/smbwrapper/smbw.c
that file hasn't been modified in 3 months in the samba CVS.

Plus, can we get beyond the smbwrapper issue, since some of us
already had 2.2.7a installed (whether smbwrapper was working or not,
at least the ebuild compiled) and (gasp!) cannot reinstall 2.2.7a
again after something else changed in our system (gasp!)? Surely,
if I have 2.2.7a installed, I should be able to rebuild that
ebuild, broken smbwrapper/smbsh or not (unless something else in
my system changed which is causing the compile to fail). So, let's
find that "something else". If that "something else" is indeed
glibc, then let's remove the --with-smbwrapper from the ebuild and
file another bug for glibc so that the original issue of line 1523
is not forgotten.

BTW, I can also confirm that by commenting out references to
smbwrapper from 2.2.8_pre1 ebuild, the ebuild emerges fine.
3.0-alpha21 emerges fine without any modifications.

Portage 2.0.47-r7 (default-x86-1.4, gcc-3.2.2, glibc-2.3.2_pre1-r0)
ACCEPT_KEYWORDS="x86 ~x86"
Comment 14 Donny Davies (RETIRED) gentoo-dev 2003-03-01 01:21:42 UTC
Please just try this one.

*samba-2.2.8_pre2 (01 Mar 2003)

  01 Mar 2003; Donny Davies <woodchip@gentoo.org> : About another 30 bugs
  fixed in this _pre update.  Quell smbwrapper/smbsh.

Post any new bugs against it.
Comment 15 Haroon Rafique 2003-03-03 09:19:39 UTC
I can confirm samba-2.2.8_pre2 emerges fine with my setup

Portage 2.0.47-r7 (default-x86-1.4, gcc-3.2.2, glibc-2.3.2_pre1-r0)