Summary: | compiling app-misc/mc fails on samba USE flag | ||
---|---|---|---|
Product: | Gentoo/Alt | Reporter: | Martin Novak <mn> |
Component: | Mac OSX | Assignee: | Gentoo for Mac OS X <ppc-macos> |
Status: | VERIFIED TEST-REQUEST | ||
Severity: | normal | ||
Priority: | High | ||
Version: | unspecified | ||
Hardware: | PPC | ||
OS: | OS X | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 122768 |
Description
Martin Novak
2005-09-14 05:23:10 UTC
I apologize for the first part of message with /usr/lib/charset.alias - it was heritage from custom built mc from some time ago. I compiled it successfuly, and it's running ok. But the issue with some is still there. the charset.alias was removed after bug #71275 so what's left of this bug is the samba support. mc depends on sys-fs/e2fsprogs-1.19, which iirc does not compile on ppc-macos at the moment. (In reply to comment #2) > so what's left of this bug is the samba support. error message was this: if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../intl -I../intl -I.. -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DCONFIGDIR=\""/etc/samba"\" -O3 -pipe -fgcse-sm -funroll-loops -fstrict-aliasing -fsched-interblock -falign-loops=16 -falign-jumps=16 -falign-functions=16 -falign-jumps-max-skip=15 -falign-loops-max-skip=15 -ffast-math -freorder-blocks -freorder-blocks-and-partition -mpowerpc-gpopt -force_cpusubtype_ALL -mcpu=7450 -fPIC -pipe -maltivec -I/usr/include/gssapi -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 smbfs.c:43: smb/includes.h:831:18: error: popt.h: No such file or directory smbfs.c: In function 'smbfs_loaddir': smbfs.c:710: warning: passing argument 2 of 'cli_RNetShareEnum' from incompatible pointer type smbfs.c: In function 'open_read': smbfs.c:1802: warning: dereferencing type-punned pointer will break strict-aliasing rules make[3]: *** [smbfs.o] Error 1 make[2]: *** [all-recursive] Error 1 make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2 !!! ERROR: app-misc/mc-4.6.0-r14 failed. !!! Function src_compile, Line 100, Exitcode 2 > mc depends on sys-fs/e2fsprogs-1.19, which iirc does not compile on ppc-macos at > the moment. sorry that I didn't mention it, but I changed little bit dependencies in such way, so you can compile now even with 7zip: CHANGED: !ppc-macos? ( >=sys-fs/e2fsprogs-1.19 ) ADDED: ppc-macos? ( 7zip? ( >=app-arch/p7zip-4.16 ) ) [ebuild R ] app-misc/mc-4.6.0-r14 +7zip -X (-gpm) -ncurses +nls -pam +samba* -slang +unicode 0 kB Can you attach a patch of your ebuild changes? I can't exactly see what you changed now. Thanks in advance! (In reply to comment #4) > Can you attach a patch of your ebuild changes? I can't exactly see what you > changed now. Thanks in advance! CHANGED: KEYWORDS="alpha amd64 arm hppa ia64 mips ppc ppc64 s390 sparc x86 ~ppc-macos" CHANGED: RDEPEND=" !ppc-macos? ( >=sys-fs/e2fsprogs-1.19 ) ncurses? ( >=sys-libs/ncurses-5.2-r5 ) =dev-libs/glib-2* pam? ( >=sys-libs/pam-0.72 ) gpm? ( >=sys-libs/gpm-1.19.3 ) slang? ( >=sys-libs/slang-1.4.9-r1 ) samba? ( >=net-fs/samba-3.0.0 ) X? ( virtual/x11 ) x86? ( 7zip? ( >=app-arch/p7zip-4.16 ) ) ppc? ( 7zip? ( >=app-arch/p7zip-4.16 ) ) ADDED: ppc-macos? ( 7zip? ( >=app-arch/p7zip-4.16 ) ) amd64? ( 7zip? ( >=app-arch/p7zip-4.16 ) )" ok, I asked for a patch, but I see what you do, and it won't be enough, because the 7zip files will never be extracted. I don't know why 7zip is conditional on a few platforms, but this is insane and IMHO not the right way to enable 7zip for only a few archs. I think the maintainers should have a look at it, as well as that I would like to know if e2fsprogs as a dependency can be safely dropped. Martin: for your information, please use "diff -u original.ebuild new.ebuild" and attach the output if you make a change in the future. Heinrich, I'm including you as maintainer, can you elaborate on the 7zip issue a bit? what is the status on the bug? because i encountered it today on a fresh os install which OS? OSX 10.4.5? IIRC mc isn't keyworded ppc-macos at the moment, right? Please, try with 4.6.1 (the broken samba patch has been dropped there). Anyway, this isn't keyworded for ppc-macos at all. |