First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 145667
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: William Hubbs <williamh@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: SpanKY <vapier@gentoo.org>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
sphinx3-0.6-libutil.patch sphinx3-0.6-libutil.patch patch Matteo Azzali 2006-09-17 03:02 0000 139.89 KB Details | Diff
sphinx3-0.6-r1.ebuild sphinx3-0.6-r1.ebuild text/plain Matteo Azzali 2006-09-17 03:08 0000 988 bytes Details
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 145667 depends on: Show dependency tree
Show dependency graph
Bug 145667 blocks: 145550 148179
Votes: 0    Show votes for this bug    Vote for this bug

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: 2006-08-30 19:19 0000
as the summary said, the sphinx3 package is very f-ed up as it installs
/usr/lib/libutil.so thus nuking the standard libutil.so provided by glibc

in the case of poor Felix, his openssh is all screwed up now

------- Comment #1 From SpanKY 2006-08-30 19:33:37 0000 -------
hrm, other problems:
 - the src_unpack is outdated, remove it and dont inherit gnuconfig_update
 - USE=static is completely wrong, remove it (and thus remove src_unpack)

------- Comment #2 From SpanKY 2006-09-08 19:29:25 0000 -------
ive gone ahead and package.mask-ed this due to the severity of the bug

------- Comment #3 From Matteo Azzali 2006-09-15 11:52:09 0000 -------
Some suggestions on how to fix a screwed up system? For now I recreated
the links /usr/lib/libutil.so -> ../../lib/libutil.so.1 and
/usr/lib/libutil.so.0 -> ../../lib/libutil.so.1,

This is enough to start some apps but doesn't fully solves the issue,
(for sure some app are now asking for /usr/lib/libutil.la during
emerge,probably cause some dependancies were built against that trash)
so I tried an "emerge -1 glibc". 

Still is not enough,I did  a row of revdep-rebuild:
"revdep-rebuild --pretend --ignore --library libutil.so"
"revdep-rebuild --pretend --ignore --library libutil.so.0"
"revdep-rebuild --pretend --ignore --library libutil.la"
(probably there was a better way but I was a bit in a hurry)

Discovering that all my kde apps were linked against libutil.so.0 and 
nothing was linked against the other 2.
So I'll end with a:
"revdep-rebuild --library libutil.so.0"

Also, maybe a warning of some kind to anyone using/who emerged  sphinx3 
could be useful.

------- Comment #4 From Matteo Azzali 2006-09-15 12:03:14 0000 -------
ops, sorry , correction, not all my kde packages but just 18 of them, phew....

------- Comment #5 From SpanKY 2006-09-15 14:05:40 0000 -------
read this:
http://bugs.gentoo.org/show_bug.cgi?id=145550#c19

------- Comment #6 From Matteo Azzali 2006-09-16 03:39:31 0000 -------
That's not enough for kde packages linked to /usr/lib/libutil.so.0 cause
this file belongs to sphinx but not to glibc. A:

#rm -f /usr/lib/libutil.so.0 ; revdep-rebuild --library libutil.so.0

fixes all.

------- Comment #7 From Matteo Azzali 2006-09-17 03:02:08 0000 -------
Created an attachment (id=97218) [edit]
sphinx3-0.6-libutil.patch

Raw patch for this issue, ebuild to follow (patch isn't enough)

------- Comment #8 From Matteo Azzali 2006-09-17 03:08:56 0000 -------
Created an attachment (id=97219) [edit]
sphinx3-0.6-r1.ebuild

Ebuild that will emerge the package with /usr/lib/libsphinxutil.* instead.
not tested if sphinx works fine after this intervent (well, it should, please
test).

NOTE: NEEDS to be applied in a sane environment.... if you already have sphinx3
you need to do:

#emerge -C sphinx3 ; emerge -1 glibc ; revdep-rebuild --library libutil.so.0

before emerging new version.

------- Comment #9 From mike daugird 2006-09-29 11:47:10 0000 -------
has anyone considered adding this to portage?
I had this problem break gnupg and it seems silly that an sync done on the 20th
would have given me a known broken ebuild.  

It just seems that even if the patch here wasn't perfect it prevents breaking a
pretty important library....

still the patch hasn't made it to portage.
FWIW 

------- Comment #10 From Jakub Moc (RETIRED) 2006-09-29 13:26:43 0000 -------
*** Bug 149295 has been marked as a duplicate of this bug. ***

------- Comment #11 From William Hubbs 2006-09-30 11:03:18 0000 -------
 am looking at this -- there is a new version of sphinx3 which I am testing
right now.

------- Comment #12 From William Hubbs 2006-09-30 12:12:43 0000 -------
I committed sphinx3-0.6.3 to portage after testing it with colission-protect in
features to be sure it doesn't overwrite anything.

Let me know if I can remove it from package.mask.

------- Comment #13 From SpanKY 2006-09-30 12:43:16 0000 -------
ive cleaned up the 0.6.3 a bit

once you remove the broken ebuilds (aka everything older than 0.6.3) then you
can remove it from p.mask

------- Comment #14 From William Hubbs 2006-09-30 13:37:31 0000 -------
I have removed the old ebuilds and removed this from p.mask.  This bug is being
closed.

------- Comment #15 From Ilya Semenov 2006-11-09 08:43:46 0000 -------
*** Bug 154390 has been marked as a duplicate of this bug. ***

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