Opened 3 years ago

Closed 3 years ago

Last modified 2 years ago

#64105 closed defect (duplicate)

libtextstyle @0.21 does not build on PPC Mac OS X 10.4.11, Tiger, because: libproc.h: No such file or directory

Reported by: ballapete (Peter "Pete" Dyballa) Owned by:
Priority: Normal Milestone:
Component: ports Version: 2.7.1
Keywords: tiger Cc: ryandesign@…
Port: libtextstyle

Description

/opt/local/bin/gcc-apple-4.2 -std=gnu99 -DHAVE_CONFIG_H -I. -I..  -I. -I. -I.. -I.. -Iglib -DIN_LIBTEXTSTYLE -DLIBXML_STATIC    -I./libcroco  -DDEPENDS_ON_LIBICONV=1 -I/opt/local/include  -pipe -Os -arch ppc -c get_ppid_of.c
get_ppid_of.c:36:22: error: libproc.h: No such file or directory
get_ppid_of.c: In function 'get_ppid_of':
get_ppid_of.c:241: error: storage size of 'info' isn't known
get_ppid_of.c:243: warning: implicit declaration of function 'proc_pidinfo'
get_ppid_of.c:243: error: 'PROC_PIDTBSDINFO' undeclared (first use in this function)
get_ppid_of.c:243: error: (Each undeclared identifier is reported only once
get_ppid_of.c:243: error: for each function it appears in.)
make[2]: *** [config.h] Error 1
make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_devel_gettext/libtextstyle/work/gettext-0.21/libtextstyle/lib'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_devel_gettext/libtextstyle/work/gettext-0.21/libtextstyle'
make: *** [all] Error 2
make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_devel_gettext/libtextstyle/work/gettext-0.21/libtextstyle'

The macro PROC_PIDTBSDINFO does not seem to be declared anywhere on PPC Tiger. I can see it in 10.5 SDK.

Attachments (1)

main.log (139.5 KB) - added by ballapete (Peter "Pete" Dyballa) 3 years ago.
Main.log from PPC Tiger, Mac OS X 10.4.11

Download all attachments as: .zip

Change History (5)

Changed 3 years ago by ballapete (Peter "Pete" Dyballa)

Attachment: main.log added

Main.log from PPC Tiger, Mac OS X 10.4.11

comment:1 Changed 3 years ago by alex-free (Alex Free)

I reported this issue as well for my Intel system, under gettext: https://trac.macports.org/ticket/64102 . As stated in my ticket, the previous version of gettext does not require libproc.h and I was able to revert to an older port tree to get a working system.

I'm gonna diff get_ppid_of.c in v0.21 and get_ppid_of.c in v0.20 and see if this can just be patched to work the old way.

Version 0, edited 3 years ago by alex-free (Alex Free) (next)

comment:2 Changed 3 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: duplicate
Status: newclosed

comment:3 Changed 3 years ago by ballapete (Peter "Pete" Dyballa)

It built now:

  gettext @0.21_0 (active) requested_variants='' platform='darwin 8' archs='ppc' date='2022-01-30T00:45:08+0100'
  gettext-runtime @0.21_0 (active) requested_variants='' platform='darwin 8' archs='ppc' date='2021-12-18T20:11:09+0100'
  gettext-tools-libs @0.21_0 (active) requested_variants='' platform='darwin 8' archs='ppc' date='2022-01-29T23:59:36+0100'
  libtextstyle @0.21_0 (active) requested_variants='' platform='darwin 8' archs='ppc' date='2022-01-29T23:20:51+0100'

comment:4 Changed 2 years ago by ballapete (Peter "Pete" Dyballa)

Since it finally built, the problem seems to be solved and the ticket can be closed.

Note: See TracTickets for help on using tickets.