Re: Invalid shared library @lib lib/libutf8proc.so.2.1.1

2018-05-05 Thread Elias M. Mariani
I removed the .so and .so.2 links, I leaved only libutf8proc.so.0.0.
The port collides with the one on www/netsurf/libutf8proc, solutions
to this kind of things are unknown to me.
This is a dependency with the effort in mind of working on a port for
lang/julia, I dont know if there is any other dependency on this
library.
(meaning, it can wait... julia is far away along the road...).
Elias.

2018-05-05 18:51 GMT-03:00 Anthony J. Bentley :
> Stuart Henderson writes:
>> PS there will be extra considerations due to the conflict with netsurf.
>
> It would be better to replace netsurf's utf8proc with this one. The
> browser builds fine with trivial patches (include path / missing
> pkg-config).


utf8proc.tar.gz
Description: application/gzip


Re: Invalid shared library @lib lib/libutf8proc.so.2.1.1

2018-05-05 Thread Anthony J. Bentley
Stuart Henderson writes:
> PS there will be extra considerations due to the conflict with netsurf.

It would be better to replace netsurf's utf8proc with this one. The
browser builds fine with trivial patches (include path / missing
pkg-config).



Re: Invalid shared library @lib lib/libutf8proc.so.2.1.1

2018-05-05 Thread Elias M. Mariani
2018-05-05 17:35 GMT-03:00 Stuart Henderson <s...@spacehopper.org>:
>For ports@, please attach rather than pointing to github.
Will do.
>Your shared library is named incorrectly, it should be .so.0.0 initially, and 
>under control of the SHARED_LIBS setting in the port (that is, it just be 
>passed from the port Makefile to the build, so changing it in the port will 
>change the library version number).
Will check.
> PS there will be extra considerations due to the conflict with netsurf.
Yes, of course.

Thanks for the help as always Stuart.
Elias.
>
> --
> Sent from a phone, apologies for poor formatting.
> On 5 May 2018 17:47:03 "Elias M. Mariani" <marianiel...@gmail.com> wrote:
>
>> You are right, uploaded to openbsd-wip.
>> https://github.com/jasperla/openbsd-wip/tree/master/textproc/utf8proc
>>
>> 2018-05-05 11:07 GMT-03:00 Marc Espie <es...@nerim.net>:
>>>
>>> On Sat, May 05, 2018 at 10:47:43AM -0300, Elias M. Mariani wrote:
>>>>
>>>> Hi,
>>>> I'm working on some ports needed to port lang/julia.
>>>> One requirement is utf8proc (not the netsurf version already in ports).
>>>> It builds ok and makes the PLIST without problems but the shared
>>>> library gets marked as @bin.
>>>> If I manually change the @bin to @lib I get this error while building
>>>> the package:
>>>> Error: Invalid shared library @lib lib/libutf8proc.so.2.1.1
>>>> No problem if I let the @bin marker.
>>>> This is the line creating the shared library:
>>>> cc  -shared -o libutf8proc.so.2.1.1 -Wl,-soname -Wl,libutf8proc.so.2
>>>> utf8proc.o
>>>>
>>>> Any ideas?
>>>> This is from before the recent changes on update-plist.
>>>
>>>
>>> How can we guess without your work-in-progress port ?...
>
>
>
>



Re: Invalid shared library @lib lib/libutf8proc.so.2.1.1

2018-05-05 Thread Stuart Henderson

PS there will be extra considerations due to the conflict with netsurf.

--
Sent from a phone, apologies for poor formatting.
On 5 May 2018 17:47:03 "Elias M. Mariani" <marianiel...@gmail.com> wrote:


You are right, uploaded to openbsd-wip.
https://github.com/jasperla/openbsd-wip/tree/master/textproc/utf8proc

2018-05-05 11:07 GMT-03:00 Marc Espie <es...@nerim.net>:

On Sat, May 05, 2018 at 10:47:43AM -0300, Elias M. Mariani wrote:

Hi,
I'm working on some ports needed to port lang/julia.
One requirement is utf8proc (not the netsurf version already in ports).
It builds ok and makes the PLIST without problems but the shared
library gets marked as @bin.
If I manually change the @bin to @lib I get this error while building
the package:
Error: Invalid shared library @lib lib/libutf8proc.so.2.1.1
No problem if I let the @bin marker.
This is the line creating the shared library:
cc  -shared -o libutf8proc.so.2.1.1 -Wl,-soname -Wl,libutf8proc.so.2 utf8proc.o

