First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 108534
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Gentoo Security <security@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Jason Wever (RETIRED) <weeve@gentoo.org>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:
Flags: Requestee:
 
 
  ()

Filename Description Type Creator Created Size Actions
qdbm.patch makeMake is bad patch Daniel Black 2005-10-08 23:45 0000 1.31 KB Details | Diff
qdbm-runpath.patch qdbm-runpath.patch patch SpanKY 2005-10-10 07:36 0000 257 bytes Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 108534 depends on: Show dependency tree
Bug 108534 blocks: 81745

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2005-10-08 14:02 0000
While emerging dev-db/qdbm-1.8.33, portage fails with the following;

making executable: /usr/lib/libjqdbm.so.1.0.0
making executable: /usr/lib/libqdbm.so.11.5.0

QA Notice: the following files contain insecure RUNPATH's
 Please file a bug about this at http://bugs.gentoo.org/
 For more information on this issue, kindly review:
 http://bugs.gentoo.org/81745
/var/tmp/portage/qdbm-1.8.33/work/qdbm-1.8.33/perl/depot/../..:/lib
usr/lib/perl5/site_perl/5.8.7/sparc-linux/auto/Depot/Depot.so
/var/tmp/portage/qdbm-1.8.33/work/qdbm-1.8.33/perl/curia/../..:/lib
usr/lib/perl5/site_perl/5.8.7/sparc-linux/auto/Curia/Curia.so
/var/tmp/portage/qdbm-1.8.33/work/qdbm-1.8.33/perl/villa/../..:/lib
usr/lib/perl5/site_perl/5.8.7/sparc-linux/auto/Villa/Villa.so


!!! ERROR: dev-db/qdbm-1.8.33 failed.
!!! Function dyn_install, Line 1058, Exitcode 0
!!! Insecure binaries detected
!!! If you need support, post the topmost build error, NOT this status message.

------- Comment #1 From Daniel Black 2005-10-08 23:45:06 0000 -------
Created an attachment (id=70203) [edit]
makeMake is bad

------- Comment #2 From Jason Wever (RETIRED) 2005-10-09 00:24:19 0000 -------
This patch WORKSFORME

------- Comment #3 From SpanKY 2005-10-09 02:17:13 0000 -------
i havent looked, but cant you add that var to RUNENV rather than changing every
call to `make` ?

------- Comment #4 From Thierry Carrez (RETIRED) 2005-10-10 01:48:08 0000 -------
hattya, please bump with patch

------- Comment #5 From SpanKY 2005-10-10 07:36:41 0000 -------
Created an attachment (id=70293) [edit]
qdbm-runpath.patch

how about this instead

------- Comment #6 From Thierry Carrez (RETIRED) 2005-10-15 01:25:31 0000 -------
SpanKY: we'll probably have to commit that ourselves as hattya looks kinda MIA.

------- Comment #7 From Akinori Hattori 2005-10-15 02:08:43 0000 -------
Fixed in CVS.

------- Comment #8 From Jason Wever (RETIRED) 2005-10-15 02:12:09 0000 -------
Still broke, same thing as originally posted.

------- Comment #9 From Thierry Carrez (RETIRED) 2005-10-19 01:14:06 0000 -------
Guess we are stuck here. Jason: the first version of the patch was fixing it
for
you ?

------- Comment #10 From Jason Wever (RETIRED) 2005-10-19 14:27:38 0000 -------
Correct, the original patch works for me on the systems where it has been
problema tic.  Some more notes on that;

I have three systems I've been testing this on (x86, amd64 and sparc64).  All
systems are running up to date ~arch systems which are updated on a daily basis
and all have the perl use flag enabled.  The ~x86 and ~sparc64 systems are
running 32 bit userlands where the ~amd64 system is running a 64 bit userland. 
All have pax-utils installed.

The ~amd64 system has not had a single problem with qdbm at all, before and
after the patch.  However both the ~x86 and ~sparc64 systems have had problems
with the unpatched qdbm and the patched version currently in portage.  The first
patch in this bug (cuurrently labeled makeMake is bad), works on those two
systems though.

