Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 281588 - dev-libs/xmlrpc-c-1.18.02 fails to build
Summary: dev-libs/xmlrpc-c-1.18.02 fails to build
Status: RESOLVED FIXED
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: Prefix Support (show other bugs)
Hardware: x86 OS X
: High normal (vote)
Assignee: Gentoo Prefix
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-08-15 14:50 UTC by Rachel Greenham
Modified: 2009-09-25 17:15 UTC (History)
2 users (show)

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


Attachments
build.log (build.log,156.80 KB, text/plain)
2009-09-05 16:06 UTC, Jacob Godserv
Details
Patch against current svn to fix this issue at least for OSX. (xmlrpc-c-1.18.02-cpp-compile-fix.patch,1.40 KB, patch)
2009-09-21 13:53 UTC, Heiko
Details | Diff
Fix darwin install_name things. Works on OSX.6.1 (xmlrpc-c-1.18.02-darwin-install_name-fix.patch,570 bytes, patch)
2009-09-21 14:14 UTC, Heiko
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Rachel Greenham 2009-08-15 14:50:54 UTC
When installing (as a dependency of cdrkit) xmlrpc-c fails during build with:

i686-apple-darwin9-g++  -dynamiclib -undefined suppress -single_module -flat_namespace     -o libxmlrpc_server_cgi++.5.18.dylib  
i686-apple-darwin9-g++: no input files
make[2]: *** [libxmlrpc_server_cgi++.5.18.dylib] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory `/Users/rachel/Library/gentoo/var/tmp/portage/dev-libs/xmlrpc-c-1.18.02/work/xmlrpc-c-1.18.02/src/cpp'
make[1]: *** [cpp/all] Error 2
make[1]: Leaving directory `/Users/rachel/Library/gentoo/var/tmp/portage/dev-libs/xmlrpc-c-1.18.02/work/xmlrpc-c-1.18.02/src'
make: *** [src/all] Error 2
 * ERROR: dev-libs/xmlrpc-c-1.18.02 failed:
 *   Compiling failed
 * 
 * Call stack:
 *               ebuild.sh:  64: <call call-ebuildshell 'src_compile'>
 *             environment: 421: <call src_compile>
 *             environment:2449:     emake -r || die "Compiling failed"


Reproducible: Always

Steps to Reproduce:
1. emerge cdrkit
2.
3.

Actual Results:  
Dependency xmlrpc-c-1.18.02 fails to build

Expected Results:  
xmlrpc-c should build, and the emerge of cdrkit should proceed. :-)

