Hej,

I am having some strange problems with distcc. Specifically a few packages won't install if distcc-default is installed. Let me explain this in details:

I'm in the midst of a "fink update-all" and gettext-tools among others has to be updated. The update fails with this error:

gcc -c -DLOCALEDIR=\"/sw/share/locale\" -DLOCALE_ALIAS_PATH=\"/sw/ share/locale\" -DLIBDIR=\"/sw/lib\" -DIN_LIBINTL - DENABLE_RELOCATABLE=1 -DIN_LIBRARY -DINSTALLDIR=\"/sw/lib\" - DNO_XMALLOC -Dset_relocation_prefix=libintl_set_relocation_prefix - Drelocate=libintl_relocate -DDEPENDS_ON_LIBICONV=1 -DHAVE_CONFIG_H - I. -I../../gettext-runtime/intl -I.. -I/sw/include -I/System/ Library/Frameworks/CoreFoundation.framework/Headers -g -O2 ../../ gettext-runtime/intl/langprefs.c -fno-common -DPIC -o .libs/ langprefs.o distcc[6250] ERROR: compile /sw/var/ccache/langprefs.tmp.Henriks- PowerBook-G3.local.6246.i on hnhemac failed ../../gettext-runtime/intl/langprefs.c: In function '_nl_language_preferences_default': ../../gettext-runtime/intl/langprefs.c:55: error: built-in function `__builtin___CFStringMakeConstantString' requires `-fconstant- cfstrings' flag
make[2]: *** [langprefs.lo] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
### execution of cd failed, exit code 2
Removing build lock...
/sw/bin/dpkg-lockwait -r fink-buildlock-gettext-tools-0.14.5-3
(Reading database ... 7906 files and directories currently installed.)
Removing fink-buildlock-gettext-tools-0.14.5-3 ...
Failed: phase compiling: gettext-tools-0.14.5-3 failed



There are 2 computers involved:
- Henriks-PowerBook-G3, system 10.3.9, fink unstable 0.24.11/0.7.2.rsync. This computer is being updated. It has distcc- default installed. - hnhemac, system 10.4.4, fink unstable 0.24.11/0.8.0.rsync. This computer is running distccd as installed via fink.

OK, someone might object that the 2 machines are running different OS- versions, compiler-versions, fink-versions and have different CPUs ! But, believe me - it should work. See also http://distcc.samba.org/.

And, no I have not changed "#MAKEFLAGS=-j4 ".

I should mention that I have in fact successfully installed several other packages using distcc-default.

But, I'll change the configuration parameter for which hosts to use in /sw/etc/distcc.conf to read:
DISTCC_HOSTS='localhost'

I'll run "fink install gettext-tools" and the update fails with:


gcc -dynamiclib -o .libs/libintl.3.4.3.dylib .libs/ bindtextdom.o .libs/dcgettext.o .libs/dgettext.o .libs/ gettext.o .libs/finddomain.o .libs/loadmsgcat.o .libs/ localealias.o .libs/textdomain.o .libs/l10nflist.o .libs/ explodename.o .libs/dcigettext.o .libs/dcngettext.o .libs/ dngettext.o .libs/ngettext.o .libs/plural.o .libs/plural- exp.o .libs/localcharset.o .libs/relocatable.o .libs/ langprefs.o .libs/localename.o .libs/log.o .libs/printf.o .libs/ osdep.o .libs/intl-compat.o -L/sw/lib /sw/lib/libiconv.dylib -lc - Wl,-framework -Wl,CoreFoundation -install_name /sw/lib/libintl. 3.dylib -Wl,-compatibility_version -Wl,8 -Wl,-current_version -Wl,8.3 ld: warning -dylib_install_name /sw/lib/libintl.3.dylib not found in segment address table LD_SEG_ADDR_TABLE /sw/var/lib/fink/ prebound/seg_addr_table
ld: warning multiple definitions of symbol _locale_charset
.libs/localcharset.o definition of _locale_charset in section (__TEXT,__text)
/sw/lib/libiconv.dylib(localcharset.o) definition of _locale_charset
ld: .libs/dcigettext.o r_type field of relocation entry 102 in section (__TEXT,__text) invalid ld: .libs/dcigettext.o stray relocation PPC_RELOC_PAIR entry (103) in section (__TEXT,__text) ld: .libs/dcigettext.o r_type field of relocation entry 104 in section (__TEXT,__text) invalid ld: .libs/dcigettext.o stray relocation PPC_RELOC_PAIR entry (105) in section (__TEXT,__text) ld: .libs/dcigettext.o r_type field of relocation entry 106 in section (__TEXT,__text) invalid ld: .libs/dcigettext.o stray relocation PPC_RELOC_PAIR entry (107) in section (__TEXT,__text)

repated hundreds of times

ld: .libs/plural.o stray relocation PPC_RELOC_PAIR entry (332) in section (__TEXT,__text) ld: .libs/plural.o r_type field of relocation entry 333 in section (__TEXT,__text) invalid ld: .libs/plural.o stray relocation PPC_RELOC_PAIR entry (334) in section (__TEXT,__text) ld: .libs/plural.o r_type field of relocation entry 335 in section (__TEXT,__text) invalid ld: .libs/plural.o stray relocation PPC_RELOC_PAIR entry (336) in section (__TEXT,__text)
distcc[22350] ERROR: compile (null) on localhost failed
make[2]: *** [libintl.la] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
### execution of cd failed, exit code 2
Removing build lock...
/sw/bin/dpkg-lockwait -r fink-buildlock-gettext-tools-0.14.5-3
(Reading database ... 7906 files and directories currently installed.)
Removing fink-buildlock-gettext-tools-0.14.5-3 ...
Failed: phase compiling: gettext-tools-0.14.5-3 failed


So I'll "fink uninstall distcc-default" and run "fink install gettext- tools" again - and this time it works.


My questions is:  why does this problem appear ?

I've mostly seen it in relation to "fink update-all" but I have never before gotten around to reporting it before. Sadly I can't remember any details. I have the complete installation logs for the above session, if anyone is interested.

Lastly: the same problem occurs again with "fink install popt- shlibs" - so if someone got an idea they'd like to try then I'm game.


Regards,

Henrik Nørgaard Hansen

-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid3432&bid#0486&dat1642
_______________________________________________
Fink-users mailing list
Fink-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to