Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 58161
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Gentoo's Team for Core System packages <base-system@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Stefan Briesenick <sbriesen@gentoo.org>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
info emerge info text/plain Stefan Briesenick 2004-07-24 04:46 0000 2.88 KB Details
fam-2.7.0-r1.ebuild fam-2.7.0-r1.ebuild text/plain Stefan Briesenick 2004-07-24 05:49 0000 2.29 KB Details
fam-2.7.0-r1.ebuild.patch fam-2.7.0-r1.ebuild.patch patch Stefan Briesenick 2004-07-24 05:51 0000 3.39 KB Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 58161 depends on: Show dependency tree
Bug 58161 blocks:
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: 2004-07-24 04:45 0000
emerge fam on one of my machines produces this:

/etc/fam.conf
/etc/init.d/famd
/usr/include/fam.h
/usr/lib/libfam
/usr/lib/libfam.0
/usr/lib/libfam.0.0.0
/usr/lib/libfam.a
/usr/lib/libfam.la
/usr/sbin/famd
/usr/share/doc/fam-2.7.0-r1/AUTHORS.gz
/usr/share/doc/fam-2.7.0-r1/ChangeLog.gz
/usr/share/doc/fam-2.7.0-r1/INSTALL.gz
/usr/share/doc/fam-2.7.0-r1/NEWS.gz
/usr/share/doc/fam-2.7.0-r1/README.gz
/usr/share/doc/fam-2.7.0-r1/TODO.gz
/usr/share/man/man3/fam.3.gz
/usr/share/man/man5/famd.conf.5.gz
/usr/share/man/man8/famd.8.gz

all the libraries are w/o .so so it is broken.
looks like bug 40901

the only thing i've done is to re-emerge fam. On my other machine, I don't have the problem.

Reproducible: Always
Steps to Reproduce:

------- Comment #1 From Stefan Briesenick 2004-07-24 04:46:06 0000 -------
Created an attachment (id=36052) [details]
emerge info

------- Comment #2 From Stefan Briesenick 2004-07-24 04:47:20 0000 -------
btw: if you fix this ebuild, then please add the USE-flags "static" and "pic"
so the obsolete .a file isn't created anymore.

------- Comment #3 From Stefan Briesenick 2004-07-24 05:16:29 0000 -------
BINGO! found the problem!

-> cp /usr/share/libtool/ltmain.sh .

is missing *before* elibtoolize.

I do some other fixes/enhancements on this ebuild 
and then I attach it. Gimme a few mins. ;-)

------- Comment #4 From Stefan Briesenick 2004-07-24 05:49:59 0000 -------
Created an attachment (id=36056) [details]
fam-2.7.0-r1.ebuild

new fixed and enhanced ebuild. ChangeLog follows...

------- Comment #5 From Stefan Briesenick 2004-07-24 05:51:17 0000 -------
Created an attachment (id=36057) [details]
fam-2.7.0-r1.ebuild.patch

diff only. apply it to original fam-2.7.0-r1.ebuild

------- Comment #6 From Stefan Briesenick 2004-07-24 05:55:50 0000 -------
ChangeLog:

- fixed libtool problem (see above)

- moved the fam.conf patch to unpack() and changed "dosed" to "sed -i" because "dosed" didn't work, the fam.conf were unchanged!

- added "static" and "pic" USE-flags (in the same manner as libsndfile)

- check if "/etc/init.d/fam" exists and only then show temporary warning

please check it and put it into portage ASAP as *-r2.

thanks!

------- Comment #7 From Stefan Briesenick 2004-07-29 17:29:48 0000 -------
same problem with media-libs/libmpeg2! :-/

/usr/lib/libmpeg2
/usr/lib/libmpeg2.0
/usr/lib/libmpeg2.0.0.0
/usr/lib/libmpeg2.a
/usr/lib/libmpeg2convert
/usr/lib/libmpeg2convert.0
/usr/lib/libmpeg2convert.0.0.0
/usr/lib/libmpeg2convert.a
/usr/lib/libmpeg2convert.la
/usr/lib/libmpeg2.la

------- Comment #8 From Stefan Briesenick 2004-07-29 17:36:40 0000 -------
same problem, same solution:

-> cp /usr/share/libtool/ltmain.sh .
is missing *before* elibtoolize.

/usr/lib/libmpeg2.a
/usr/lib/libmpeg2convert.a
/usr/lib/libmpeg2convert.la
/usr/lib/libmpeg2convert.so
/usr/lib/libmpeg2convert.so.0
/usr/lib/libmpeg2convert.so.0.0.0
/usr/lib/libmpeg2.la
/usr/lib/libmpeg2.so
/usr/lib/libmpeg2.so.0
/usr/lib/libmpeg2.so.0.0.0

------- Comment #9 From Stefan Briesenick 2004-07-29 17:43:46 0000 -------
something really strage is broken on my machine. On others, it's ok. I try to
re-emerge libtool & friends.

------- Comment #10 From Stefan Briesenick 2004-07-29 17:59:03 0000 -------
next candidate media-video/mjpegtools.

But I checked some other tools, and it is NOT a general problem. Most packages build correct.

------- Comment #11 From Stefan Briesenick 2004-07-29 18:12:03 0000 -------
cp /usr/share/libtool/ltmain.sh .
before "autoreconf || die" helped. :-/

------- Comment #12 From Stefan Briesenick 2004-07-29 18:33:30 0000 -------
ok, I re-emerged libtool, autoconf and automake.

NOW it seems to work again as excpected. the /usr/share/libtool/ltmain.sh thingy isn't needed anymore. So my main problem seems to be solved.

nonetheless, my enhancement to fam still exists and wants to be in portage. :-D
but you can remove the ltmain.sh line out of my ebuild!

------- Comment #13 From Stefan Briesenick 2004-07-29 18:43:15 0000 -------
wuahh!

libtool-1.5.2-r5 works
libtool-1.5.6 seems NOT to work

I don't know why, but I had 1.5.6 on my PC before I re-emerged libtool.

------- Comment #14 From foser (RETIRED) 2004-08-03 15:22:07 0000 -------
been away for a while, catching up on bugmail. Looks like it might be a general
libtool problem by the comments you made.

------- Comment #15 From SpanKY 2004-08-04 10:42:34 0000 -------
this happened to libtool-1.5.2 and we fixed it somewhere along the way to
1.5.2-r5

libtool-1.5.6 is marked -* for a reason; as to how it got onto your machine,
who knows

------- Comment #16 From Stefan Briesenick 2004-08-04 11:29:10 0000 -------
ok, ok, but it wasn't a good idea to obsolete the whole fam-ebuild! There're
some more enhancements! ;-)

just drop the ltmain.sh thingy, but keep the rest!

or should I open a new bug for it?

------- Comment #17 From SpanKY 2004-08-04 12:19:23 0000 -------
this bug is about getting libtool-1.5.6 to act just as well as 1.5.2-r5 does
... that means running `libtoolize` and all that is not an acceptable solution
in ebuilds ...

if the fam ebuilds posted here fixed something unrelated to libtool, then
please file another bug and assign it to foser@gentoo.org

sorry if i missed something :)

------- Comment #18 From SpanKY 2004-11-09 19:37:52 0000 -------
ok, the .so variable changed between 1.5.2 and 1.5.6

updated the patch ... libtool-1.5.10 should be usuable now

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug