[MacPorts] #67599: texmaker @5.1.2_1 build failure: call to undeclared function 'lseek'
MacPorts
noreply at macports.org
Fri Jun 9 11:59:26 UTC 2023
#67599: texmaker @5.1.2_1 build failure: call to undeclared function 'lseek'
-----------------------+----------------------
Reporter: NewBBpy | Owner: harens
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.8.1
Resolution: | Keywords:
Port: texmaker |
-----------------------+----------------------
Old description:
> Hello,
>
> The port texmaker failed to build on my MacOs Ventura 13.3.1 (22E261)
> even after cleaning and computer restart.
> '''
> ---> Building texmaker
>
> Error: Failed to build texmaker: command execution failed
> '''
>
> I don't know what is the problem.
> Many Thanks for your help.
> NewBBpy
New description:
Hello,
The port texmaker failed to build on my MacOs Ventura 13.3.1 (22E261)
even after cleaning and computer restart.
{{{
---> Building texmaker
Error: Failed to build texmaker: command execution failed
}}}
I don't know what is the problem.\\
Many Thanks for your help.\\
NewBBpy
--
Comment (by ryandesign):
Well `lseek` is defined in unistd.h so the simplest solution would be to
add `#include <unistd.h>` in pdfium/third_party/zlib_v128/gzlib.c or the
gzguts.h header it includes however the developer of zlib states that's
not the correct fix; see rejected pull requests
https://github.com/madler/zlib/pull/509 and
https://github.com/madler/zlib/pull/560.
We have dealt with the same problem in other ports that bundle zlib, like
freeimage in #61790.
If there is any option for texmaker to use MacPorts zlib instead of its
bundled copy, one would think that would solve this problem, and also
confer all of the usual benefits of depending on other MacPorts ports
(e.g. getting an up-to-date version: MacPorts has zlib 1.2.13 vs 1.2.8
bundled in texmaker).
--
Ticket URL: <https://trac.macports.org/ticket/67599#comment:2>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list