Mailinglist Archive: opensuse-buildservice (189 mails)

< Previous Next >
Re: [opensuse-buildservice] brp-check-la error
  • From: Manvendra Bhangui <mbhangui@xxxxxxxxx>
  • Date: Thu, 19 Feb 2009 14:03:14 +0530
  • Message-id: <95c27c8c0902190033i2b09223fv9c7312cf4fa7f574@xxxxxxxxxxxxxx>
On Thu, Feb 19, 2009 at 1:50 PM, Cristian Morales Vega
<cmorve69@xxxxxxxx> wrote:
I have in my

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

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

-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?

"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.

Thanks. That should solve my problem on openSUSE 11.1 build.

On further investigation, I find that libtool on openSUSE 11.1 seems
to be expanding the -Leps-1.1 -leps to
-L/var/tmp/indimail-1.4-11.1-VOX9FX/var/indimail/lib -leps

The same spec file and the same source on FC10 for example gives
-L/usr/lib64/mysql -lmysqlclient -lm -Wl,-soname
-Wl, -o .libs/

I don't see any any instance of RPM_BUILD_ROOT.
To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-buildservice+help@xxxxxxxxxxxx

< Previous Next >