#2100 closed defect (fixed)
graphviz port does not compile
Reported by: | sandy@… | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.0 |
Keywords: | Cc: | ||
Port: |
Description
Port checksum is not good
Change History (8)
comment:1 Changed 20 years ago by gwright@…
Status: | new → assigned |
---|
comment:2 Changed 20 years ago by gwright@…
Resolution: | → worksforme |
---|---|
Status: | assigned → closed |
comment:3 Changed 20 years ago by sandy@…
Resolution: | worksforme |
---|---|
Status: | closed → reopened |
I'm using Mac OS X 10.3.4, Xcode 1.2 and the latest darwinports:
repro steps:
% sudo rm -rf /opt % cd darwinports % cvs up -dP . % cd base % ./configure ; make % sudo make install % sudo port install graphviz
...wait for all dependencies to compile...
---> Fetching graphviz ---> Attempting to fetch graphviz-1.12.tar.gz from http://www.graphviz.org/pub/graphviz/ ARCHIVE/ ---> Verifying checksum(s) for graphviz Error: Checksum mismatch for graphviz-1.12.tar.gz Error: Target com.apple.checksum returned: Unable to verify file checksums
It's really strange that your checksum works, is it possible that you don't have the same "graphviz -1.12.tar.gz" file ?
if I fix the md5 checksum in the Portfile and retry, I get this:
% sudo port install graphviz ---> Fetching graphviz ---> Verifying checksum(s) for graphviz ---> Extracting graphviz ---> Applying patches to graphviz ---> Configuring graphviz ---> Building graphviz with target all Error: Target com.apple.build returned: shell command "MACOSX_DEPLOYMENT_TARGET=10.3 make all" returned error 2 Command output: ../gd/.libs/libgdconvenience.al(wbmp.lo) definition of _writewbmp in section (TEXT,text) ../gd/.libs/libgdconvenience.al(wbmp.lo) definition of _writewbmp in section (TEXT,text) ld: multiple definitions of symbol _gdImageCreateFromWBMP ../gd/.libs/libgdconvenience.al(gd_wbmp.lo) definition of _gdImageCreateFromWBMP in section (TEXT,text) ../gd/.libs/libgdconvenience.al(gd_wbmp.lo) definition of _gdImageCreateFromWBMP in section (TEXT,text) ld: multiple definitions of symbol _gdImageCreateFromWBMPCtx ../gd/.libs/libgdconvenience.al(gd_wbmp.lo) definition of _gdImageCreateFromWBMPCtx in section (TEXT,text) ../gd/.libs/libgdconvenience.al(gd_wbmp.lo) definition of _gdImageCreateFromWBMPCtx in section (TEXT,text) ld: multiple definitions of symbol _gdImageWBMP ../gd/.libs/libgdconvenience.al(gd_wbmp.lo) definition of _gdImageWBMP in section (TEXT,text) ../gd/.libs/libgdconvenience.al(gd_wbmp.lo) definition of _gdImageWBMP in section (TEXT,text) ld: multiple definitions of symbol _gdImageWBMPCtx ../gd/.libs/libgdconvenience.al(gd_wbmp.lo) definition of _gdImageWBMPCtx in section (TEXT,text) ../gd/.libs/libgdconvenience.al(gd_wbmp.lo) definition of _gdImageWBMPCtx in section (TEXT,text) ld: multiple definitions of symbol _gdImageWBMPPtr ../gd/.libs/libgdconvenience.al(gd_wbmp.lo) definition of _gdImageWBMPPtr in section (TEXT,text) ../gd/.libs/libgdconvenience.al(gd_wbmp.lo) definition of _gdImageWBMPPtr in section (TEXT,text) ld: multiple definitions of symbol _gd_getin ../gd/.libs/libgdconvenience.al(gd_wbmp.lo) definition of _gd_getin in section (TEXT,text) ../gd/.libs/libgdconvenience.al(gd_wbmp.lo) definition of _gd_getin in section (TEXT,text) ld: multiple definitions of symbol _gd_putout ../gd/.libs/libgdconvenience.al(gd_wbmp.lo) definition of _gd_putout in section (TEXT,text) ../gd/.libs/libgdconvenience.al(gd_wbmp.lo) definition of _gd_putout in section (TEXT,text) ld: multiple definitions of symbol _gdImageTrueColorToPalette ../gd/.libs/libgdconvenience.al(gd_topal.lo) definition of _gdImageTrueColorToPalette in section (TEXT,text) ../gd/.libs/libgdconvenience.al(gd_topal.lo) definition of _gdImageTrueColorToPalette in section (TEXT,text) make[3]: * [libdotneato.la] Error 1 make[2]: * [all-recursive] Error 1 make[1]: * [all-recursive] Error 1 make: * [all] Error 2
repro on 3 machines several times.
Sandy.
comment:4 Changed 20 years ago by gwright@…
Status: | reopened → assigned |
---|
Apparently version 1.12 has been changed on the graphviz distribution site without the version number being updated. (It seems as if the build system has been tinkered with fairly extensively.) I'll have to see if it's worth fixing this or going to the cvs version which has much better OS X support.
comment:5 Changed 20 years ago by yaseppochi (Stephen J. Turnbull)
I have exactly the same details as reported by Sandy. First I tried "port install libgtkhtml3" which broke several times with conflicts over files that I was able to resolve with manual "port activate -f $PACKAGE" commands. But when I got to graphviz, first I got the "bad checksum", then after cvs update in dports/ graphics/graphviz I got the exact same "multiple definitions" breakage (same functions).
uname -a: Darwin Turnbull-Stephen.local 7.4.0 Darwin Kernel Version 7.4.0: Wed May 12 16:58:24 PDT 2004; root:xnu/xnu-517.7.7.obj~7/RELEASE_PPC Power Macintosh powerpc
comment:6 Changed 20 years ago by mww@…
after the update graphviz now builds fine here on my 10.3/XCode 1.5 machine;
-mww
comment:7 Changed 20 years ago by thomas+opendarwin@…
I suspect this ticket could probably be closed. The graphviz port has been updated to 1.16 since this ticket and it seems to works fine (Mac OS X 10.3.5, gcc version 3.3 20030304 (Apple Computer, Inc. build 1640)
comment:8 Changed 20 years ago by olegb@…
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
the new version works (1.16)! update your tree
I has no problem building and running the port as is. If more details are available, let me know and I'll try to track down what the issue is.
My system: OS X 10.3.4. Note that I haven't updated to port images yet since that will require about four days to recompile all the software for which I am responsible.
/greg