problem building libffi on x86-10 (fatal link error)

Riccardo Mottola rmottola at opencsw.org
Fri Mar 6 12:00:27 CET 2015


Hi Laurent and Dago,

I think I made quite some big progress.

The only warning I get now is :
CHECKPKG_OVERRIDES_CSWlibffi-dev += 
wrong-docdir|expected=/opt/csw/shared/doc/libffi_dev/...|in-package=/opt/csw/share/doc/libffi_stub/license

Strangely I get this only on x86 and not sparc. What can I do about this?

Laurent Blume wrote:
> Because there is only one -dev at a time, pointing to the latest version
> that is used for all new linking, while there can be several numbered
> versions of the libs used by previously linked packages.
Clear, there was some trickery to define what went into dev and not and 
it still had "5", thus the whole libraries went inside the dev package 
and thus the warnings.

Look here:
http://buildfarm.opencsw.org/pkgdb/srv4/61c1ae8cdb575ab07b28220098f08944/

This looks fine, except his:

1 s none /opt/csw/lib/ffi/libffi.so=../libffi.so.6.0.4

I think this means that the "link" is in dev and not runtime. Is that 
correct? I suppose it can be considered something useful during linking 
and thus for developers.

Given that, may I commit what I have now? I have further questions about 
some parts in this receipe!

Riccardo

PS: Latest libffi says in the documentation that sun/oracle compiler is 
supported. Should I make a test? is its use preferred over GCC?


More information about the maintainers mailing list