Bug 67796 - esound-0.2.27-2 not installing *.la
esound-0.2.27-2 not installing *.la
Product: Red Hat Raw Hide
Classification: Retired
Component: esound (Show other bugs)
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: Havoc Pennington
Depends On:
  Show dependency treegraph
Reported: 2002-07-02 00:25 EDT by Jim Hayward
Modified: 2008-05-01 11:38 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2002-07-02 00:25:45 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Jim Hayward 2002-07-02 00:25:41 EDT
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.1) Gecko/20020629

Description of problem:
The spec file for esound-0.2.27-2 is incorrect. libesd.la and libesddsp.la are
being built, but are not being installed.

Adding %{_libdir}/*.la to the spec file cures the problem.

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
1. recompile the esound-0.2.27-2 source rpm

Actual Results:  libesd.la and libesddsp.la are not being installed

Expected Results:  libesd.la and libesddsp.la should be installed

Additional info:
Comment 1 Havoc Pennington 2002-07-02 01:45:05 EDT
The policy for all the gnome packages is "no .la files"

You should not need these files unless they are hardcoded in _another_ .la file
somewhere ("grep libesd.la /usr/lib/*.la" to find them), in which case the bug
is in the package that contains that other .la file. (Said package needs to be
rebuilt with the no-.la esound, or just have its .la files removed also.)

If you figure out which package contains the hardcoded reference to libesd.la
please file a bug against that package. Or if this wasn't the problem, please
post the exact error messages that you encountered due to missing libesd.la.
Comment 2 Jim Hayward 2002-07-02 02:18:35 EDT
The original problem with libesd.la is when trying to recompile of
evolution-1.0.7-2.src.rpm exiting with the error that it can't find

/bin/sh ../libtool --mode=link gcc  -O2 -march=i686 -fPIC -Wall -Wunused   -o
libeutil.la   e-bonobo-factory-util.lo e-categories-master-list-wombat.lo
e-categories-config.lo e-corba-utils.lo e-dialog-utils.lo e-dialog-widgets.lo
e-gtk-utils.lo e-gui-utils.lo e-host-utils.lo e-html-utils.lo e-iterator.lo
e-list-iterator.lo e-list.lo e-memory.lo e-mktemp.lo e-msgport.lo e-passwords.lo
e-path.lo e-request.lo e-sexp.lo e-time-utils.lo e-url.lo md5-utils.lo -rdynamic
-L/usr/lib -L/usr/X11R6/lib -lgal -lgnomeprint -lfreetype -lglade-gnome -lglade
-lxml -lz -lgnomeui -lart_lgpl -lgdk_imlib -lSM -lICE -lgnome -lgnomesupport
-lesd -laudiofile -ldb1 -lgdk_pixbuf -lgtk -lgdk -lgmodule -lglib -ldl -lXi
-lXext -lX11 -lm -lgnomecanvaspixbuf 
grep: /usr/lib/libesd.la: No such file or directory
sed: can't read /usr/lib/libesd.la: No such file or directory
libtool: link: `/usr/lib/libesd.la' is not a valid libtool archive
make[3]: *** [libeutil.la] Error 1
make[3]: Leaving directory `/usr/src/redhat/BUILD/evolution-1.0.7/e-util'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/src/redhat/BUILD/evolution-1.0.7/e-util'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/redhat/BUILD/evolution-1.0.7'
make: *** [all-recursive-am] Error 2
error: Bad exit status from /var/tmp/rpm-tmp.66156 (%build)

RPM build errors:
    Bad exit status from /var/tmp/rpm-tmp.66156 (%build)

Thanks. Jim H
Comment 3 Havoc Pennington 2002-07-02 08:48:31 EDT
Yes, that will be because one of the other .la files contains a reference to
Comment 4 Jim Hayward 2002-07-02 14:01:50 EDT
OK, so is this a problem with Evolution or one of the other packages it requires
in order to compile?

I have Evolution 1.0.7-2 up and running. It runs great. I just worked around the
libesd.la issue for now.

Is the "no gnome .la files" files something new? I see that the original
esound-devel package that shipped with Red Hat 7.3 did include the *.la files.

Thanks again.
Comment 5 Havoc Pennington 2002-07-02 14:51:12 EDT
The problem is with whichever libs contain a reference to libesd.la. "grep
libesd.la /usr/lib/*.la" should turn them up.

The policy is new, yes. Sort of a gradual thing.

Note You need to log in before you can comment on or make changes to this bug.