#5993 closed defect (fixed)
BUG: graphviz fails to build
Reported by: | g3zi7y.wu72nfp@… | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.0 |
Keywords: | Cc: | ||
Port: |
Description
Description:
graphviz-2.6 fails to build
Here are some additional infos about my system:
My-Computer:~ wu$ uname -a Darwin Detlef-Herms-Computer.local 7.9.0 Darwin Kernel Version 7.9.0: Wed Mar 30 20:11:17 PST 2005; root:xnu/xnu-517.12.7.obj~1/RELEASE_PPC Power Macintosh powerpc
My-Computer:~ wu$ port version Version: 1.102
My-Computer:~ wu$ port info graphviz graphviz 2.6, graphics/graphviz (Variants: darwin_6, darwin_7, darwin_8, nox11) http://www.graphviz.org/
Graph Visualization Software from AT&T Laboratories and Bell Laboratories (Lucent Technologies). The package contains: dot - batch program for drawing directed graphs as hierarchies neato - batch program for drawing undirected graphs using Kamada-Kawai spring models. Users wishing to have only the graph layout programs (for noninteractive use) can use the +nox11 variant to build graphiviz without its display routines.
Library Dependencies: XFree86, jpeg, libpng, freetype, expat, gd2, zlib, gettext Platforms: darwin Maintainers: gwright@…
My-Computer:~ wu$ 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 "cd "/opt/local/var/db/dports/build/ file._opt_local_var_db_dports_sources_rsync.rsync.opendarwin.org_dpupdate_dports_graphics_graphviz /work/graphviz-2.6" && MACOSX_DEPLOYMENT_TARGET=10.3 make all" returned error 2 Command output: then mv -f ".deps/gvdevice.Tpo" ".deps/gvdevice.Plo"; else rm -f ".deps/ gvdevice.Tpo"; exit 1; fi
gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I../../lib/common -I../../lib/pathplan -I../../lib/graph -I../
../lib/cdt -DGVLIBDIR=\"/opt/local/lib/graphviz\" -I/opt/local/include -I/opt/local/include -g -O2 -fno-common -Wall -DNDEBUG -MT gvdevice.lo -MD -MP -MF .deps/gvdevice.Tpo -c gvdevice.c -fno-common -DPIC -o .libs/gvdevice.o
gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I../../lib/common -I../../lib/pathplan -I../../lib/graph -I../
../lib/cdt -DGVLIBDIR=\"/opt/local/lib/graphviz\" -I/opt/local/include -I/opt/local/include -g -O2 -fno-common -Wall -DNDEBUG -MT gvdevice.lo -MD -MP -MF .deps/gvdevice.Tpo -c gvdevice.c -o gvdevice.o >/dev/null 2>&1 if /bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I../../ lib/common -I../../lib/pathplan -I../../lib/graph -I../../lib/cdt -DGVLIBDIR=\"/opt/local/lib/ graphviz\" -I/opt/local/include -I/opt/local/include -g -O2 -fno-common -Wall -DNDEBUG -MT gvcontext.lo -MD -MP -MF ".deps/gvcontext.Tpo" -c -o gvcontext.lo gvcontext.c; \ then mv -f ".deps/gvcontext.Tpo" ".deps/gvcontext.Plo"; else rm -f ".deps/gvcontext.Tpo"; exit 1; fi
gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I../../lib/common -I../../lib/pathplan -I../../lib/graph -I../
../lib/cdt -DGVLIBDIR=\"/opt/local/lib/graphviz\" -I/opt/local/include -I/opt/local/include -g -O2 -fno-common -Wall -DNDEBUG -MT gvcontext.lo -MD -MP -MF .deps/gvcontext.Tpo -c gvcontext.c -fno-common -DPIC -o .libs/gvcontext.o
gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I../../lib/common -I../../lib/pathplan -I../../lib/graph -I../
../lib/cdt -DGVLIBDIR=\"/opt/local/lib/graphviz\" -I/opt/local/include -I/opt/local/include -g -O2 -fno-common -Wall -DNDEBUG -MT gvcontext.lo -MD -MP -MF .deps/gvcontext.Tpo -c gvcontext.c -o gvcontext.o >/dev/null 2>&1 if /bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I../../ lib/common -I../../lib/pathplan -I../../lib/graph -I../../lib/cdt -DGVLIBDIR=\"/opt/local/lib/ graphviz\" -I/opt/local/include -I/opt/local/include -g -O2 -fno-common -Wall -DNDEBUG -MT gvjobs.lo -MD -MP -MF ".deps/gvjobs.Tpo" -c -o gvjobs.lo gvjobs.c; \ then mv -f ".deps/gvjobs.Tpo" ".deps/gvjobs.Plo"; else rm -f ".deps/gvjobs.Tpo"; exit 1; fi
gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I../../lib/common -I../../lib/pathplan -I../../lib/graph -I../
../lib/cdt -DGVLIBDIR=\"/opt/local/lib/graphviz\" -I/opt/local/include -I/opt/local/include -g -O2 -fno-common -Wall -DNDEBUG -MT gvjobs.lo -MD -MP -MF .deps/gvjobs.Tpo -c gvjobs.c -fno- common -DPIC -o .libs/gvjobs.o
gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I../../lib/common -I../../lib/pathplan -I../../lib/graph -I../
../lib/cdt -DGVLIBDIR=\"/opt/local/lib/graphviz\" -I/opt/local/include -I/opt/local/include -g -O2 -fno-common -Wall -DNDEBUG -MT gvjobs.lo -MD -MP -MF .deps/gvjobs.Tpo -c gvjobs.c -o gvjobs.o
/dev/null 2>&1
if /bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I../../ lib/common -I../../lib/pathplan -I../../lib/graph -I../../lib/cdt -DGVLIBDIR=\"/opt/local/lib/ graphviz\" -I/opt/local/include -I/opt/local/include -g -O2 -fno-common -Wall -DNDEBUG -MT gvevent.lo -MD -MP -MF ".deps/gvevent.Tpo" -c -o gvevent.lo gvevent.c; \ then mv -f ".deps/gvevent.Tpo" ".deps/gvevent.Plo"; else rm -f ".deps/gvevent.Tpo"; exit 1; fi
gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I../../lib/common -I../../lib/pathplan -I../../lib/graph -I../
../lib/cdt -DGVLIBDIR=\"/opt/local/lib/graphviz\" -I/opt/local/include -I/opt/local/include -g -O2 -fno-common -Wall -DNDEBUG -MT gvevent.lo -MD -MP -MF .deps/gvevent.Tpo -c gvevent.c -fno- common -DPIC -o .libs/gvevent.o
gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I../../lib/common -I../../lib/pathplan -I../../lib/graph -I../
../lib/cdt -DGVLIBDIR=\"/opt/local/lib/graphviz\" -I/opt/local/include -I/opt/local/include -g -O2 -fno-common -Wall -DNDEBUG -MT gvevent.lo -MD -MP -MF .deps/gvevent.Tpo -c gvevent.c -o gvevent.o >/dev/null 2>&1 if /bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I../../ lib/common -I../../lib/pathplan -I../../lib/graph -I../../lib/cdt -DGVLIBDIR=\"/opt/local/lib/ graphviz\" -I/opt/local/include -I/opt/local/include -g -O2 -fno-common -Wall -DNDEBUG -MT gvplugin.lo -MD -MP -MF ".deps/gvplugin.Tpo" -c -o gvplugin.lo gvplugin.c; \ then mv -f ".deps/gvplugin.Tpo" ".deps/gvplugin.Plo"; else rm -f ".deps/gvplugin.Tpo"; exit 1; fi
gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I../../lib/common -I../../lib/pathplan -I../../lib/graph -I../
../lib/cdt -DGVLIBDIR=\"/opt/local/lib/graphviz\" -I/opt/local/include -I/opt/local/include -g -O2 -fno-common -Wall -DNDEBUG -MT gvplugin.lo -MD -MP -MF .deps/gvplugin.Tpo -c gvplugin.c -fno-common -DPIC -o .libs/gvplugin.o
gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I../../lib/common -I../../lib/pathplan -I../../lib/graph -I../
../lib/cdt -DGVLIBDIR=\"/opt/local/lib/graphviz\" -I/opt/local/include -I/opt/local/include -g -O2 -fno-common -Wall -DNDEBUG -MT gvplugin.lo -MD -MP -MF .deps/gvplugin.Tpo -c gvplugin.c -o gvplugin.o >/dev/null 2>&1 if /bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I../../ lib/common -I../../lib/pathplan -I../../lib/graph -I../../lib/cdt -DGVLIBDIR=\"/opt/local/lib/ graphviz\" -I/opt/local/include -I/opt/local/include -g -O2 -fno-common -Wall -DNDEBUG -MT gvconfig.lo -MD -MP -MF ".deps/gvconfig.Tpo" -c -o gvconfig.lo gvconfig.c; \ then mv -f ".deps/gvconfig.Tpo" ".deps/gvconfig.Plo"; else rm -f ".deps/gvconfig.Tpo"; exit 1; fi
gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I../../lib/common -I../../lib/pathplan -I../../lib/graph -I../
../lib/cdt -DGVLIBDIR=\"/opt/local/lib/graphviz\" -I/opt/local/include -I/opt/local/include -g -O2 -fno-common -Wall -DNDEBUG -MT gvconfig.lo -MD -MP -MF .deps/gvconfig.Tpo -c gvconfig.c -fno-common -DPIC -o .libs/gvconfig.o In file included from gvconfig.c:24: /usr/include/regex.h:68: error: parse error before "regoff_t" /usr/include/regex.h:78: error: parse error before "regoff_t" /usr/include/regex.h:124: error: parse error before "regmatch_t" make[3]: * [gvconfig.lo] Error 1 make[2]: * [all-recursive] Error 1 make[1]: * [all-recursive] Error 1 make: * [all] Error 2
Attachments (1)
Change History (5)
Changed 19 years ago by g3zi7y.wu72nfp@…
Attachment: | Portfile.diff added |
---|
comment:1 Changed 19 years ago by mww@…
Cc: | gwright@… removed |
---|---|
Owner: | changed from darwinports-bugs@… to gwright@… |
Summary: | graphviz fails to build → BUG: graphviz fails to build |
comment:2 Changed 19 years ago by lars_brueckner@…
(In reply to comment #1)
Created an attachment (id=4993) [edit]
Hello,
I had the same failure (OS X 10.3 too) and the patch fixed it for me too.
Thanks!
comment:3 Changed 19 years ago by g3zi7y.wu72nfp@…
Owner: | changed from gwright@… to darwinports-bugs@… |
---|
The proposed patch has not been committed by the maintainer
comment:4 Changed 19 years ago by gwright@…
Resolution: | → fixed |
---|---|
Status: | new → closed |
Hi,
The patch is applied. Sorry it took so long, it got lost with some other (unrelated) bug reports.
It you assign the bug to me in the original bug report, it is less likely to be overlooked since it appears on my bug list in the bugzilla. (This is more reliable than sending me an email copy.)
Thanks for the patch!
-Greg
proposed patch file