Re: library not found in build on macos

2024-11-20 Thread Gavin Smith
On Wed, Nov 20, 2024 at 06:57:11PM +, Gavin Smith wrote: > Also, providing an extra flag when compiling adds to the RUNPATH in > the .so file: > > cc -shared -fPIC -DPIC -o .libs/Parsetexi.so > parsetexi/.libs/Parsetexi_la-Parsetexi.o > -L/home/gavin/texinfo-7.1.91/build/tp/Texinfo/XS/.libs

Re: library not found in build on macos

2024-11-20 Thread Gavin Smith
On Wed, Nov 20, 2024 at 11:00:32AM +0100, Patrice Dumas wrote: > On Tue, Nov 19, 2024 at 09:04:19PM +, Gavin Smith wrote: > > Dynamic section at offset 0x390 contains 27 entries: > > TagType Name/Value > > 0x0001 (NEEDED) Shared library

Re: library not found in build on macos

2024-11-20 Thread Patrice Dumas
On Mon, Nov 18, 2024 at 01:57:15PM +0200, Eli Zaretskii wrote: > > Date: Sun, 17 Nov 2024 21:21:05 +0100 > > From: Patrice Dumas > > > > % otool -L .libs/Parsetexi.so > > .libs/Parsetexi.so: > > /usr/local/lib/texi2any/libtexinfoxs.0.dylib (compatibility version > > 1.0.0, current version 1.

Re: library not found in build on macos

2024-11-20 Thread Patrice Dumas
On Tue, Nov 19, 2024 at 09:04:19PM +, Gavin Smith wrote: > Dynamic section at offset 0x390 contains 27 entries: > TagType Name/Value > 0x0001 (NEEDED) Shared library: [libtexinfoxs.so.0.0] > 0x0001 (NEEDED) Shar

Re: library not found in build on macos

2024-11-20 Thread Gavin Smith
On Tue, Nov 19, 2024 at 09:04:23PM +, Gavin Smith wrote: > In the output of "readelf -a .libs/Parsetexi.so" there is: > > Dynamic section at offset 0x390 contains 27 entries: > TagType Name/Value > 0x0001 (NEEDED) Shared library: [libt

Re: library not found in build on macos

2024-11-19 Thread Patrice Dumas
On Tue, Nov 19, 2024 at 09:04:19PM +, Gavin Smith wrote: > While testing texi2any, I accidentally found a bug: > > $ export top_srcdir=../../ top_builddir=.. TEXINFO_DEV_SOURCE=1 > $ ./texi2any ../doc/info-stnd.info > texi2any: warning: input file info-stnd.info; did you mea

Re: library not found in build on macos

2024-11-19 Thread Gavin Smith
On Sun, Nov 17, 2024 at 10:14:37PM +0100, Patrice Dumas wrote: > On Sun, Nov 17, 2024 at 09:37:23PM +0100, Patrice Dumas wrote: > > I have added a report for all the platforms tested in the CI. It > > appears that cygwin, both 32 and 64 bits and OpenBSD unexpectedly cannot > > load Parsetexi.so/dl

Re: library not found in build on macos

2024-11-18 Thread Gavin Smith
On Sun, Nov 17, 2024 at 07:41:37PM +0100, Patrice Dumas wrote: > Hello, > > I noticed that the macos parser runs the tests with the Pure Perl parser > in the CI, although for macos 12 and macos 13 it seemed that everything > was going on well regarding compilation. I could reproduce this issue >

Re: library not found in build on macos

2024-11-18 Thread Eli Zaretskii
> Date: Sun, 17 Nov 2024 22:14:37 +0100 > From: Patrice Dumas > > On Sun, Nov 17, 2024 at 09:37:23PM +0100, Patrice Dumas wrote: > > I have added a report for all the platforms tested in the CI. It > > appears that cygwin, both 32 and 64 bits and OpenBSD unexpectedly cannot > > load Parsetexi.so

Re: library not found in build on macos

2024-11-18 Thread Eli Zaretskii
> Date: Sun, 17 Nov 2024 21:21:05 +0100 > From: Patrice Dumas > > % otool -L .libs/Parsetexi.so > .libs/Parsetexi.so: > /usr/local/lib/texi2any/libtexinfoxs.0.dylib (compatibility version > 1.0.0, current version 1.0.0) > /usr/local/lib/texi2any/libtexinfo.0.dylib (compatibility version

Re: library not found in build on macos

2024-11-17 Thread Patrice Dumas
On Sun, Nov 17, 2024 at 07:41:37PM +0100, Patrice Dumas wrote: > > Also it could be possible that the BSD have the same issue, I'll try to > investigate a bit using the CI. I have added a report for all the platforms tested in the CI. It appears that cygwin, both 32 and 64 bits and OpenBSD unexp

Re: library not found in build on macos

2024-11-17 Thread Patrice Dumas
On Sun, Nov 17, 2024 at 09:37:23PM +0100, Patrice Dumas wrote: > I have added a report for all the platforms tested in the CI. It > appears that cygwin, both 32 and 64 bits and OpenBSD unexpectedly cannot > load Parsetexi.so/dll (in addition to macos 12 and macos 13). MiscXS is > loaded in all th

Re: library not found in build on macos

2024-11-17 Thread Patrice Dumas
On Sun, Nov 17, 2024 at 07:29:18PM +, Gavin Smith wrote: > On Sun, Nov 17, 2024 at 07:41:37PM +0100, Patrice Dumas wrote: > > It does look like a bug somewhere. It could be an issue with how > libtool treats this platform. I know that it is frequent for libtool > libraries to be "re-linked"

library not found in build on macos

2024-11-17 Thread Patrice Dumas
Hello, I noticed that the macos parser runs the tests with the Pure Perl parser in the CI, although for macos 12 and macos 13 it seemed that everything was going on well regarding compilation. I could reproduce this issue with an access to this platform. Launching texi2any.pl with TEXINFO_XS=deb