Opened 13 years ago

Closed 13 years ago

#29288 closed defect (invalid)

graphviz @2.26.3 Undefined symbols in diffimg.o

Reported by: thomaswytock2007@… Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version: 1.9.2
Keywords: Cc:
Port: graphviz

Description

Hi,

I was trying to update my ports and when I try to update graphviz, i receive the following error in the logfile:

:info:build Undefined symbols:
:info:build   "_gdImagePng", referenced from:
:info:build       _main in diffimg.o
:info:build       _main in diffimg.o
:info:build   "_gdImageCreateFromPng", referenced from:
:info:build       _imageLoad in diffimg.o
:info:build   "_gdImageColorAllocate", referenced from:
:info:build       _main in diffimg.o
:info:build       _main in diffimg.o
:info:build   "_gdImageDestroy", referenced from:
:info:build       _main in diffimg.o
:info:build       _main in diffimg.o
:info:build       _main in diffimg.o
:info:build   "_gdImageCreate", referenced from:
:info:build       _main in diffimg.o
:info:build   "_gdImageGetTrueColorPixel", referenced from:
:info:build       _main in diffimg.o
:info:build       _main in diffimg.o
:info:build   "_gdImageSetPixel", referenced from:
:info:build       _main in diffimg.o
:info:build   "_gdImageCreateFromGif", referenced from:
:info:build       _imageLoad in diffimg.o
:info:build   "_gdImageFilledRectangle", referenced from:
:info:build       _main in diffimg.o
:info:build ld: symbol(s) not found 

as the offending symbols.

I found a ticket that seemed to be related: #29266, and followed the steps to update gd2 and have since run selfupdate and reinstalled port gd2 successfully.

I went ahead and uninstalled all the dependencies of graphviz, as well as graphviz itself in hopes that reinstalling graphviz would work, but to no avail.

The end of the log file states:

:info:build shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_graphviz/work/graphviz-2.26.3" && /usr/bin/make -j4 all " returned error 2
:error:build Target org.macports.build returned: shell command failed (see log for details)

Attachments (1)

main.log (74.0 KB) - added by thomaswytock2007@… 13 years ago.

Download all attachments as: .zip

Change History (5)

Changed 13 years ago by thomaswytock2007@…

Attachment: main.log added

comment:1 Changed 13 years ago by mf2k (Frank Schima)

Owner: changed from macports-tickets@… to ryandesign@…
Port: graphviz added

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

The log you attached shows references to png12 which should not be since the libpng port was updated to 1.4.x quite awhile ago now. Are any ports outdated? If so upgrade them, then clean graphviz and try again. The log you attached was also not complete --not generated from a clean attempt (notice the lines that say "skipping"); if you still experience the problem after upgrading other outdated ports, attach a complete graphviz main.log (one created immediately after cleaning graphviz).

comment:3 in reply to:  2 Changed 13 years ago by thomaswytock2007@…

Replying to ryandesign@…:

The log you attached shows references to png12 which should not be since the libpng port was updated to 1.4.x quite awhile ago now. Are any ports outdated? If so upgrade them, then clean graphviz and try again. The log you attached was also not complete --not generated from a clean attempt (notice the lines that say "skipping"); if you still experience the problem after upgrading other outdated ports, attach a complete graphviz main.log (one created immediately after cleaning graphviz).

wireless-165-124-212-14:~ TBone$ sudo port selfupdate
--->  Updating the ports tree
--->  Updating MacPorts base sources using rsync
MacPorts base version 1.9.2 installed,
MacPorts base version 1.9.2 downloaded.
--->  MacPorts base is already the latest version

The ports tree has been updated. To upgrade your installed ports, you should run
  port upgrade outdated
wireless-165-124-212-14:~ TBone$ sudo port upgrade outdated
Error: No ports matched the given expression

No ports needed to be updated, but cleaning graphviz seemed to clear out whatever was causing the problem.

Thanks for the help!

comment:4 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: invalid
Status: newclosed

Ok, glad you got it working.

Cleaning and trying again is a good thing to try when a port fails.

Note: See TracTickets for help on using tickets.