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

Bug 46389

Summary: app-misc/mc-4.6.0-r5 fails to build on u5 when samba use-flag is active
Product: Gentoo Linux Reporter: Michael Hellwig <mhellwig>
Component: Current packagesAssignee: Sparc Porters <sparc>
Status: VERIFIED FIXED    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: Sparc   
OS: All   
Whiteboard:
Package list:
Runtime testing required: ---

Description Michael Hellwig 2004-03-31 12:06:07 UTC
 
Comment 1 Michael Hellwig 2004-03-31 12:08:33 UTC
damn, enter instead of tab again ..

well anyway, as Weeve has been able to reproduce:

trying to build mc with samba support leads to
if gcc -DHAVE_CONFIG_H -I. -I. -I..   -I../intl -I../intl -I..  -I/usr/X11R6/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -DCONFIGDIR=\""/etc/samba"\" -mcpu=ultrasparc -O3 -pipe -Wall -MT smbfs.o -MD -MP -MF ".deps/smbfs.Tpo" \
  -c -o smbfs.o `test -f 'smbfs.c' || echo './'`smbfs.c; \
then mv -f ".deps/smbfs.Tpo" ".deps/smbfs.Po"; \
else rm -f ".deps/smbfs.Tpo"; exit 1; \
fi
In file included from /usr/include/asm/statfs.h:11,
                 from /usr/include/linux/vfs.h:4,
                 from /usr/include/linux/fs.h:14,
                 from /usr/include/linux/capability.h:17,
                 from /usr/include/sys/capability.h:35,
                 from smb/includes.h:356,
                 from smbfs.c:43:
/usr/include/asm-sparc/statfs.h:13: redefinition of `struct statfs'
smbfs.c: In function `smbfs_loaddir':
smbfs.c:707: warning: passing arg 2 of `cli_RNetShareEnum' from incompatible pointer type
make[3]: *** [smbfs.o] Error 1
make[3]: Leaving directory `/var/tmp/portage/mc-4.6.0-r5/work/mc-4.6.0/vfs'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/mc-4.6.0-r5/work/mc-4.6.0/vfs'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/mc-4.6.0-r5/work/mc-4.6.0'
make: *** [all] Error 2

!!! ERROR: app-misc/mc-4.6.0-r5 failed.
!!! Function src_compile, Line 82, Exitcode 2
!!! (no error message)

on my U5 .. samba version is 3.0.2a, linux-headers are 2.4.23 ..

works fine without the samba-part, btw.
Comment 2 Josh Grebe (RETIRED) gentoo-dev 2004-04-04 13:30:37 UTC
I hate to say it, but this works for me. samba 3.0.2a, mc 4.6.0-r5, gcc 3.3.3, running kernel 2.4.24.
Comment 3 Josh Grebe (RETIRED) gentoo-dev 2004-05-07 12:15:44 UTC
Are you still having this problem?
Comment 4 Gustavo Zacarias (RETIRED) gentoo-dev 2004-05-12 19:45:31 UTC
We are up to app-misc/mc-4.6.0-r7 in stable now.
Can you test again?
Thanks.
Comment 5 Jason Wever (RETIRED) gentoo-dev 2004-05-22 16:59:18 UTC
app-misc/mc-4.6.0-r7 works for me on a box where app-misc/mc-4.6.0-r5 would fail.
Comment 6 bravecobra 2004-05-27 09:14:05 UTC
I've got mc-4.6.0-r7 compiled with samba-3.0.2a-r2. It merges however when starting I can't find libsmbclient.so.0. There is no such file. Only libsmbclient.so
I've created a symlink: ln -s libsmbclient.so libsmbclient.so.0
It's not the correct way to solve it (it should the other way round) but it let's me fire up mc.
Not quite sure whether this should be reported to the samba or the mc guys here.
Comment 7 Christian Andreetta (RETIRED) gentoo-dev 2004-07-15 07:32:19 UTC
symlink will appear soon in samba-3.0.4-r2 ebuild. Even if it is a mc issue only (for now :), this could be useful for other packages also
Comment 8 Jason Wever (RETIRED) gentoo-dev 2004-08-31 17:53:19 UTC
Is this problem still occuring for anything?
Comment 9 Christian Andreetta (RETIRED) gentoo-dev 2004-09-20 01:00:44 UTC
similar issues didn't reopen since the introduction of the link some time ago. closing?
Comment 10 Christian Andreetta (RETIRED) gentoo-dev 2004-10-08 06:49:11 UTC
closing as fixed and outdated. Reopen if needed