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

Peter FELECAN pfelecan at opencsw.org
Fri Mar 6 14:07:51 CET 2015


Riccardo Mottola <rmottola at opencsw.org> writes:

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

This is nominal, i.e., as it must be.

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

We decided to make the transition toward GCC, consequently, there is no
need to waste your time with the "sun/oracle" compiler.
-- 
Peter


More information about the maintainers mailing list