Opened 15 years ago

Closed 15 years ago

Last modified 11 years ago

#21184 closed defect (invalid)

graphviz @2.24.0 Unable to build

Reported by: nicolas.forquet@… Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version: 1.8.0
Keywords: Cc:
Port: graphviz

Description (last modified by mf2k (Frank Schima))

While trying to install octave port, failled to build graphviz: (I've Xcode 3.1.3 installed)

Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_graphviz/work/graphviz-2.24.0" && /usr/bin/make -j1 all " returned error 2
Command output: make[3]: Nothing to be done for `all'.
Making all in devil
make[3]: Nothing to be done for `all'.
Making all in gd
make[3]: Nothing to be done for `all'.
Making all in gdk_pixbuf
make[3]: Nothing to be done for `all'.
Making all in gdiplus
make[3]: Nothing to be done for `all'.
Making all in glitz
make[3]: Nothing to be done for `all'.
Making all in gs
make[3]: Nothing to be done for `all'.
Making all in gtk
make[3]: Nothing to be done for `all'.
Making all in lasi
make[3]: Nothing to be done for `all'.
Making all in ming
make[3]: Nothing to be done for `all'.
Making all in pango
make[3]: Nothing to be done for `all'.
Making all in quartz
/bin/sh ../../libtool --tag=CC   --mode=compile /usr/bin/gcc-4.0 -DHAVE_CONFIG_H -I. -I../..  -I../.. -I../../lib/common -I../../lib/pathplan -I../../lib/gvc -I../../lib/graph -I../../lib/cdt  -I/opt/local/include -I/opt/local/include  -O2 -arch i386 -fno-common -Wall -MT gvdevice_quartz.lo -MD -MP -MF .deps/gvdevice_quartz.Tpo -c -o gvdevice_quartz.lo gvdevice_quartz.c
 /usr/bin/gcc-4.0 -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/pathplan -I../../lib/gvc -I../../lib/graph -I../../lib/cdt -I/opt/local/include -I/opt/local/include -O2 -arch i386 -fno-common -Wall -MT gvdevice_quartz.lo -MD -MP -MF .deps/gvdevice_quartz.Tpo -c gvdevice_quartz.c  -fno-common -DPIC -o .libs/gvdevice_quartz.o
In file included from gvdevice_quartz.c:23:
gvplugin_quartz.h:20:26: error: Availability.h: No such file or directory
make[3]: *** [gvdevice_quartz.lo] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

Error: Status 1 encountered during processing.

Attachments (1)

graphviz.txt.bz2 (23.3 KB) - added by nicolas.forquet@… 15 years ago.

Download all attachments as: .zip

Change History (9)

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

Description: modified (diff)
Owner: changed from macports-tickets@… to ryandesign@…

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

It works fine for me. Can you please clean graphviz and try again with the debug switch and disabling the parallel build:

sudo port clean graphviz
sudo port -d install graphviz build.jobs=1 2>&1 | tee ~/Desktop/graphviz.txt
bzip2 ~/Desktop/graphviz.txt.bz2

Then attach graphviz.txt.bz2 from your desktop to this ticket, and I'll compare your output with mine.

comment:3 Changed 15 years ago by ryandesign (Ryan Carsten Schmidt)

Does /usr/include/Availability.h exist on your system?

Changed 15 years ago by nicolas.forquet@…

Attachment: graphviz.txt.bz2 added

comment:4 Changed 15 years ago by nicolas.forquet@…

I added the file... I dont have /usr/include/Availability.h on my machine (only AvailabilityMacros.h)

comment:5 Changed 15 years ago by ryandesign (Ryan Carsten Schmidt)

/usr/include/Availability.h should exist. It is provided by Apple, but I'm not sure whether it's part of the OS or part of Xcode. Try reinstalling Xcode 3.1.3 since that's easier than reinstalling the OS.

comment:6 Changed 15 years ago by nicolas.forquet@…

Problem fixed... while installing Xcode 3.1.3 first time I unchecked Unix Development Support that caused /usr/include/Availability.h not to be installed. Thanks for your very quick and efficient comments

Regards,

comment:7 Changed 15 years ago by mf2k (Frank Schima)

Resolution: invalid
Status: newclosed

comment:8 Changed 11 years ago by cooljeanius (Eric Gallager)

The CarbonHeaders port introduced in r104661 includes an Availability.h header, too, btw

Note: See TracTickets for help on using tickets.