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 packages | Assignee: | 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
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. 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. Are you still having this problem? We are up to app-misc/mc-4.6.0-r7 in stable now. Can you test again? Thanks. app-misc/mc-4.6.0-r7 works for me on a box where app-misc/mc-4.6.0-r5 would fail. 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. 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 Is this problem still occuring for anything? similar issues didn't reopen since the introduction of the link some time ago. closing? closing as fixed and outdated. Reopen if needed |