Opened 11 years ago

Closed 11 years ago

#40126 closed defect (duplicate)

gd2 @2.1.0 does not contain gdImagePng symbol

Reported by: KurtPfeifle (Kurt Pfeifle) Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.2.0
Keywords: Cc: ryandesign (Ryan Carsten Schmidt)
Port: gd2

Description

My attempt to run 'port -p upgrade dvipng' failed. The following lines are in the log:

DEBUG: Executing command line:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_lil.fr.rsync.macports.org_release_ports_tex_dvipng/dvipng/work/dvipng-1.14" && /usr/bin/make -j8 -w all 
make: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_lil.fr.rsync.macports.org_release_ports_tex_dvipng/dvipng/work/dvipng-1.14'
/usr/bin/clang -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 dvipng.o color.o draw.o dvi.o font.o misc.o pk.o set.o special.o papersiz.o ppagelist.o vf.o t1.o sfd.o ft.o enc.o fontmap.o tfm.o -o dvipng -L/opt/local/lib 
-lfreetype -lz -lbz2 -lt1 -lkpathsea -lgd -lpng -lz -lm  
Undefined symbols for architecture x86_64:
  "_gdImageCreateFromPng", referenced from:
      _SetSpecial in special.o
  "_gdImagePng", referenced from:
      _WriteImage in set.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [dvipng] Error 1
make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_lil.fr.rsync.macports.org_release_ports_tex_dvipng/dvipng/work/dvipng-1.14'
Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_lil.fr.rsync.macports.org_release_ports_tex_dvipng/dvipng/work/dvipng-1.14" && /usr/bin/make -j8 -w all 
Exit code: 2
Error: org.macports.build for port dvipng returned: command execution failed
DEBUG: Error code: CHILDSTATUS 30489 2
DEBUG: Backtrace: command execution failed
Warning: targets not executed for dvipng: org.macports.install org.macports.build org.macports.destroot

Attachments (1)

main.log (4.9 KB) - added by KurtPfeifle (Kurt Pfeifle) 11 years ago.
main.log for failed upgrade of dvipng

Download all attachments as: .zip

Change History (2)

Changed 11 years ago by KurtPfeifle (Kurt Pfeifle)

Attachment: main.log added

main.log for failed upgrade of dvipng

comment:1 Changed 11 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: ryandesign@… added
Port: gd2 added
Resolution: duplicate
Status: newclosed
Summary: 'dvipng' does not buildgd2 @2.1.0 does not contain gdImagePng symbol

Duplicate of #40123.

Note: See TracTickets for help on using tickets.