------- Comment #11 From Thierry Carrez (RETIRED) 2005-10-20 00:32:41 0000 -------
vapier: We'll probably go with the "makeMake is bad" patch if you don't see why
yours failed.

------- Comment #12 From Thierry Carrez (RETIRED) 2005-10-21 08:14:56 0000 -------
hattya: could you apply the "makeMake is bad" patch instead ? Looks like it's
the only one that solves it.

------- Comment #13 From Akinori Hattori 2005-10-24 01:38:58 0000 -------
in CVS.

------- Comment #14 From Thierry Carrez (RETIRED) 2005-10-24 08:09:34 0000 -------
Jason: can you confirm it's ok with the one in CVS ?
hattya: could you revbump the ebuild so that people affected pick up the change
in  normal upgrades ?

------- Comment #15 From Jason Wever (RETIRED) 2005-10-25 16:04:16 0000 -------
The ebuild currently in portage fails in the same fashion.  Also, it appears to
still be using the second patch.  

------- Comment #16 From Thierry Carrez (RETIRED) 2005-10-26 02:59:48 0000 -------
Yes, the patch in CVS looks unchanged.

Hattya, could you please doublecheck and commit the "makemake is bad" attached
patch ?

------- Comment #17 From Akinori Hattori 2005-10-29 04:19:43 0000 -------
Sorry, I forgot to commit...
In CVS now.

------- Comment #18 From Sune Kloppenborg Jeppesen 2005-10-30 00:37:51 0000 -------
Thx Hattya. 
 
Arches please test and mark stable. 

------- Comment #19 From Simon Stelling (RETIRED) 2005-10-30 03:06:50 0000 -------
amd64 stable

------- Comment #20 From Mark Loeser 2005-10-30 13:11:14 0000 -------
x86 done

------- Comment #21 From Jason Wever (RETIRED) 2005-10-30 16:41:15 0000 -------
Stable on SPARC

------- Comment #22 From Bryan Østergaard (RETIRED) 2005-10-31 01:00:11 0000 -------
Alpha stabled.

------- Comment #23 From Brent Baude 2005-10-31 13:01:30 0000 -------
Marked ppc64 stable.

In testing with FEATURES="test" the tests did fail like so:

LD_LIBRARY_PATH=.:/lib:/usr/lib:/var/tmp/portage/homedir/lib:/usr/local/lib 
./cbtest misc
<Miscellaneous Test>

Checking serialization of list ... ok
Checking serialization of map ... ok
Checking string utilities ... ok
Checking encoding utilities ... ok
Checking date utilities ... ./cbtest: W3CDTF formatter is invalid
make: *** [check] Error 1

!!! ERROR: dev-db/qdbm-1.8.33-r2 failed.

Does this warrant any attention?  1.8.30 failed in a similar fashion.  I will
leave ppc64 on the cc and we can discuss or split off to a different bug.

------- Comment #24 From Michael Hanselmann (hansmi) (RETIRED) 2005-10-31 14:42:39 0000 -------
Stable on ppc.

------- Comment #25 From Thierry Carrez (RETIRED) 2005-11-01 01:31:46 0000 -------
Apparently ppc64 stable keyword was lost somewhere along the way.

------- Comment #26 From Brent Baude 2005-11-01 04:21:19 0000 -------
Remarked stable; I dont know what happened.  The above stated test failure
still
exists however.

------- Comment #27 From Thierry Carrez (RETIRED) 2005-11-01 05:09:06 0000 -------
Ready for GLSA.
About the test failure: probably better to open a separate bug about it, since
we'll close this one when the security part will be done.

------- Comment #28 From Thierry Carrez (RETIRED) 2005-11-02 09:19:32 0000 -------
GLSA 200511-02
ia64 should mark stable to benefit from GLSA

First Last Prev Next    No search results available      Search page      Enter new bug