Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 29736 - emerge app-misc/mc-4.6.0-r3 dont work with USE="samba" (samba3)
Summary: emerge app-misc/mc-4.6.0-r3 dont work with USE="samba" (samba3)
Status: VERIFIED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Heinrich Wendel (RETIRED)
URL:
Whiteboard:
Keywords:
: 80453 (view as bug list)
Depends on:
Blocks:
 
Reported: 2003-09-27 03:11 UTC by Genady Okrain
Modified: 2009-08-05 10:55 UTC (History)
5 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
patch.log (patch.ebuild,84.09 KB, text/plain)
2003-10-11 09:06 UTC, Heinrich Wendel (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Genady Okrain 2003-09-27 03:11:56 UTC
gcc -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -march=athlon-xp
-m3dnow -msse -mfpmath=sse -mmmx -O3 -pipe -fforce-addr -fomit-frame-pointer
-funroll-loops -frerun-cse-after-loop -frerun-loop-opt -falign-functions=4
-maccumulate-outgoing-args -ffast-math -fprefetch-loop-arrays -Wall   -o
cons.saver  cons.saver.o
../vfs/libvfs-mc.a(smbfs.o)(.text+0x7f): In function `smbfs_set_debugf':
: undefined reference to `safe_strcpy'
../vfs/libvfs-mc.a(smbfs.o)(.text+0x9a): In function `smbfs_init':
: undefined reference to `charset_initialise'
../vfs/libvfs-mc.a(smbfs.o)(.text+0x155): In function `smbfs_init':
: undefined reference to `lp_client_code_page'
../vfs/libvfs-mc.a(smbfs.o)(.text+0x15d): In function `smbfs_init':
: undefined reference to `codepage_initialise'
../vfs/libvfs-mc.a(smbfs.o)(.text+0x1e0): In function `smbfs_init':
: undefined reference to `safe_strcpy'
../vfs/libvfs-mc.a(smbfs.o)(.text+0x210): In function `smbfs_init':
: undefined reference to `safe_strcpy'
../vfs/libvfs-mc.a(smbfs.o)(.text+0x23c): In function `smbfs_init':
: undefined reference to `multibyte_strchr'
../vfs/libvfs-mc.a(smbfs.o)(.text+0x25c): In function `smbfs_init':
: undefined reference to `safe_strcpy'
../vfs/libvfs-mc.a(smbfs.o)(.text+0x291): In function `smbfs_init':
: undefined reference to `multibyte_strchr'
../vfs/libvfs-mc.a(smbfs.o)(.text+0x2bb): In function `smbfs_init':
: undefined reference to `strupper'
../vfs/libvfs-mc.a(smbfs.o)(.text+0xc11): In function `smbfs_stat':
: undefined reference to `multibyte_strrchr'
../vfs/libvfs-mc.a(smbfs.o)(.text+0xd41): In function `smbfs_stat':
: undefined reference to `multibyte_strchr'
../vfs/libvfs-mc.a(smbfs.o)(.text+0xd54): In function `smbfs_stat':
: undefined reference to `multibyte_strchr'
../vfs/libvfs-mc.a(smbfs.o)(.text+0xd72): In function `smbfs_stat':
: undefined reference to `safe_strcpy'
../vfs/libvfs-mc.a(smbfs.o)(.text+0xe54): In function `smbfs_stat':
: undefined reference to `safe_strcat'
../vfs/libvfs-mc.a(smbfs.o)(.text+0xe6e): In function `smbfs_stat':
: undefined reference to `multibyte_strchr'
../vfs/libvfs-mc.a(smbfs.o)(.text+0xfd5): In function `smbfs_stat':
: undefined reference to `multibyte_strchr'
../vfs/libvfs-mc.a(smbfs.o)(.text+0xff1): In function `smbfs_stat':
: undefined reference to `multibyte_strchr'
../vfs/libvfs-mc.a(smbfs.o)(.text+0x105e): In function `smbfs_stat':
: undefined reference to `multibyte_strrchr'
../vfs/libvfs-mc.a(smbfs.o)(.text+0x13e0): In function `smbfs_stat':
: undefined reference to `multibyte_strrchr'
../vfs/libvfs-mc.a(smbfs.o)(.text+0x1a47): In function `smbfs_mkdir':
: undefined reference to `_dos_to_unix'
../vfs/libvfs-mc.a(smbfs.o)(.text+0x1b83): In function `smbfs_rmdir':
: undefined reference to `_dos_to_unix'
../vfs/libvfs-mc.a(smbfs.o)(.text+0x1f28): In function `smbfs_open':
: undefined reference to `_dos_to_unix'
../vfs/libvfs-mc.a(smbfs.o)(.text+0x2157): In function `smbfs_open':
: undefined reference to `_dos_to_unix'
../vfs/libvfs-mc.a(smbfs.o)(.text+0x22bb): In function `smbfs_unlink':
: undefined reference to `_dos_to_unix'
../vfs/libvfs-mc.a(smbfs.o)(.text+0x25c0): In function `convert_path':
: undefined reference to `multibyte_strchr'
../vfs/libvfs-mc.a(smbfs.o)(.text+0x25ec): In function `convert_path':
: undefined reference to `multibyte_strchr'
../vfs/libvfs-mc.a(smbfs.o)(.text+0x261c): In function `convert_path':
: undefined reference to `_unix_to_dos'
../vfs/libvfs-mc.a(smbfs.o)(.text+0x262d): In function `convert_path':
: undefined reference to `multibyte_strchr'
../vfs/libvfs-mc.a(smbfs.o)(.text+0x26b2): In function `smbfs_loaddir':
: undefined reference to `multibyte_strchr'
../vfs/libvfs-mc.a(smbfs.o)(.text+0x26e3): In function `smbfs_loaddir':
: undefined reference to `multibyte_strchr'
../vfs/libvfs-mc.a(smbfs.o)(.text+0x2cf0): In function `fake_server_stat':
: undefined reference to `multibyte_strrchr'
../vfs/libvfs-mc.a(smbfs.o)(.text+0x3113): In function `get_stat_info':
: undefined reference to `multibyte_strrchr'
../vfs/libvfs-mc.a(smbfs.o)(.text+0x3183): In function `get_stat_info':
: undefined reference to `multibyte_strrchr'
../vfs/libvfs-mc.a(smbfs.o)(.text+0x319b): In function `get_stat_info':
: undefined reference to `multibyte_strrchr'
../vfs/libvfs-mc.a(smbfs.o)(.text+0x3ae1): In function `smbfs_do_connect':
: undefined reference to `pwd_init'
../vfs/libvfs-mc.a(smbfs.o)(.text+0x406d): In function `smbfs_do_connect':
: undefined reference to `multibyte_strchr'
../vfs/libvfs-mc.a(smbfs.o)(.text+0x417f): In function `browsing_helper':
: undefined reference to `_dos_to_unix'
../vfs/libvfs-mc.a(smbfs.o)(.text+0x435f): In function `loaddir_helper':
: undefined reference to `_dos_to_unix'
../vfs/libvfs-mc.a(smbfs.o)(.text+0x43ca): In function `loaddir_helper':
: undefined reference to `_dos_to_unix'
../vfs/libvfs-mc.a(smbfs.o)(.text+0x4446): In function `server_browsing_helper':
: undefined reference to `_dos_to_unix'
../vfs/libvfs-mc.a(smbfs.o)(.text+0x4559): In function `smbfs_open_link':
: undefined reference to `safe_strcpy'
../vfs/libvfs-mc.a(smbfs.o)(.text+0x47ca): In function `smbfs_open_link':
: undefined reference to `iface_bcast'
../vfs/libvfs-mc.a(smbfs.o)(.text+0x4cec): In function `smbfs_open_link':
: undefined reference to `multibyte_strchr'
../vfs/libvfs-mc.a(smbfs.o)(.text+0x4d19): In function `smbfs_open_link':
: undefined reference to `multibyte_strchr'
../vfs/libvfs-mc.a(smbfs.o)(.text+0x4d3a): In function `smbfs_open_link':
: undefined reference to `safe_strcpy'
../vfs/libvfs-mc.a(smbfs.o)(.text+0x4d4f): In function `smbfs_open_link':
: undefined reference to `multibyte_strchr'
../vfs/libvfs-mc.a(smbfs.o)(.text+0x4dcb): In function `smbfs_open_link':
: undefined reference to `safe_strcpy'
../vfs/libvfs-mc.a(smbfs.o)(.text+0x53a8): In function `chkpath':
: undefined reference to `safe_strcpy'
../vfs/libvfs-mc.a(smbfs.o)(.text+0x53b1): In function `chkpath':
: undefined reference to `_unix_to_dos'
../vfs/libvfs-mc.a(smbfs.o)(.text+0x54c0): In function `chkpath':
: undefined reference to `safe_strcpy'
../vfs/libvfs-mc.a(smbfs.o)(.text+0x5548): In function `chkpath':
: undefined reference to `client_receive_smb'
../vfs/libvfs-mc.a(smbfs.o)(.text+0x55b6): In function `chkpath':
: undefined reference to `client_receive_smb'
collect2: ld returned 1 exit status
make[2]: *** [mc] Error 1
make[2]: Leaving directory `/var/tmp/portage/mc-4.6.0-r3/work/mc-4.6.0/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/mc-4.6.0-r3/work/mc-4.6.0'
make: *** [all] Error 2

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

Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Michal Januszewski (RETIRED) gentoo-dev 2003-09-27 05:11:19 UTC
Ok, since these errors are caused by my patch, I will be working on it (assuming
there is noone already doing so). Before I make a new version of shared-sambalib
for mc it might be a good idea to modify the ebuild so that it would use
static sambalib (http://www.spock.mga.com.pl/public/gentoo/mc-4.6.0-samba.patch.bz2)
with samba >= 3.0.0.
Comment 2 Heinrich Wendel (RETIRED) gentoo-dev 2003-09-27 08:14:30 UTC
would be nice if you could provide a patch for samba 3.x, meanwhile i added
your static patch :)
Comment 3 Michal Januszewski (RETIRED) gentoo-dev 2003-10-11 07:32:04 UTC
OK, the patch is here:
http://www.spock.mga.com.pl/public/gentoo/mc-4.6.0-sambalib-3.0.0.patch.bz2
It makes mc samba 3.0.0-compatible and fixes problems with slow directory
listing and opening too many connections.
Comment 4 Heinrich Wendel (RETIRED) gentoo-dev 2003-10-11 09:06:00 UTC
you rock :)

but the patch fails here, log is attached :/
Comment 5 Heinrich Wendel (RETIRED) gentoo-dev 2003-10-11 09:06:32 UTC
Created attachment 19105 [details]
patch.log
Comment 6 Michal Januszewski (RETIRED) gentoo-dev 2003-10-11 10:51:38 UTC
Add:
  cd ${S} 
just after 'unpack ${P}.tar.gz' in the ebuild and it will work. 
At least, it does work this way on my system :)
Comment 7 Heinrich Wendel (RETIRED) gentoo-dev 2003-10-11 11:03:04 UTC
cool, added as -r4 :)
Comment 8 BlaisorBlade 2004-11-17 14:41:21 UTC
Not resolved, still breaks with mc-4.6.0-r10 and -r11 against samba 3.0.8. Seems like each mc version requires an exact samba version!
Comment 9 BlaisorBlade 2004-11-17 15:14:32 UTC
Not resolved, still breaks with mc-4.6.0-r10 and -r11 against samba 3.0.8. Seems like each mc version requires a certain SAMBA version!
Comment 10 Heinrich Wendel (RETIRED) gentoo-dev 2004-11-18 02:08:56 UTC
well, it seems that each samba version breaks mc, spock maybe you can make a new patch?
Comment 11 Stonki 2004-12-19 21:15:17 UTC
same problem here. As a workaround I installed:
ACCEPT_KEYWORDS="-samba" emerge mc 
Comment 12 Heinrich Wendel (RETIRED) gentoo-dev 2005-02-12 03:37:25 UTC
*** Bug 80453 has been marked as a duplicate of this bug. ***
Comment 13 Heinrich Wendel (RETIRED) gentoo-dev 2005-02-12 03:37:40 UTC
spock: what about an updated patch?
Comment 14 Heinrich Wendel (RETIRED) gentoo-dev 2005-02-12 03:58:15 UTC
it compiles fine here with samba-3.0.10, does it still break for you? attach a log of the merge process please
Comment 15 Heinrich Wendel (RETIRED) gentoo-dev 2005-02-19 12:02:43 UTC
please try again