Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 411701 - app-arch/deltarpm-3.5 - ld: rpmdumpheader.o: undefined reference to symbol 'Fopen'
Summary: app-arch/deltarpm-3.5 - ld: rpmdumpheader.o: undefined reference to symbol 'F...
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-04-12 07:43 UTC by Leonid Kopylov
Modified: 2012-05-15 08:42 UTC (History)
0 users

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


Attachments
build.log (build.log,5.97 KB, text/plain)
2012-04-12 07:43 UTC, Leonid Kopylov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Leonid Kopylov 2012-04-12 07:43:25 UTC
Created attachment 308631 [details]
build.log

make: *** [rpmdumpheader] Error 1
make: *** Waiting for unfinished jobs....
emake failed
 * ERROR: app-arch/deltarpm-3.5 failed (compile phase):
 *   (no error message)
 *
 * Call stack:
 *     ebuild.sh, line  85:  Called src_compile
 *   environment, line 1839:  Called die
 * The specific snippet of code:
 *       emake CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" CC="$(tc-getCC)" || die
 *
 * If you need support, post the output of 'emerge --info =app-arch/deltarpm-3.5',
 * the complete build log and the output of 'emerge -pqv =app-arch/deltarpm-3.5'.
 * The complete build log is located at '/var/tmp/portage/app-arch/deltarpm-3.5/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/app-arch/deltarpm-3.5/temp/environment'.
 * S: '/var/tmp/portage/app-arch/deltarpm-3.5/work/deltarpm-3.5'

>>> Failed to emerge app-arch/deltarpm-3.5, Log file:

>>>  '/var/tmp/portage/app-arch/deltarpm-3.5/temp/build.log'


# emerge -pqv =app-arch/deltarpm-3.5
[ebuild  N    ] app-arch/deltarpm-3.5

