Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20120216183054.GA17261@albatros>
Date: Thu, 16 Feb 2012 22:30:54 +0400
From: Vasiliy Kulikov <segoon@...nwall.com>
To: owl-dev@...ts.openwall.com
Subject: Re: glibc update: rpm && coreutils

Hi,

I'm trying to fix all our software that fails to build with glibc 2.14.1.
Only two packages left: rpm and coreutils.

1) As for rpm, the error log is as follows:

gcc -g -O2 -D_GNU_SOURCE -D_REENTRANT -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wno-char-subscripts -o .libs/
rpmcache rpmcache.o  ../rpmio/.libs/librpmio.so -lrt -lpthread -L/usr/src/world/rpm-work-1/BUILD/rpm-4.2/zlib -L/usr/local/lib -lbz
2
rpmcache.o: In function `cmpItem':
/usr/src/world/rpm-work-1/BUILD/rpm-4.2/tools/rpmcache.c:70: undefined reference to `rpmdsN'
/usr/src/world/rpm-work-1/BUILD/rpm-4.2/tools/rpmcache.c:70: undefined reference to `rpmdsN'
rpmcache.o: In function `ftsStashLatest':
/usr/src/world/rpm-work-1/BUILD/rpm-4.2/tools/rpmcache.c:286: undefined reference to `rpmdsFree'
/usr/src/world/rpm-work-1/BUILD/rpm-4.2/tools/rpmcache.c:203: undefined reference to `rpmReadPackageFile'
rpmcache.o: In function `archOkay':
/usr/src/world/rpm-work-1/BUILD/rpm-4.2/tools/rpmcache.c:169: undefined reference to `rpmMachineScore'
rpmcache.o: In function `osOkay':
/usr/src/world/rpm-work-1/BUILD/rpm-4.2/tools/rpmcache.c:178: undefined reference to `rpmMachineScore'
rpmcache.o: In function `ftsStashLatest':
/usr/src/world/rpm-work-1/BUILD/rpm-4.2/tools/rpmcache.c:219: undefined reference to `rpmdsThis'
/usr/src/world/rpm-work-1/BUILD/rpm-4.2/tools/rpmcache.c:236: undefined reference to `rpmdsCompare'
/usr/src/world/rpm-work-1/BUILD/rpm-4.2/tools/rpmcache.c:272: undefined reference to `rpmdsThis'
rpmcache.o: In function `freeItem':
/usr/src/world/rpm-work-1/BUILD/rpm-4.2/tools/rpmcache.c:55: undefined reference to `rpmdsFree'
...

It is fixable with plenty of

xxx_LDADD = smth.la smth2.la -lxxx -lyyy ...

in Makefile.am, but probably there is a more simple way to fix that?
The fix in upstream is:

http://www.rpm.org/attachment/ticket/107/fix-linkage.patch


2) Coreutils outputs strange error on 'make check':

make[4]: Leaving directory `/usr/src/world/rpm-work-1/BUILD/coreutils-5.97/tests/expr'
make[3]: Leaving directory `/usr/src/world/rpm-work-1/BUILD/coreutils-5.97/tests/expr'
Making check in factor
make[3]: Entering directory `/usr/src/world/rpm-work-1/BUILD/coreutils-5.97/tests/factor'
/usr/bin/make  check-TESTS
make[4]: Entering directory `/usr/src/world/rpm-work-1/BUILD/coreutils-5.97/tests/factor'
-: test z: stderr mismatch, comparing z.E (actual) and z.1 (expected)
*** z.E Thu Feb 16 10:13:03 2012
--- z.1 Thu Feb 16 10:13:03 2012
***************
*** 1,2 ****
! factor: invalid option -- '1'
  Try `factor --help' for more information.
--- 1,2 ----
! factor: invalid option -- 1
  Try `factor --help' for more information.
FAIL: basic
======================================
1 of 1 tests failed
Please report to bug-coreutils@....org
======================================
make[4]: *** [check-TESTS] Error 1


I didn't investigate it in details, probably someone has already faced with
this problem?

Thanks,

-- 
Vasiliy

Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.