Any ideas?
This is from before the recent changes on update-plist.


How can we guess without your work-in-progress port ?...






Re: Invalid shared library @lib lib/libutf8proc.so.2.1.1

2018-05-05 Thread Stuart Henderson

For ports@, please attach rather than pointing to github.

Your shared library is named incorrectly, it should be .so.0.0 initially, 
and under control of the SHARED_LIBS setting in the port (that is, it just 
be passed from the port Makefile to the build, so changing it in the port 
will change the library version number).


--
Sent from a phone, apologies for poor formatting.
On 5 May 2018 17:47:03 "Elias M. Mariani" <marianiel...@gmail.com> wrote:


You are right, uploaded to openbsd-wip.
https://github.com/jasperla/openbsd-wip/tree/master/textproc/utf8proc

2018-05-05 11:07 GMT-03:00 Marc Espie <es...@nerim.net>:

On Sat, May 05, 2018 at 10:47:43AM -0300, Elias M. Mariani wrote:

Hi,
I'm working on some ports needed to port lang/julia.
One requirement is utf8proc (not the netsurf version already in ports).
It builds ok and makes the PLIST without problems but the shared
library gets marked as @bin.
If I manually change the @bin to @lib I get this error while building
the package:
Error: Invalid shared library @lib lib/libutf8proc.so.2.1.1
No problem if I let the @bin marker.
This is the line creating the shared library:
cc  -shared -o libutf8proc.so.2.1.1 -Wl,-soname -Wl,libutf8proc.so.2 utf8proc.o

Any ideas?
This is from before the recent changes on update-plist.


How can we guess without your work-in-progress port ?...






Re: Invalid shared library @lib lib/libutf8proc.so.2.1.1

2018-05-05 Thread Elias M. Mariani
You are right, uploaded to openbsd-wip.
https://github.com/jasperla/openbsd-wip/tree/master/textproc/utf8proc

2018-05-05 11:07 GMT-03:00 Marc Espie <es...@nerim.net>:
> On Sat, May 05, 2018 at 10:47:43AM -0300, Elias M. Mariani wrote:
>> Hi,
>> I'm working on some ports needed to port lang/julia.
>> One requirement is utf8proc (not the netsurf version already in ports).
>> It builds ok and makes the PLIST without problems but the shared
>> library gets marked as @bin.
>> If I manually change the @bin to @lib I get this error while building
>> the package:
>> Error: Invalid shared library @lib lib/libutf8proc.so.2.1.1
>> No problem if I let the @bin marker.
>> This is the line creating the shared library:
>> cc  -shared -o libutf8proc.so.2.1.1 -Wl,-soname -Wl,libutf8proc.so.2 
>> utf8proc.o
>>
>> Any ideas?
>> This is from before the recent changes on update-plist.
>
> How can we guess without your work-in-progress port ?...



Re: Invalid shared library @lib lib/libutf8proc.so.2.1.1

2018-05-05 Thread Marc Espie
On Sat, May 05, 2018 at 10:47:43AM -0300, Elias M. Mariani wrote:
> Hi,
> I'm working on some ports needed to port lang/julia.
> One requirement is utf8proc (not the netsurf version already in ports).
> It builds ok and makes the PLIST without problems but the shared
> library gets marked as @bin.
> If I manually change the @bin to @lib I get this error while building
> the package:
> Error: Invalid shared library @lib lib/libutf8proc.so.2.1.1
> No problem if I let the @bin marker.
> This is the line creating the shared library:
> cc  -shared -o libutf8proc.so.2.1.1 -Wl,-soname -Wl,libutf8proc.so.2 
> utf8proc.o
> 
> Any ideas?
> This is from before the recent changes on update-plist.

How can we guess without your work-in-progress port ?...



Invalid shared library @lib lib/libutf8proc.so.2.1.1

2018-05-05 Thread Elias M. Mariani
Hi,
I'm working on some ports needed to port lang/julia.
One requirement is utf8proc (not the netsurf version already in ports).
It builds ok and makes the PLIST without problems but the shared
library gets marked as @bin.
If I manually change the @bin to @lib I get this error while building
the package:
Error: Invalid shared library @lib lib/libutf8proc.so.2.1.1
No problem if I let the @bin marker.
This is the line creating the shared library:
cc  -shared -o libutf8proc.so.2.1.1 -Wl,-soname -Wl,libutf8proc.so.2 utf8proc.o

Any ideas?
This is from before the recent changes on update-plist.
Thanks, Elias.