You are not logged in.

#1 2006-09-10 09:57:16

ezzetabi
Member
Registered: 2006-08-27
Posts: 947

Strange namcap warnings...

I am trying to install mac in the Arch-way, making a package.

A part of the md5 checksum I didn't used everything seemed going fine,
so I used namcap to check the package:

$ namcap mac-3.99_u4_b5-1.pkg.tar.gz
mac        W: File (usr/lib/libmac.la) is a libtool file.

Oh dear! What does it mean?

I understood that libtool is a dependancy and I remade the package, now it is worse:

$ namcap mac-3.99_u4_b5-1.pkg.tar.gz
mac        W: Dependency included and not needed (libtool)
mac        W: File (usr/lib/libmac.la) is a libtool file.

I am confused, what does it mean? Should I remove the .la file from the package and keep the dependency?

thanks

Offline

#2 2006-09-10 10:06:52

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: Strange namcap warnings...

Over a year ago, the Arch devs decided to "slay libtool" - that's what namcap is telling you. You don't need the libtool dep, and you can automate the removal of the *.la file by adding

options=('NOLIBTOOL')

to your PKGBUILD.

Offline

#3 2006-09-10 18:26:25

ezzetabi
Member
Registered: 2006-08-27
Posts: 947

Re: Strange namcap warnings...

Thanks. Now my package works flawlessy. Anyone interested in monkey audio compressor? wink

I also altered the /var/abs/PKGBUILD.proto file adding that option for the future.

Offline

#4 2006-09-10 23:03:57

Snowman
Developer/Forum Fellow
From: Montreal, Canada
Registered: 2004-08-20
Posts: 5,212

Re: Strange namcap warnings...

ezzetabi wrote:

I also altered the /var/abs/PKGBUILD.proto file adding that option for the future.

The next time you will run abs, your modified PKGBUILD.proto will be overwritten.
I would also like to point out that some packages need the libtool file to work properly. The more common ones are kde apps.

Offline

Board footer

Powered by FluxBB