Mailinglist Archive: opensuse-buildservice (189 mails)

< Previous Next >
Re: [opensuse-buildservice] brp-check-la error
  • From: Cristian Morales Vega <cmorve69@xxxxxxxx>
  • Date: Thu, 19 Feb 2009 09:20:52 +0100
  • Message-id: <8235e6f40902190020l5146e823w9d4f880a1d6192b4@xxxxxxxxxxxxxx>
2009/2/19 Manvendra Bhangui <mbhangui@xxxxxxxxx>:
On Thu, Feb 19, 2009 at 1:10 PM, Ludwig Nussel <ludwig.nussel@xxxxxxx> wrote:
Manvendra Bhangui wrote:
found trace of $RPM_BUILD_ROOT or $RPM_BUILD_DIR
in installed .la file
/var/tmp/indimail-1.4-6.1-iGubxb/var/indimail/lib/libindimail.la
error: Bad exit status from /var/tmp/rpm-tmp.92262 (%install)

That's a packaging bug you need to fix.

I have in my Makefile.am

-Leps-1.2 -leps -L/usr/lib/mysql -lmysqlclient

The above gets expanded to (as seen in the build log)

-L/usr/src/packages/BUILD/indimail-1.4/eps-1.2
-L/var/tmp/indimail-1.4-11.1-VOX9FX/var/indimail/lib
-L/var/indimail/lib -leps -L/usr/lib/mysql
-L/var/tmp/indimail-1.4-11.1-VOX9FX/usr/lib/mysql -lmysqlclient

I am perplexed why
-L/var/tmp/indimail-1.4-11.1-VOX9FX/var/indimail/lib is getting added.

Will doing -L./eps-1.2 instead of -Leps-1.2 help?

From
http://en.opensuse.org/Packaging/Shared_Library_Packaging_Policy#Best_Practices
"Avoid packaging libtool config files (.la files). In general they are
not needed if you do not package a static library. If in doubt, ask."

So, you probably can just remove the file.
--
To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-buildservice+help@xxxxxxxxxxxx

< Previous Next >
Follow Ups