rpm-5.4.16 snapshot, take 2

Elan Ruusamäe glen at pld-linux.org
Sat Mar 19 09:45:16 CET 2016


On 18.03.2016 09:49, Jeff Johnson wrote:
> I have uploaded another snapshot release that addresses
> all the issues you have reported:
>
> 	rpm-5.4.16-0.20160318.src.rpm

yet another linking error:

/bin/sh ../libtool  --tag=CC   --mode=link ccache gcc -fopenmp -O2 
-fwrapv -pipe -Wformat -Werror=format-security -gdwarf-4 -fn
o-debug-types-section -fvar-tracking-assignments -g2 
-Wp,-D_FORTIFY_SOURCE=2 -fstack-protector-strong --param=ssp-buffer-size=4
  -fPIC -march=x86-64 -gdwarf-4 -fno-debug-types-section 
-fvar-tracking-assignments -g2  -D_GNU_SOURCE -D_REENTRANT -Wl,--as-ne
eded -Wl,--no-copy-dt-needed-entries -Wl,-z,relro -Wl,-z,combreloc -o 
b2sum b2sum.o librpmio.la ../misc/librpmmisc.la  -lacl -
luuid -lossp-uuid -lpcreposix -lpcre -ldl -lm -ldb_sql-5.2 -ldb-5.2 
-lmagic -lsemanage -lsepol -lselinux -lsasl2 -lbeecrypt -ll
zma -lbz2 -lz -lpopt -lpthread  -lelf -lpopt -lz -lsasl2 -lselinux 
-lsepol -lsemanage -lpcre
libtool: link: ccache gcc -fopenmp -O2 -fwrapv -pipe -Wformat 
-Werror=format-security -gdwarf-4 -fno-debug-types-section -fvar-
tracking-assignments -g2 -Wp,-D_FORTIFY_SOURCE=2 
-fstack-protector-strong --param=ssp-buffer-size=4 -fPIC -march=x86-64 
-gdwarf
-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -D_GNU_SOURCE 
-D_REENTRANT -Wl,--as-needed -Wl,--no-copy-dt-needed-entries -Wl,-z 
-Wl,relro -Wl,-z -Wl,combreloc -o .libs/b2sum b2sum.o  
./.libs/librpmio.so -L../lua 
/home/users/glen/rpm/packages/BUILD.x86_64-linux/rpm-5.4.16/misc/.libs/librpmmisc.so 
/usr/lib64/libstdc++.so ../misc/.libs/librpmmisc.so -ldb_sql-5.2 
-ldb-5.2 /usr/lib64/libacl.so /usr/lib64/libattr.so 
/usr/lib64/libuuid.so /usr/lib64/libossp-uuid.so 
/usr/lib64/libpcreposix.so -lm /usr/lib64/libdb_sql-5.2.so 
/usr/lib64/libdb-5.2.so /usr/lib64/libmagic.so /usr/lib64/libbeecrypt.so 
-lrt /usr/lib64/liblzma.so /usr/lib64/libbz2.so -lpthread -lelf 
/usr/lib64/libpopt.so -lz /usr/lib64/libsasl2.so -lcrypt 
/usr/lib64/libpam.so /usr/lib64/libaudit.so -ldl -lselinux -lsepol 
-lsemanage /usr/lib64/libpcre.so -pthread -fopenmp
./.libs/librpmio.so: undefined reference to `va_start'
./.libs/librpmio.so: undefined reference to `va_end'
collect2: error: ld returned 1 exit status
Makefile:1722: recipe for target 'b2sum' failed
make[4]: Leaving directory 
'/home/users/glen/rpm/BUILD/x86_64-linux/rpm-5.4.16/rpmio'

full build log can be obtained from here:
https://srcbuilder.pld-linux.org/th/queue.html#144799

i wish it would be possible to disable building cruft that is not used. 
that is tests (as we do not run tests) and some weird and perhaps 
experimental tools like b2sum. pld intention is not to do some build 
coverage, but just get /bin/rpm compiled and packaged.

and the text fields still contain garbage:

[~/rpm/packages/rpm(5.4.16) (dev-5.4.16)⚡] ➔ rpm -qpi 
rpm-5.4.16-0.20160318.src.rpm|less
Name        : rpm                          Relocations: (not relocatable)
Version     : 5.4.16                            Vendor: (none)
Release     : 0.20160318                    Build Date: R 18 märts 2016 
06:37:34 EET
Install Date: (not installed)            Build Host: hi.jbj.org
Group       : (<82>^H^A                          Source RPM: (none)
Size        : 20865854                         License: LGPLv2
Signature   : RSA/SHA1, R 18 märts 2016 06:37:34 EET, Key ID 
768f85a5ee133bfb
URL         : http://rpm5.org
Summary     : <88><AB>  ^A
Architecture: x86_64
Description :
ȫ       ^A
(END)



-- 
glen



More information about the pld-devel-en mailing list