Opened 5 years ago

Closed 5 years ago

Last modified 4 years ago

#59810 closed defect (fixed)

imlib2 @1.5.1 does not build on PPC Tiger because of Undefined symbols: "_strndup"

Reported by: ballapete (Peter "Pete" Dyballa) Owned by: Jaakko Linnosaari <jaakko@…>
Priority: Normal Milestone:
Component: ports Version: 2.6.2
Keywords: tiger Cc: kencu (Ken)
Port: imlib2

Description

Making all in bin
make[3]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_lil.fr.rsync.macports.org_release_tarballs_ports_graphics_imlib2/imlib2/work/imlib2-1.5.1/src/bin'
  CC       imlib2_conv.o
imlib2_conv.c: In function 'main':
imlib2_conv.c:62: warning: implicit declaration of function 'strndup'
imlib2_conv.c:62: warning: incompatible implicit declaration of built-in function 'strndup'
  CCLD     imlib2_conv
Undefined symbols:
  "_strndup", referenced from:
      _main in imlib2_conv.o
ld: symbol(s) not found
collect2: ld returned 1 exit status
make[3]: *** [imlib2_conv] Error 1
make[3]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_lil.fr.rsync.macports.org_release_tarballs_ports_graphics_imlib2/imlib2/work/imlib2-1.5.1/src/bin'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_lil.fr.rsync.macports.org_release_tarballs_ports_graphics_imlib2/imlib2/work/imlib2-1.5.1/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_lil.fr.rsync.macports.org_release_tarballs_ports_graphics_imlib2/imlib2/work/imlib2-1.5.1'
make: *** [all] Error 2
make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_lil.fr.rsync.macports.org_release_tarballs_ports_graphics_imlib2/imlib2/work/imlib2-1.5.1'
Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_lil.fr.rsync.macports.org_release_tarballs_ports_graphics_imlib2/imlib2/work/imlib2-1.5.1" && /usr/bin/make -w all 
Exit code: 2

Seems that Portfile needs a line:

PortGroup       legacysupport 1.0

Attachments (1)

main.log (30.7 KB) - added by ballapete (Peter "Pete" Dyballa) 5 years ago.
Main.log from PPC Tiger

Download all attachments as: .zip

Change History (6)

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

Attachment: main.log added

Main.log from PPC Tiger

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

PortGroup       legacysupport 1.0

in Portfile lets the port build.

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

The same error prevents imlib2 to build on PPC Leopard, Mac OS X 10.5.8.

comment:3 in reply to:  2 Changed 5 years ago by ballapete (Peter "Pete" Dyballa)

Replying to ballapete:

Editing Portfile the same way as on Tiger lets imlib2 build.

comment:4 Changed 5 years ago by Jaakko Linnosaari <jaakko@…>

Owner: set to Jaakko Linnosaari <jaakko@…>
Resolution: fixed
Status: newclosed

In 6e7289368dba57848aa87f964710b3ede14598f9/macports-ports (master):

imlib2: Add legacysupport pg for OS X 10.6 and older

Closes: #59810

comment:5 Changed 4 years ago by Jaakko Linnosaari <jaakko@…>

In 6e7289368dba57848aa87f964710b3ede14598f9/macports-ports (dar, master, py38-reproject, revert-6945-rust-1.43.0, wireshark):

imlib2: Add legacysupport pg for OS X 10.6 and older

Closes: #59810

Note: See TracTickets for help on using tickets.