[MacPorts] #69277: gawk @5.3.0 does not build on PPC Tiger, Mac OS X 10.4.11, because of undefined symbols

MacPorts noreply at macports.org
Sun Feb 4 11:53:50 UTC 2024


#69277: gawk @5.3.0 does not build on PPC Tiger, Mac OS X 10.4.11, because of
undefined symbols
-----------------------+--------------------
 Reporter:  ballapete  |      Owner:  (none)
     Type:  defect     |     Status:  new
 Priority:  Normal     |  Milestone:
Component:  ports      |    Version:  2.9.1
 Keywords:  ppc tiger  |       Port:  gawk
-----------------------+--------------------
 {{{
 libtool: compile:  /opt/local/bin/gcc-mp-7 -DHAVE_CONFIG_H -I. -I./..
 -isystem/opt/local/include/LegacySupport -I/opt/local/include
 -D__DARWIN_UNIX03 -pipe -Os -arch ppc -Wall -DNDEBUG -MT readdir.lo -MD
 -MP -MF .deps/readdir.Tpo -c readdir.c  -fno-common -DPIC -o
 .libs/readdir.o
 readdir.c: In function 'dir_get_record':
 readdir.c:221:20: warning: array subscript is above array bounds [-Warray-
 bounds]
   the_dir->fw.fields[1].len = flen-1;
   ~~~~~~~~~~~~~~~~~~^~~
 readdir.c:225:20: warning: array subscript is above array bounds [-Warray-
 bounds]
   the_dir->fw.fields[2].len = flen-1;
   ~~~~~~~~~~~~~~~~~~^~~
 readdir.c: In function 'dir_take_control_of':
 readdir.c:303:20: warning: array subscript is above array bounds [-Warray-
 bounds]
   the_dir->fw.fields[1].skip = 1; /* single '/' separator */
   ~~~~~~~~~~~~~~~~~~^~~
 readdir.c:304:20: warning: array subscript is above array bounds [-Warray-
 bounds]
   the_dir->fw.fields[2].skip = 1; /* single '/' separator */
   ~~~~~~~~~~~~~~~~~~^~~
 mv -f .deps/readdir.Tpo .deps/readdir.Plo
 /bin/sh ./libtool  --tag=CC   --mode=link /opt/local/bin/gcc-mp-7  -pipe
 -Os -arch ppc -Wall -DNDEBUG -module -avoid-version -no-undefined
 -Wl,-headerpad_max_install_names -L/opt/local/lib -lMacportsLegacySupport
 -arch ppc -o readdir.la -rpath /opt/local/lib/gawk readdir.lo -lintl
 -Wl,-framework -Wl,CoreFoundation
 libtool: link: /opt/local/bin/gcc-mp-7  -o .libs/readdir.so -bundle
 .libs/readdir.o   -L/opt/local/lib -lMacportsLegacySupport -lintl  -Os
 -arch ppc -Wl,-headerpad_max_install_names -arch ppc -Wl,-framework
 -Wl,CoreFoundation
 Undefined symbols:
   "_fdopendir$UNIX2003", referenced from:
       _dir_take_control_of in readdir.o
 ld: symbol(s) not found
 collect2: error: ld returned 1 exit status
 make[4]: *** [readdir.la] Error 1
 make[4]: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_lang_gawk/gawk/work/gawk-5.3.0/extension'
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/69277>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list