Summary: | app-arch/deltarpm-3.5 - ld: rpmdumpheader.o: undefined reference to symbol 'Fopen' | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Leonid Kopylov <leonchik1976> |
Component: | Current packages | Assignee: | No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it <maintainer-needed> |
Status: | RESOLVED TEST-REQUEST | ||
Severity: | normal | ||
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | AMD64 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | build.log |
Description
Leonid Kopylov
2012-04-12 07:43:25 UTC
app-arch/rpm owns /usr/lib64/librpmio.so.2, so could you try and see if re-emerging that fixes the problem? (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 (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 Please post emerge -pv rpm output (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 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 (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? I have just checked it still builds for me with lua enabled and stable rpm version :-/, have you tried stable rpm version? (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 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" (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 Is your new build.log exactly the same? (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' This looks to be caused by new binutils: http://fedoraproject.org/wiki/UnderstandingDSOLinkChange +*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 |