Portage 2.2.00.13878-prefix (prefix/darwin/macos/10.5/x86, gcc-4.2.1, unavailable, 9.8.0 i386)
=================================================================
System uname: Darwin-9.8.0-i386-32bit
Timestamp of tree: Sat, 15 Aug 2009 11:32:39 +0000
distcc 2.18.5-Apple.1 i386-apple-darwin9.0 (protocols 1 and 2) (default port 3632) [disabled]
app-shells/bash:     4.0_p28
dev-lang/python:     2.6.2-r01.1
sys-devel/autoconf:  2.63-r01.1
sys-devel/automake:  1.10.2-r00.1, 1.11
sys-devel/gcc-config: 1.4.1-r00.2
sys-devel/libtool:   2.2.6a-r00.1
ACCEPT_KEYWORDS="~x86-macos"
CBUILD="i686-apple-darwin9"
CFLAGS="-O2 -pipe -march=nocona"
CHOST="i686-apple-darwin9"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-O2 -pipe -march=nocona"
DISTDIR="/Users/rachel/Library/gentoo/usr/portage/distfiles"
FEATURES="assume-digests collision-protect distlocks fixpackages nostrip parallel-fetch preserve-libs protect-owned sfperms strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LDFLAGS=""
MAKEOPTS="-j 3"
PKGDIR="/Users/rachel/Library/gentoo/usr/portage/packages"
PORTAGE_CONFIGROOT="/Users/rachel/Library/gentoo/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/Users/rachel/Library/gentoo/var/tmp"
PORTDIR="/Users/rachel/Library/gentoo/usr/portage"
SYNC="rsync://rsync.prefix.freens.org/gentoo-portage-prefix"
USE="aqua bash-completion coreaudio cracklib mmx mmxext ncurses nls objc objc++ pcre perl prefix python readline sse sse2 ssl unicode vim-syntax x86-macos zlib" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="Darwin" INPUT_DEVICES="keyboard mouse" KERNEL="Darwin" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 1 Jacob Godserv 2009-09-05 16:06:00 UTC
Created attachment 203203 [details]
build.log
Comment 2 Jacob Godserv 2009-09-05 16:06:20 UTC
$ emerge --info
Portage 2.2.00.14183-prefix (prefix/darwin/macos/10.5/x86, gcc-4.2.1, unavailable, 9.8.0 i386)
=================================================================
System uname: Darwin-9.8.0-i386-32bit
Timestamp of tree: Sat, 05 Sep 2009 13:46:59 +0000
distcc 2.18.5-Apple.1 i386-apple-darwin9.0 (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.4 [enabled]
app-shells/bash:     4.0_p28-r00.1
dev-lang/python:     2.6.2-r01.1
dev-python/pycrypto: 2.0.1-r8
dev-util/ccache:     2.4-r8
sys-devel/autoconf:  2.63-r01.1
sys-devel/automake:  1.9.6-r2, 1.10.2-r00.1, 1.11
sys-devel/gcc-config: 1.4.1-r00.2
sys-devel/libtool:   2.2.6a-r00.1
ACCEPT_KEYWORDS="~x86-macos"
CBUILD="i686-apple-darwin9"
CFLAGS="-O2 -pipe -march=nocona -msse4.1"
CHOST="i686-apple-darwin9"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-O2 -pipe -march=nocona -msse4.1"
DISTDIR="/Users/jacob/Library/Gentoo_x86/usr/portage/distfiles"
FEATURES="assume-digests ccache collision-protect distlocks fixpackages nostrip parallel-fetch preserve-libs protect-owned sfperms strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="en_US.UTF-8"
LDFLAGS=""
LINGUAS="en"
MAKEOPTS="-j3"
PKGDIR="/Users/jacob/Library/Gentoo_x86/usr/portage/packages"
PORTAGE_CONFIGROOT="/Users/jacob/Library/Gentoo_x86/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/Users/jacob/Library/Gentoo_x86/var/tmp"
PORTDIR="/Users/jacob/Library/Gentoo_x86/usr/portage"
PORTDIR_OVERLAY="/Users/jacob/Library/Gentoo_x86/usr/local/portage"
SYNC="rsync://rsync.prefix.freens.org/gentoo-portage-prefix"
USE="a52 aac aqua bash-completion cjk coreaudio cracklib divx encode faac jabber mmx mmxext mp3 msn ncurses objc objc++ prefix readline sse sse2 ssl theora unicode x264 x86-macos xulrunner xvid yahoo zlib" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="Darwin" INPUT_DEVICES="keyboard mouse" KERNEL="Darwin" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en" USERLAND="GNU"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 3 Jacob Godserv 2009-09-06 19:38:54 UTC
A workaround is to build with USE="-cxx". Thanks heiko (on #gentoo-prefix)!
Comment 4 Jacob Godserv 2009-09-06 19:40:30 UTC
Actually, heiko_
Comment 5 Rachel Greenham 2009-09-06 20:27:16 UTC
(In reply to comment #3)
> A workaround is to build with USE="-cxx". Thanks heiko (on #gentoo-prefix)!
> 

Hm, I'm pretty sure I tried that...

I'll have to reinstall prefix and try that again. I ditched it when I installed Snow Leopard (and a routine upgrade was failing).
Comment 6 Heiko 2009-09-21 13:52:34 UTC
I've done a fix so that USE=cxx will work. Tested on OSX.6.1. Still needs manual fixing for library install_names.

Comment 7 Heiko 2009-09-21 13:53:03 UTC
Created attachment 204819 [details, diff]
Patch against current svn to fix this issue at least for OSX.
Comment 8 Heiko 2009-09-21 14:14:04 UTC
Created attachment 204820 [details, diff]
Fix darwin install_name things. Works on OSX.6.1
Comment 9 Fabian Groffen gentoo-dev 2009-09-25 17:15:43 UTC
both patches applied, thanks a lot!