[MacPorts] #71351: p5.34-curses does not build on PPC Tiger, Mac OS X 10.4.11, because of
MacPorts
noreply at macports.org
Wed Nov 27 03:21:18 UTC 2024
#71351: p5.34-curses does not build on PPC Tiger, Mac OS X 10.4.11, because of
------------------------+-----------------------
Reporter: ballapete | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.10.4
Resolution: | Keywords: tiger ppc
Port: p5-curses |
------------------------+-----------------------
Comment (by ryandesign):
Replying to [comment:2 ballapete]:
> The problem is, as described in the `INSTALL` file, that these `form.h`
C header files get included:
>
> {{{
> .. /opt/local/lib/perl5/5.34/darwin-thread-multi-2level/CORE/form.h
> .. /opt/local/lib/perl5/5.34/darwin-thread-multi-2level/CORE/form.h
> /opt/local/lib/perl5/5.34/darwin-thread-multi-2level/CORE/form.h
> }}}
>
> The proper one is `contents of curses`:
>
> {{{
> -rw-r--r-- 1 root admin 18899 30. Apr 2024 /opt/local/include/form.h
> }}}
But why does this problem happen only for you (or only on PowerPC or only
on Tiger)? We have successful builds of this port on all buildbot systems
(10.6 and later).
Replying to [ticket:71351 ballapete]:
> {{{
> /opt/local/bin/gcc-apple-4.2 -c -fno-common -DPERL_DARWIN -pipe -Os
-fno-strict-aliasing -I/opt/local/include -D_FORTIFY_SOURCE=2
-DPERL_USE_SAFE_PUTENV -arch ppc -isysroot/ -O3 -DVERSION=\"1.45\"
-DXS_VERSION=\"1.45\" "-I/opt/local/lib/perl5/5.34/darwin-thread-multi-
2level/CORE" Curses.c
> }}}
Because of the order of the `-I` flags here, an included file should be
found in /opt/local/include before one that is in
/opt/local/lib/perl5/5.34/darwin-thread-multi-2level/CORE. Why isn't that
happening for you?
--
Ticket URL: <https://trac.macports.org/ticket/71351#comment:6>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list