Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 376101 - dev-libs/xmlrpc-c-1.18.02 will not compile against curl-7.21.7-r2
Summary: dev-libs/xmlrpc-c-1.18.02 will not compile against curl-7.21.7-r2
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Peter Alfredsen (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: curl-7.21.7
  Show dependency tree
 
Reported: 2011-07-23 13:19 UTC by Billy DeVincentis
Modified: 2011-07-25 10:21 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Billy DeVincentis 2011-07-23 13:19:58 UTC
utf8.c:282:25: warning: format '%u' expects argument of type 'unsigned int', but argument 4 has type 'size_t' [-Wformat]
utf8.c:282:25: warning: format '%u' expects argument of type 'unsigned int', but argument 5 has type 'long unsigned int' [-Wformat]
make[2]: Leaving directory `/var/tmp/portage/dev-libs/xmlrpc-c-1.18.02/work/xmlrpc-c-1.18.02/lib/util'
curlmulti.c:22:24: fatal error: curl/types.h: No such file or directory
compilation terminated.
ar cru libxmlrpc_util.a asprintf.o error.o make_printable.o memblock.o select.o sleep.o time.o utf8.o
make[2]: *** [curlmulti.o] Error 1
make[2]: *** Waiting for unfinished jobs....
ranlib libxmlrpc_util.a
curltransaction.c:20:24: fatal error: curl/types.h: No such file or directory
compilation terminated.
make[2]: *** [curltransaction.o] Error 1
curlmulti.c:22:24: fatal error: curl/types.h: No such file or directory
compilation terminated.
make[2]: *** [curlmulti.osh] Error 1
curltransaction.c:20:24: fatal error: curl/types.h: No such file or directory
compilation terminated.
make[2]: *** [curltransaction.osh] Error 1
xmlrpc_curl_transport.c:88:24: fatal error: curl/types.h: No such file or directory
compilation terminated.
make[2]: *** [xmlrpc_curl_transport.osh] Error 1
make[2]: Leaving directory `/var/tmp/portage/dev-libs/xmlrpc-c-1.18.02/work/xmlrpc-c-1.18.02/lib/curl_transport'
make[1]: *** [curl_transport/all] Error 2
make[1]: *** Waiting for unfinished jobs....
x86_64-pc-linux-gnu-gcc -Wl,-O1 -Wl,--as-needed -shared -Wl,-soname,libxmlrpc_util.so.3  asprintf.osh error.osh make_printable.osh memblock.osh select.osh sleep.osh time.osh utf8.osh   -o libxmlrpc_util.so.3.18  
rm -f libxmlrpc_util.so
ln -s libxmlrpc_util.so.3.18 libxmlrpc_util.so
make[2]: Leaving directory `/var/tmp/portage/dev-libs/xmlrpc-c-1.18.02/work/xmlrpc-c-1.18.02/lib/libutil'
make[1]: Leaving directory `/var/tmp/portage/dev-libs/xmlrpc-c-1.18.02/work/xmlrpc-c-1.18.02/lib'
make: *** [lib/all] Error 2
emake failed
 * ERROR: dev-libs/xmlrpc-c-1.18.02 failed (compile phase):
 *   Compiling failed
 * 
 * Call stack:
 *     ebuild.sh, line  56:  Called src_compile
 *   environment, line 2308:  Called die
 * The specific snippet of code:
 *       emake -r || die "Compiling failed"
 * 
 * If you need support, post the output of 'emerge --info =dev-libs/xmlrpc-c-1.18.02',
 * the complete build log and the output of 'emerge -pqv =dev-libs/xmlrpc-c-1.18.02'.
 * The complete build log is located at '/var/tmp/portage/dev-libs/xmlrpc-c-1.18.02/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-libs/xmlrpc-c-1.18.02/temp/environment'.
 * S: '/var/tmp/portage/dev-libs/xmlrpc-c-1.18.02/work/xmlrpc-c-1.18.02'

>>> Failed to emerge dev-libs/xmlrpc-c-1.18.02, Log file:

>>>  '/var/tmp/portage/dev-libs/xmlrpc-c-1.18.02/temp/build.log'
 * 
 * The following package has failed to build or install:
 * 
 *  (dev-libs/xmlrpc-c-1.18.02::gentoo, ebuild scheduled for merge), Log file:
 *   '/var/tmp/portage/dev-libs/xmlrpc-c-1.18.02/temp/build.log'
 * 
Linux1 ~ # 


Reproducible: Always




Linux1 ~ # emerge --info
Portage 2.2.0_alpha46 (default/linux/amd64/10.0/desktop, gcc-4.6.1, glibc-2.13-r4, 2.6.39-gentoo-r3 x86_64)
=================================================================
System uname: Linux-2.6.39-gentoo-r3-x86_64-Intel-R-_Core-TM-_i7-2600K_CPU_@_3.40GHz-with-gentoo-2.0.3
Timestamp of tree: Fri, 22 Jul 2011 08:30:01 +0000
app-shells/bash:          4.2_p10
dev-java/java-config:     2.1.11-r3
dev-lang/python:          2.7.2, 3.2
dev-util/cmake:           2.8.5-r2
dev-util/pkgconfig:       0.26
sys-apps/baselayout:      2.0.3
sys-apps/openrc:          0.8.3-r1
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.13, 2.68
sys-devel/automake:       1.6.3-r1, 1.9.6-r3, 1.10.3, 1.11.1-r1
sys-devel/binutils:       2.21.1
sys-devel/gcc:            4.6.1
sys-devel/gcc-config:     1.4.1-r1
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82-r1
sys-kernel/linux-headers: 2.6.38 (virtual/os-headers)
sys-libs/glibc:           2.13-r4
Repositories: gentoo miscellaneous
Installed sets: @system
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /var/bind"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=native -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--keep-going"
FEATURES="assume-digests binpkg-logs buildpkg distlocks ebuild-locks fixlafiles fixpackages news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_US.utf8"
LC_ALL="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j17 -l24"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
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="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/miscellaneous"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow X a52 aac aalib accessibility acl acpi aften alsa amd64 animate archive ares artworkextra audio audiofile avahi bash-completion beep berkdb bidi bittorrent bluetooth bookmarks branding bzip2 cairo cdda cddb cdio cdr chm cli clucene consolekit corefonts cpudetection cracklib crypt css cups curl cxx dbus declarative deprecated designer-plugin device-mapper dga directfb discouraged doc dri dts dv dvb dvd dvdnav dvdr ebook eds elisp emacs emboss emerald encode esd eselect examples exif expat extra-tools extras fam fat fax fbcon fbcondecor ffmpeg firefox flac flash fltk fontconfig foomaticdb fortran ftp fts3 fuse gcj gd gdbm gdu ggi gif gimp glep glib gnome gnutls gphoto2 gpm gstreamer gtk handbook hddtemp hfs hpijs html httpd hwdb hyperestraier iconv idn imagemagick imlib inkjar inotify ipv6 jack jadetex java jfs joystick jpeg jpeg2k kde kdrive kerberos konqueror lame lcms ldap libcaca libnotify libsamplerate lirc live lm_sensors mad mail matroska md5sum mdnsresponder-compat mikmod mime mjpeg mmx mmxext mng modules mono mozilla mp3 mp4 mpeg mplayer mudflap multilib musepack musicbrainz mysql nas nautilus ncurses networking new-login nls npp nptl nptlonly nsplugin ntfs objc odbc offensive ogg openal openexr opengl openmp osdmenu pam pango pcre pdf perl plasma png policykit postgres ppds pppd ps pulseaudio python qt3support qt4 quicktime raptor rar rdesktop readline realmedia reflection regex reiser4 reiserfs reports samba sametime scanner script sdl secure-delete semantic-desktop servletapi session sip skins slang slp smbclient smp sndfile snmp sound speech speex spell sql sqlite sse sse2 ssl startup-notification static-ppds stream subversion svg swat sysfs syslog tcpd templates themes theora threads thumbnail tidy tiff timidity tk tools truetype udev unicode unsupported usb utils v4l2 vcd vdpau vdr video vlm vorbis wav wavpack weather webkit wmf x264 xattr xcb xcomposite xfs xine xml xorg xpm xscreensaver xulrunner xv xvid xvmc zeroconf zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" 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 cgi cgid 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" CALLIGRA_FEATURES="braindump flow karbon kexi kpresenter krita tables words" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="evdev joystick keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="fbdev nvidia nv vesa" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" 
Unset:  CPPFLAGS, CTARGET, INSTALL_MASK, LINGUAS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

Linux1 ~ #
Comment 1 Sander Sweers 2011-07-24 10:57:57 UTC
The below will sort this out. Will likely also be needed for earlier versions.
--- /usr/portage/dev-libs/xmlrpc-c/xmlrpc-c-1.18.02.ebuild	2010-12-14 04:46:30.000000000 +0100
+++ /usr/local/mine/dev-libs/xmlrpc-c/xmlrpc-c-1.18.02.ebuild	2011-07-24 12:54:30.008993989 +0200
@@ -48,6 +48,11 @@
 		-e "/CFLAGS_COMMON/s|-g -O3$|${CFLAGS}|" \
 		-e "/CXXFLAGS_COMMON/s|-g$|${CXXFLAGS}|" \
 		"${S}"/common.mk || die "404. File not found while sedding"
+	#fix bug 376101
+	sed -e '/#include <curl\/types.h>/d' \
+		-i "${S}/lib/curl_transport/curltransaction.c" \
+		-i "${S}/lib/curl_transport/curlmulti.c" \
+		-i "${S}/lib/curl_transport/xmlrpc_curl_transport.c" || die "sed failed"
 }
 
 src_configure() {
Comment 2 Billy DeVincentis 2011-07-24 16:03:43 UTC
Works perfectly.
Thanks
Comment 3 Christoph Mende (RETIRED) gentoo-dev 2011-07-25 10:21:14 UTC
Fixed using a patch.
Peter, please send this patch upstream.