Re: What is SONAME in port builds?

2016-10-03 Thread Mathieu Arnold
Le 02/10/2016 à 21:07, Montgomery-Smith, Stephen a écrit :
> On 10/02/2016 10:29 AM, Montgomery-Smith, Stephen wrote:
>> I am trying to build the port graphics/opendx, and at the qa stage it says:
>>
>> Error: /usr/local/dx/bin_freebsd/builder is linked to
>> /usr/local/lib/libcdf.so which does not have a SONAME.
>> science/cdf needs to be fixed.
>>
>> What does this mean, and how do I fix it?
> I came up with "a" solution:
>
> https://svnweb.freebsd.org/ports?view=revision=423146

It is a good solution, yes. The check is there because pkg will not
register shlib dependencies if the .so do not have a soname. This is a
problem because if the library gets changed and is no longer
incompatible with the previous one, you do not have a soname to check,
and pkg will not know that all its dependencies need to be reinstalled.

-- 
Mathieu Arnold




signature.asc
Description: OpenPGP digital signature


Re: What is SONAME in port builds?

2016-10-02 Thread Montgomery-Smith, Stephen
On 10/02/2016 10:29 AM, Montgomery-Smith, Stephen wrote:
> I am trying to build the port graphics/opendx, and at the qa stage it says:
> 
> Error: /usr/local/dx/bin_freebsd/builder is linked to
> /usr/local/lib/libcdf.so which does not have a SONAME.
> science/cdf needs to be fixed.
> 
> What does this mean, and how do I fix it?

I came up with "a" solution:

https://svnweb.freebsd.org/ports?view=revision=423146
___
freebsd-ports@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


Re: What is SONAME in port builds?

2016-10-02 Thread Matthias Apitz
On Sunday, 2 October 2016 17:29:05 CEST, Montgomery-Smith, Stephen 
 wrote:

I am trying to build the port graphics/opendx, and at the qa stage it says:

Error: /usr/local/dx/bin_freebsd/builder is linked to
/usr/local/lib/libcdf.so which does not have a SONAME.
science/cdf needs to be fixed.

What does this mean, and how do I fix it?

BTW I am maintainer of both ports.


I can see with Don Google for 'freebsd ports soname' how others fixed the 
same issue; the porters handbook has no match for SONAME -:(


matthias




--
Sent from my Ubuntu phone
http://www.unixarea.de/
___
freebsd-ports@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


What is SONAME in port builds?

2016-10-02 Thread Montgomery-Smith, Stephen
I am trying to build the port graphics/opendx, and at the qa stage it says:

Error: /usr/local/dx/bin_freebsd/builder is linked to
/usr/local/lib/libcdf.so which does not have a SONAME.
science/cdf needs to be fixed.

What does this mean, and how do I fix it?

BTW I am maintainer of both ports.
___
freebsd-ports@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"