Opened 2 years ago

Closed 2 years ago

#64468 closed defect (fixed)

libepoxy @1.5.9_2 does not build on PPC Tiger, Mac OS X 10.4.11, because symbol were not found

Reported by: ballapete (Peter "Pete" Dyballa) Owned by: evanmiller (Evan Miller)
Priority: Normal Milestone:
Component: ports Version: 2.7.1
Keywords: tiger Cc:
Port: libepoxy

Description

[33/35] /opt/local/bin/gcc-apple-4.2  -o test/cgl_core test/cgl_core.p/cgl_core.c.o -L/opt/local/lib -I/opt/local/include -Wl,-dead_strip_dylibs -Wl,-headerpad_max_install_names -Wl,-undefined,error -Wl,-headerpad_max_install_names -arch ppc -pipe -Os -arch ppc src/libepoxy.0.dylib -ldl -framework OpenGL -framework Carbon
FAILED: test/cgl_core 
/opt/local/bin/gcc-apple-4.2  -o test/cgl_core test/cgl_core.p/cgl_core.c.o -L/opt/local/lib -I/opt/local/include -Wl,-dead_strip_dylibs -Wl,-headerpad_max_install_names -Wl,-undefined,error -Wl,-headerpad_max_install_names -arch ppc -pipe -Os -arch ppc src/libepoxy.0.dylib -ldl -framework OpenGL -framework Carbon
Undefined symbols:
  "_CGLReleasePixelFormat", referenced from:
      _main in cgl_core.c.o
  "_CGLReleaseContext", referenced from:
      _main in cgl_core.c.o
ld: symbol(s) not found
collect2: ld returned 1 exit status
ninja: build stopped: subcommand failed.
Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_graphics_libepoxy/libepoxy/work/build" && /opt/local/bin/ninja -j1 -v 
Exit code: 1

It seems that these two symbols might belong to some external library…

Attachments (1)

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

Download all attachments as: .zip

Change History (3)

Changed 2 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 2 years ago by evanmiller (Evan Miller)

It looks like the Release functions were introduced in 10.5. There are Destroy functions that can be substituted on 10.4.

comment:2 Changed 2 years ago by evanmiller (Evan Miller)

Owner: set to evanmiller
Resolution: fixed
Status: newclosed

In 0c79739bee13aa60fbdba1738acb5bce2bd173c6/macports-ports (master):

libepoxy: fix Tiger build

Closes: #64468

Note: See TracTickets for help on using tickets.