Summary: | samba 2.2.8_pre1 failed to emerge | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | guillaume <guillaume.ramelet> |
Component: | New packages | Assignee: | Donny Davies (RETIRED) <woodchip> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | corporate_gadfly, dbasinge, fasa, gentoo-bugs2, mike, simon |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | x86 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
guillaume
2003-02-24 18:42:07 UTC
same for me 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" Same for me same here 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 ? good news is that the failure is not related to 2.2.8 ... 2.2.7 fails in the same way ... 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. samba 2.2.8_pre1 fails here too with the same error. 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" 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. jim, did you not see what i already said in comment #7? please read it again. 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" 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" 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. 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) |