# emerge --info =app-arch/deltarpm-3.5
Portage 2.1.10.56 (default/linux/amd64/10.0/desktop/gnome, gcc-4.5.3, glibc-2.14.1-r2, 3.3.1-gentoo x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-3.3.1-gentoo-x86_64-Intel-R-_Core-TM-_i7-2600_CPU_@_3.40GHz-with-gentoo-2.1
Timestamp of tree: Thu, 12 Apr 2012 01:45:01 +0000
ccache version 3.1.7 [disabled]
app-shells/bash:          4.2_p24
dev-java/java-config:     2.1.11-r3
dev-lang/python:          2.7.2-r3, 3.2.2-r1
dev-util/ccache:          3.1.7
dev-util/cmake:           2.8.7-r5
dev-util/pkgconfig:       0.26
sys-apps/baselayout:      2.1
sys-apps/openrc:          0.9.9.3
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.13, 2.68
sys-devel/automake:       1.10.3, 1.11.4
sys-devel/binutils:       2.22-r1
sys-devel/gcc:            4.5.3-r2
sys-devel/gcc-config:     1.6
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r3
sys-kernel/linux-headers: 3.3 (virtual/os-headers)
sys-libs/glibc:           2.14.1-r2
Repositories: gentoo
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA AdobeFlash-10.3 Nero-EULA-US PUEL skype-eula"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe -fomit-frame-pointer"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.4/ext-active/ /etc/php/cgi-php5.4/ext-active/ /etc/php/cli-php5.4/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=native -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs distlocks ebuild-locks fixlafiles news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch xattr"
FFLAGS=""
GENTOO_MIRRORS="http://mirror.isoc.org.il/pub/gentoo/"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en he ru"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.us.gentoo.org/gentoo-portage"
USE="X X509 Xaw3d a52 aac acl acpi all_sfx alsa amd64 athena audit autoipd avahi backgrounds backtrace bash-completion berkdb bittorrent bluetooth bookmarks branding bzip2 cairo call caps ccache cdda cdparanoia cdr cdrom chm cli color colord common-lisp consolekit cracklib crypt cscope cups cxx dbus declarative device-mapper directfb djvu dnd doc dot dri dts dvd dvdr eds emacs emboss encode evo examples exif extensions extra extras fam fax fbcon finger firefox flac fontconfig fortran ftp games gcj gd gdbm gdu geo geoip gif glibc-omitfp gmail gmp gnome gnome-keyring gnome-online-accounts gold google gpm graphics graphite gssapi gstreamer gtk gtk3 hesiod highlight histman hvm iconv icq icu id3 id3tag idn ios ipod irc jadetex java javascript jingle jpeg kde kerberos kpathsea latex lcms ldap libcaca libnotify lm_sensors lua lvm lxde mad mbox mdnsresponder-compat minizip mmx mng modules mono motif mozilla mp3 mp4 mpeg mrim msn mudflap mule multilib multiuser mysql natspec nautilus ncurses neXt net netgroups nethack netlink network network-cron networking networkmanager nfs nis nlpsolver nls nntp nptl nptlonly nsplugin ntfs nvcontrol nvidia objc objc++ objc-gc odbc odk offensive ofono ogg opengl openldap openmp oscar ovftool pam pango parted pcap pcre pdf pdfimport perl pidgin pkcs11 plasma png policykit pop postgres ppds pppd prediction pulseaudio pygrub python qemu qt3support qt4 radius readline remote reports rpc ruby samba sasl scanner science screen script sdk sdl semantic-desktop sendto sensord session skype slp smi sms snmp socialweb sound soup source spell spoof-source sql sqlite sse sse2 ssl startup-notification stats svg symlink sysfs tcl tcpd threads thumbnail thumbnails thunar thunderbird tiff tk tools truetype udev udisks uml unicode usb utils vala vboxwebsrv video vim vim-pager vim-plugin vim-syntax virtualbox vix vkontakte vmware-tools vnc volpack vorbis web webcam webcheck webdav webdav-neon webdav-serf webinterface webkit webpresence wifi wininst winpopup x264 xattr xcb xemacs xface xft xim xinerama xml xmpp xorg xps xulrunner xv xvid xvmc yahoo yahoo-geo yandexdisk yandexnarod 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="kexi words flow plan sheets stage tables krita karbon braindump" 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" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en he ru" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18 ruby19" USERLAND="GNU" VIDEO_CARDS="intel nvidia" 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, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2012-04-12 14:46:24 UTC
app-arch/rpm owns /usr/lib64/librpmio.so.2, so could you try and see if re-emerging that fixes the problem?
Comment 2 Pacho Ramos gentoo-dev 2012-04-16 09:19:36 UTC
(In reply to comment #1)
> app-arch/rpm owns /usr/lib64/librpmio.so.2, so could you try and see if
> re-emerging that fixes the problem?

Please try it as I can neither reproduce
Comment 3 Leonid Kopylov 2012-05-06 05:49:23 UTC
(In reply to comment #2)
> (In reply to comment #1)
> > app-arch/rpm owns /usr/lib64/librpmio.so.2, so could you try and see if
> > re-emerging that fixes the problem?
> 
> Please try it as I can neither reproduce

reemerging rpm doesn't help, the problem still exist - deltarpm failed to emerge
Comment 4 Pacho Ramos gentoo-dev 2012-05-06 10:38:05 UTC
Please post emerge -pv rpm output
Comment 5 Leonid Kopylov 2012-05-06 10:40:02 UTC
(In reply to comment #4)
> Please post emerge -pv rpm output

[ebuild   R    ] app-arch/rpm-4.9.1.2-r2  USE="acl caps doc lua nls python" 0 kB
Comment 6 Pacho Ramos gentoo-dev 2012-05-06 11:09:29 UTC
Try with 4.9.1.2

This are my USEs for rpm:

[ebuild  N     ] app-arch/rpm-4.9.1.2  USE="acl nls -caps -doc -lua -python" 3,419 kB
Comment 7 Leonid Kopylov 2012-05-06 11:29:56 UTC
(In reply to comment #6)
> Try with 4.9.1.2
> 
> This are my USEs for rpm:
> 
> [ebuild  N     ] app-arch/rpm-4.9.1.2  USE="acl nls -caps -doc -lua -python"
> 3,419 kB

after re-emerging rpm with 'lua' USE flag disabled, i successfully emerged deltarpm, and then successfully re-emerged rpm with 'lua' USE flag enabled.

can you see why 'lua' prevents from deltarpm from emerge?
Comment 8 Pacho Ramos gentoo-dev 2012-05-07 10:03:43 UTC
I have just checked it still builds for me with lua enabled and stable rpm version :-/, have you tried stable rpm version?
Comment 9 Leonid Kopylov 2012-05-09 04:41:47 UTC
(In reply to comment #8)
> I have just checked it still builds for me with lua enabled and stable rpm
> version :-/, have you tried stable rpm version?

with stable rpm version the problem is the same
Comment 10 Pacho Ramos gentoo-dev 2012-05-09 07:37:59 UTC
Maybe the problem is in lua itself, try rebuilding it, this is my lua:
[ebuild   R    ] dev-lang/lua-5.1.4-r4  USE="deprecated readline -emacs -static"
Comment 11 Leonid Kopylov 2012-05-09 09:08:27 UTC
(In reply to comment #10)
> Maybe the problem is in lua itself, try rebuilding it, this is my lua:
> [ebuild   R    ] dev-lang/lua-5.1.4-r4  USE="deprecated readline -emacs
> -static"

also doesn't help
Comment 12 Pacho Ramos gentoo-dev 2012-05-11 05:36:06 UTC
Is your new build.log exactly the same?
Comment 13 Leonid Kopylov 2012-05-11 05:54:51 UTC
(In reply to comment #12)
> Is your new build.log exactly the same?

# cat /var/tmp/portage/app-arch/deltarpm-3.5/temp/build.log
 * Package:    app-arch/deltarpm-3.5
 * Repository: gentoo
 * Maintainer: maintainer-needed@gentoo.org
 * USE:        amd64 elibc_glibc kernel_linux multilib userland_GNU
 * FEATURES:   sandbox
>>> Unpacking source...
>>> Unpacking deltarpm-3.5.tar.bz2 to /var/tmp/portage/app-arch/deltarpm-3.5/work
>>> Source unpacked in /var/tmp/portage/app-arch/deltarpm-3.5/work
>>> Preparing source in /var/tmp/portage/app-arch/deltarpm-3.5/work/deltarpm-3.5 ...
 * Applying 3.5-zlib.patch ...                                                                                               [ ok ]
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/app-arch/deltarpm-3.5/work/deltarpm-3.5 ...
>>> Source configured.
>>> Compiling source in /var/tmp/portage/app-arch/deltarpm-3.5/work/deltarpm-3.5 ...
make -j5 'CFLAGS=-march=native -O2 -pipe -fomit-frame-pointer' 'LDFLAGS=-Wl,-O1 -Wl,--as-needed' CC=x86_64-pc-linux-gnu-gcc
x86_64-pc-linux-gnu-gcc -march=native -O2 -pipe -fomit-frame-pointer -DDELTARPM_64BIT -DBSDIFF_NO_SUF -DRPMDUMPHEADER=\"/usr/bin/rpmdumpheader\"  -c -o makedeltarpm.o makedeltarpm.c
x86_64-pc-linux-gnu-gcc -march=native -O2 -pipe -fomit-frame-pointer -DDELTARPM_64BIT -DBSDIFF_NO_SUF -DRPMDUMPHEADER=\"/usr/bin/rpmdumpheader\"  -c -o writedeltarpm.o writedeltarpm.c
x86_64-pc-linux-gnu-gcc -march=native -O2 -pipe -fomit-frame-pointer -DDELTARPM_64BIT -DBSDIFF_NO_SUF -DRPMDUMPHEADER=\"/usr/bin/rpmdumpheader\"  -c -o md5.o md5.c
x86_64-pc-linux-gnu-gcc -march=native -O2 -pipe -fomit-frame-pointer -DDELTARPM_64BIT -DBSDIFF_NO_SUF -DRPMDUMPHEADER=\"/usr/bin/rpmdumpheader\"  -c -o util.o util.c
x86_64-pc-linux-gnu-gcc -march=native -O2 -pipe -fomit-frame-pointer -DDELTARPM_64BIT -DBSDIFF_NO_SUF -DRPMDUMPHEADER=\"/usr/bin/rpmdumpheader\"  -c -o rpml.o rpml.c
x86_64-pc-linux-gnu-gcc -march=native -O2 -pipe -fomit-frame-pointer -DDELTARPM_64BIT -DBSDIFF_NO_SUF -DRPMDUMPHEADER=\"/usr/bin/rpmdumpheader\"  -c -o rpmhead.o rpmhead.c
x86_64-pc-linux-gnu-gcc -march=native -O2 -pipe -fomit-frame-pointer -DDELTARPM_64BIT -DBSDIFF_NO_SUF -DRPMDUMPHEADER=\"/usr/bin/rpmdumpheader\"  -c -o cpio.o cpio.c
x86_64-pc-linux-gnu-gcc -march=native -O2 -pipe -fomit-frame-pointer -DDELTARPM_64BIT -DBSDIFF_NO_SUF -DRPMDUMPHEADER=\"/usr/bin/rpmdumpheader\"  -c -o delta.o delta.c
x86_64-pc-linux-gnu-gcc -march=native -O2 -pipe -fomit-frame-pointer -DDELTARPM_64BIT -DBSDIFF_NO_SUF -DRPMDUMPHEADER=\"/usr/bin/rpmdumpheader\"  -c -o cfile.o cfile.c
x86_64-pc-linux-gnu-gcc -march=native -O2 -pipe -fomit-frame-pointer -DDELTARPM_64BIT -DBSDIFF_NO_SUF -DRPMDUMPHEADER=\"/usr/bin/rpmdumpheader\"  -c -o applydeltarpm.o applydeltarpm.c
x86_64-pc-linux-gnu-gcc -march=native -O2 -pipe -fomit-frame-pointer -DDELTARPM_64BIT -DBSDIFF_NO_SUF -DRPMDUMPHEADER=\"/usr/bin/rpmdumpheader\"  -c -o readdeltarpm.o readdeltarpm.c
x86_64-pc-linux-gnu-gcc -march=native -O2 -pipe -fomit-frame-pointer -DDELTARPM_64BIT -DBSDIFF_NO_SUF -DRPMDUMPHEADER=\"/usr/bin/rpmdumpheader\"  -c -o sha256.o sha256.c
x86_64-pc-linux-gnu-gcc -march=native -O2 -pipe -fomit-frame-pointer -DDELTARPM_64BIT -DBSDIFF_NO_SUF -DRPMDUMPHEADER=\"/usr/bin/rpmdumpheader\"  -c -o prelink.o prelink.c
x86_64-pc-linux-gnu-gcc -march=native -O2 -pipe -fomit-frame-pointer -DDELTARPM_64BIT -DBSDIFF_NO_SUF -DRPMDUMPHEADER=\"/usr/bin/rpmdumpheader\"  -c -o rpmdumpheader.o rpmdumpheader.c
x86_64-pc-linux-gnu-gcc -march=native -O2 -pipe -fomit-frame-pointer -DDELTARPM_64BIT -DBSDIFF_NO_SUF -DRPMDUMPHEADER=\"/usr/bin/rpmdumpheader\"  -c -o makedeltaiso.o makedeltaiso.c
x86_64-pc-linux-gnu-gcc -march=native -O2 -pipe -fomit-frame-pointer -DDELTARPM_64BIT -DBSDIFF_NO_SUF -DRPMDUMPHEADER=\"/usr/bin/rpmdumpheader\"  -c -o rpmoffs.o rpmoffs.c
x86_64-pc-linux-gnu-gcc -march=native -O2 -pipe -fomit-frame-pointer -DDELTARPM_64BIT -DBSDIFF_NO_SUF -DRPMDUMPHEADER=\"/usr/bin/rpmdumpheader\"  -c -o applydeltaiso.o applydeltaiso.c
x86_64-pc-linux-gnu-gcc -march=native -O2 -pipe -fomit-frame-pointer -DDELTARPM_64BIT -DBSDIFF_NO_SUF -DRPMDUMPHEADER=\"/usr/bin/rpmdumpheader\"  -c -o combinedeltarpm.o combinedeltarpm.c
x86_64-pc-linux-gnu-gcc -march=native -O2 -pipe -fomit-frame-pointer -DDELTARPM_64BIT -DBSDIFF_NO_SUF -DRPMDUMPHEADER=\"/usr/bin/rpmdumpheader\"  -c -o fragiso.o fragiso.c
x86_64-pc-linux-gnu-gcc -Wl,-O1 -Wl,--as-needed  makedeltarpm.o writedeltarpm.o md5.o util.o rpml.o rpmhead.o cpio.o delta.o cfile.o  -lbz2 -lz -llzma -o makedeltarpm
x86_64-pc-linux-gnu-gcc -Wl,-O1 -Wl,--as-needed rpmdumpheader.o -lrpm -o rpmdumpheader
x86_64-pc-linux-gnu-gcc -Wl,-O1 -Wl,--as-needed  makedeltaiso.o delta.o rpmoffs.o rpmhead.o util.o md5.o cfile.o  -lbz2 -lz -llzma -o makedeltaiso
fragiso.c: In function גfillג:
fragiso.c:1169:12: warning: ignoring return value of גwriteג, declared with attribute warn_unused_result
/usr/lib/gcc/x86_64-pc-linux-gnu/4.5.3/../../../../x86_64-pc-linux-gnu/bin/ld: rpmdumpheader.o: undefined reference to symbol 'Fopen'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.5.3/../../../../x86_64-pc-linux-gnu/bin/ld: note: 'Fopen' is defined in DSO /usr/lib64//librpmio.so.2 so try adding it to the linker command line
/usr/lib64//librpmio.so.2: could not read symbols: Invalid operation
collect2: ld returned 1 exit status
make: *** [rpmdumpheader] Error 1
make: *** Waiting for unfinished jobs....
emake failed
 * ERROR: app-arch/deltarpm-3.5 failed (compile phase):
 *   (no error message)
 *
 * Call stack:
 *     ebuild.sh, line  85:  Called src_compile
 *   environment, line 1865:  Called die
 * The specific snippet of code:
 *       emake CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" CC="$(tc-getCC)" || die
 *
 * If you need support, post the output of `emerge --info '=app-arch/deltarpm-3.5'`,
 * the complete build log and the output of `emerge -pqv '=app-arch/deltarpm-3.5'`.
 * The complete build log is located at '/var/tmp/portage/app-arch/deltarpm-3.5/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/app-arch/deltarpm-3.5/temp/environment'.
 * Working directory: '/var/tmp/portage/app-arch/deltarpm-3.5/work/deltarpm-3.5'
 * S: '/var/tmp/portage/app-arch/deltarpm-3.5/work/deltarpm-3.5'
Comment 14 Pacho Ramos gentoo-dev 2012-05-11 06:10:56 UTC
This looks to be caused by new binutils:
http://fedoraproject.org/wiki/UnderstandingDSOLinkChange
Comment 15 Pacho Ramos gentoo-dev 2012-05-15 08:42:29 UTC
+*deltarpm-3.6_pre20110223 (15 May 2012)
+
+  15 May 2012; Pacho Ramos <pacho@gentoo.org> +deltarpm-3.6_pre20110223.ebuild,
+  +files/3.6_pre20110223-build.patch, -deltarpm-3.5.ebuild:
+  Version bump (using Fedora snapshot) and remove old. Thanks a lot to Alon Bar-
+  Lev for his help (#396067).
+

Please retry with that new version