tech-pkg archive

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

Re: CVS commit: pkgsrc/print/gutenprint-lib





Le 2018-08-23 17:46, Greg Troxel a écrit :
Frédéric Fauberteau <triaxx%netbsd.org@localhost> writes:

Module Name:	pkgsrc
Committed By:	triaxx
Date:		Thu Aug 23 14:26:22 UTC 2018

Modified Files:
	pkgsrc/print/gutenprint-lib: Makefile

Log Message:
gutenprint-lib: fix missing graphics/gexiv2 dependency

Bump revision

That's fine to have this as workaround, but I am not sure that it's
right.  I just posted earlier about libtool's behavior of adding
libraries to the link line when using a library that includes them.

Basically, when linking

  foo: foo.o libbar.la

and

  libbar.la says that libbar has a dependency_lib of libbaz

then libtool does

  cc -o foo foo.o -llibbar -llibbaz

even though foo.o does not need any symbols in baz.


This creates dependencies that ought not to exist.  It's not a huge
problem in the gutenprint/gexiv2 case, but in the case of geos, where
there is a stable c abi, and an unstable c++ abi, this libtool bug leads
to a need for a lot of revbumping that should not be necessary.

So in this case I'll stick in a note about the exiv2 issue so we can
revert it when/if we fix libtool.

Thanks for this clear explanation. I was not convinced by the relevance of my fix since the dependency came from gimp.

I also note the gexiv2 issus down.


Home | Main Index | Thread Index | Old Index