Opened 2 months ago
Last modified 8 weeks ago
#74035 new defect
dvisvgm-3.6 does not build on PPC Leopard, Mac OS X 10.5.8, because of configure not finding kpathsea/kpathsea.h
| Reported by: | ballapete (Peter "Pete" Dyballa) | Owned by: | |
|---|---|---|---|
| Priority: | Normal | Milestone: | |
| Component: | ports | Version: | 2.12.5 |
| Keywords: | ppc leopard | Cc: | michaelld@…, mascguy@… |
| Port: | dvisvgm |
Description
It exists,
-rw-r--r-- 1 root admin 766 23. Apr 2025 /opt/local/include/kpathsea/kpathsea.h
possibly from last years (now defective, because dylibs changed and it can't be re-built anymore) TeX Live installation, port only tells:
leopard pete 220 /\ port provides /opt/local/include/kpathsea/kpathsea.h /opt/local/include/kpathsea/kpathsea.h is provided by: texlive-bin leopard pete 221 /\ port installed -v texlive-bin The following ports are currently installed: texlive-bin @2025.74524_1+x11 (active) requested_variants='' platform='darwin 9' archs='ppc' date='2025-04-23T13:00:29+0200'
The error shows up like this:
checking whether termios.h defines TIOCGWINSZ... yes checking for kpathsea/kpathsea.h... no configure: error: please install the kpathsea development package Command failed: cd "/opt/local/var/macports/build/dvisvgm-09e240ea/work/dvisvgm-3.6" && ./configure --prefix=/opt/local --disable-silent-rules Exit code: 1 Error: Failed to configure dvisvgm: consult /opt/local/var/macports/build/dvisvgm-09e240ea/work/dvisvgm-3.6/config.log Error: Failed to configure dvisvgm: configure failure: command execution failed
/opt/local/var/macports/build/dvisvgm-09e240ea/work/dvisvgm-3.6/config.log contains:
631 configure:19840: result: no 632 configure:19845: error: please install the kpathsea development package 633 634 ## ---------------- ## 635 ## Cache variables. ## 636 ## ---------------- ##
Attachments (2)
Change History (9)
Changed 2 months ago by ballapete (Peter "Pete" Dyballa)
Changed 2 months ago by ballapete (Peter "Pete" Dyballa)
| Attachment: | config.log added |
|---|
Mentioned config.log
comment:1 Changed 2 months ago by ballapete (Peter "Pete" Dyballa)
I think this is the actual failure:
561 configure:19840: checking for kpathsea/kpathsea.h 562 configure:19840: /opt/local/bin/gcc-mp-15 -c -pipe -I/opt/local/libexec/openssl3/include -Os -arch ppc -I/opt/local/libexec/openssl3/include -isystem/opt/local/include conftest.c >&5 563 In file included from /opt/local/include/kpathsea/kpathsea.h:15, 564 from conftest.c:57: 565 /opt/local/include/kpathsea/getopt.h:133:20: error: conflicting types for 'getopt'; have 'int(void)' 566 133 | extern KPSEDLL int getopt (); 567 | ^~~~~~ 568 In file included from conftest.c:55: 569 /usr/include/unistd.h:454:10: note: previous declaration of 'getopt' with type 'int(int, char * const*, const char *)' 570 454 | int getopt(int, char * const [], const char *) __DARWIN_ALIAS(getopt); 571 | ^~~~~~
That's the same that prevents texlive-bin 2025 from rev-upgrade-ing.
comment:2 Changed 2 months ago by ballapete (Peter "Pete" Dyballa)
Martin Gieseking has answered that he only maintains the pure code. Its integration into TeX Live and MacPorts needs support from others.
comment:3 Changed 2 months ago by ballapete (Peter "Pete" Dyballa)
TL '25 could be built from source, so changes for TL '26 introduced the bug.
comment:4 Changed 8 weeks ago by ballapete (Peter "Pete" Dyballa)
Complaint to TUG tlbuild mailing list has arrived: https://tug.org/pipermail/tlbuild/2026q2/006000.html.
comment:5 Changed 8 weeks ago by ballapete (Peter "Pete" Dyballa)
Martin Gieseking sent me this:
This seems to be the same issue as reported here: https://tug.org/pipermail/tex-k/2026-January/004247.html and is probably related to changes introduced with C23.
comment:6 Changed 8 weeks ago by ballapete (Peter "Pete" Dyballa)
With the correct C header file kpathsea/getopt.h the software built – but many tests fail: #74048.

Main.log from PPC Leopard, Mac OS X 10.5.8