Re: RPM-4.4.4 and libtool deps

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




On Jan 23, 2006, at 9:21 AM, Mihai Barbos wrote:

Ok, with Jeff's help rpm-4.4.4 is nicely packaged now. Time for new problems:

rpm -Uvh rpm-devel-4.4.4-xx.i686.rpm
(after installing rpm and rpmbuild, package built with rpmbuild 4.4.4)

error: Failed dependencies: libtool(/usr/lib/libbeecrypt.la) is needed by rpm-devel-4.4.4
	......


You're building with libtool extraction configured on.

Either do
	echo "libtool(/usr/lib/libbeecrypt.la)" >> /etc/rpm/sysinfo
to ignore the dependency (assuming you want libtool(...) dependencies), or equivalently disable
the libtool extraction by commenting out lines in /usr/lib/rpm/macros:
    ...
%__libtool_provides /usr/lib/rpm/libtooldeps.sh --provides % {buildroot} %__libtool_requires /usr/lib/rpm/libtooldeps.sh --requires % {buildroot}


rpm -qp --provides libtool-1.5.22-xx.i686.rpm
...............
libtool(/usr/lib/libltdl.la)
libtool(/usr/share/doc-rpm/libtool-1.5.22/pdemo/libhello.la)
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                 that's a really nice one :-)
                 %_docdir is set to /usr/share/doc-rpm
libtool = 1.5.22-0.2


One (at least this one ;-) questions putting *.la files in /usr/share.

rpm -qp --requires rpm-devel-4.4.4-xx.i686.rpm
.................
libtool(/usr/lib/libbeecrypt.la)
libtool(/usr/lib/libexpat.la)
libtool(/usr/lib/libneon.la)
libtool(/usr/lib/libpopt.la)
libtool(/usr/lib/librpm.la)
libtool(/usr/lib/librpmdb.la)
libtool(/usr/lib/librpmio.la)
libtool(/usr/lib/libsqlite3.la)
libtool(/usr/lib/libstdc++.la)


Ditto, put all the above in /etc/rpm/sysinfo while you are planning whether you want libtool(...) dependencies or not.

not to mention

rpm -qp --provides rpm-devel-4.4.4-xx.i686.rpm

libtool(/usr/lib/librpm.la)
libtool(/usr/lib/librpmbuild.la)
rpm-devel = 4.4.4-0.8

Now, I'm convinced that there is something wrong here, I'm just not sure how it should be.


Not wrong, just "new stuff" different than before. Hard to figger the right thing to do while FC is ripping out *.la files, while other distros are doing other things.

73 de Jeff

_______________________________________________
Rpm-list mailing list
Rpm-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/rpm-list

[Index of Archives]     [RPM Ecosystem]     [Linux Kernel]     [Red Hat Install]     [PAM]     [Red Hat Watch]     [Red Hat Development]     [Red Hat]     [Gimp]     [Yosemite News]     [IETF Discussion]

  Powered by Linux