Opened 4 years ago

Closed 4 years ago

#61337 closed defect (invalid)

graphviz @2.40.1_3+pangocairo+x11: error: unknown type name 'uuid_string_t'

Reported by: kneutron Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version: 2.6.3
Keywords: Cc:
Port: graphviz

Description (last modified by ryandesign (Ryan Carsten Schmidt))

Env: 2011 iMac, core i5, 20GB RAM, running High Sierra 10.13.6 from Samsung T5 external USB3 drive

On port update; port upgrade outdated I have been seeing this build error for about a month?

--->  Computing dependencies for graphviz
--->  Fetching archive for graphviz
--->  Attempting to fetch graphviz-2.40.1_3+pangocairo+x11.darwin_17.x86_64.tbz2 from https://packages.macports.org/graphviz
--->  Attempting to fetch graphviz-2.40.1_3+pangocairo+x11.darwin_17.x86_64.tbz2 from https://ywg.ca.packages.macports.org/mirror/macports/packages/graphviz/graphviz
--->  Attempting to fetch graphviz-2.40.1_3+pangocairo+x11.darwin_17.x86_64.tbz2 from https://mse.uk.packages.macports.org/graphviz
--->  Building graphviz
Error: Failed to build graphviz: command execution failed
Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_graphviz/graphviz/main.log for details.

(from above log)

:info:build In file included from /System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.fr
amework/Headers/HFSVolumes.h:25:
:info:build /usr/include/hfs/hfs_format.h:794:2: error: unknown type name 'uuid_string_t'; did you mean 'io_string_t'?
:info:build         uuid_string_t   ext_jnl_uuid;
:info:build         ^
:info:build /usr/include/device/device_types.h:89:16: note: 'io_string_t' declared here
:info:build typedef char                    io_string_t[512];
:info:build                                 ^
:info:build :
:info:build In file included from ./gvplugin_quartz.h:22:

Additional error:

:info:build In file included from /System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/HFSVolumes.h:25:
:info:build /usr/include/hfs/hfs_format.h:794:2: error: unknown type name 'uuid_string_t'; did you mean 'io_string_t'?
:info:build         uuid_string_t   ext_jnl_uuid;
:info:build         ^
:info:build /usr/include/device/device_types.h:89In file included from gvplugin_quartz.c:18:
:info:build In file included from ./gvplugin_quartz.h:22:

Additional:

:info:build In file included from /System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/HFSVolumes.h:25:
:info:build /usr/include/hfs/hfs_format.h:794:2: error: unknown type name 'uuid_string_t'; did you mean 'io_string_t'?
:info:build         uuid_string_t   ext_jnl_uuid;
:info:build         ^
:info:build /usr/include/device/device_types.h:89:16: note: 'io_string_t' declared here
:info:build typedef char                    io_string_t[512];       
:info:build                                 ^
:info:build :16: note: 'io_string_t' declared here
:info:build typedef char                    io_string_t[512];       
:info:build                                 ^
:info:build In file included from gvdevice_quartz.c:18:

Additional:

:info:build In file included from /System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/HFSVolumes.h:25:
:info:build /usr/include/hfs/hfs_format.h:796:20: error: use of undeclared identifier 'uuid_string_t'
:info:build         char            reserved[JIB_RESERVED_SIZE];
:info:build                                  ^
:info:build /usr/include/hfs/hfs_format.h:787:61: note: expanded from macro 'JIB_RESERVED_SIZE'
:info:build In file included from gvrender_quartz.c:32:

This is preventing ' port upgrade ' from completing properly

See attached logfile

Attachments (1)

graphviz.main.log.gz (175.2 KB) - added by kneutron 4 years ago.
/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_graphviz/graphviz/main.log gzipped

Download all attachments as: .zip

Change History (6)

Changed 4 years ago by kneutron

Attachment: graphviz.main.log.gz added

/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_graphviz/graphviz/main.log gzipped

comment:1 Changed 4 years ago by kencu (Ken)

Description: modified (diff)

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

Description: modified (diff)
Keywords: build error graphviz removed
Owner: set to ryandesign
Priority: HighNormal
Status: newassigned
Summary: Build error on graphviz 2.40.1_3+pangocairo+x11.darwin_17 error - unknown type name, and other build errors on High Sierra 10.13graphviz @2.40.1_3+pangocairo+x11: error: unknown type name 'uuid_string_t'

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

This shouldn't happen, of course, and I can't reproduce it on my system.

Do you have anything in /usr/local/include, /usr/local/lib? If so, try moving /usr/local aside, then sudo port clean graphviz and try again. Or clean graphviz and then try upgrading using trace mode, sudo port -t upgrade graphviz. See wiki:FAQ#usrlocal.

comment:4 Changed 4 years ago by kneutron

# mv /usr/local /usr/locall
/usr/local -> /usr/locall
# port clean graphviz
--->  Cleaning graphviz
# port upgrade outdated
## Successful

--Merely cleaning the port did not fix it, but moving /usr/local out of the way did. I also have Brew packages installed, maybe it hit a conflict?

Anyhow, thanks for the quick response :). I think this can be closed.

Last edited 4 years ago by ryandesign (Ryan Carsten Schmidt) (previous) (diff)

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

Resolution: invalid
Status: assignedclosed

Glad you got it figured out.

Indeed, software you install with Homebrew can cause problems for software you want to build with MacPorts and vice versa. For this reason we don't recommend trying to use two package managers on the same computer; instead, pick one and uninstall the other and any software you had installed with it. Of course we'd be delighted if MacPorts is the one you choose to keep, and if there's any software you need that's not in MacPorts, feel free to file tickets requesting it be added, or if you're feeling adventurous you can try to add it yourself and send us a pull request.

Note: See TracTickets for help on using tickets.