Opened 6 years ago

Closed 6 years ago

#57666 closed defect (fixed)

xcircuit-devel 3.10.12 fails to find <cairo/cairo-xlib.h>

Reported by: neilt (Neil Tiffin) Owned by: kurthindenburg (Kurt Hindenburg)
Priority: Normal Milestone:
Component: ports Version: 2.5.4
Keywords: Cc: neilt (Neil Tiffin), chrstphrchvz (Christopher Chavez)
Port: xcircuit xcircuit-devel

Description

sudo port install xcircuit-devel
--->  Computing dependencies for xcircuit-devel
--->  Fetching archive for xcircuit-devel
--->  Attempting to fetch xcircuit-devel-3.10.12_0.darwin_18.x86_64.tbz2 from https://packages.macports.org/xcircuit-devel
--->  Attempting to fetch xcircuit-devel-3.10.12_0.darwin_18.x86_64.tbz2 from http://sea.us.packages.macports.org/macports/packages/xcircuit-devel
--->  Attempting to fetch xcircuit-devel-3.10.12_0.darwin_18.x86_64.tbz2 from http://ywg.ca.packages.macports.org/mirror/macports/packages/xcircuit-devel
--->  Fetching distfiles for xcircuit-devel
--->  Attempting to fetch xcircuit-3.10.12.tgz from https://distfiles.macports.org/xcircuit
--->  Verifying checksums for xcircuit-devel
--->  Extracting xcircuit-devel
--->  Configuring xcircuit-devel
--->  Building xcircuit-devel
Error: Failed to build xcircuit-devel: command execution failed
Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_x11_xcircuit-devel/xcircuit-devel/main.log for details.
Error: Follow https://guide.macports.org/#project.tickets to report a bug.
Error: Processing of port xcircuit-devel failed
:info:build /usr/bin/clang -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"xcircuit\" -DVERSION=\"3.10\" -DHAVE_LIBM=1 -DSTDC
_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DSIZEOF_VOID_P=8 -DSIZEOF_UNSIGNED_INT=
4 -DSIZEOF_UNSIGNED_LONG=8 -DSIZEOF_UNSIGNED_LONG_LONG=8 -DHAVE_LIBXT=1 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_DIRENT_H=1 -DHAVE_LIBZ=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DHAVE_U_CHAR=1 -DHAVE_X11_XPM_H
=1 -DHAVE_XPM=1 -DHAVE_CAIRO=1 -DHAVE_GHOSTSCRIPT_GDEVDSP_H=1 -DHAVE_GS=1 -DLGF=1 -DINPUT_FOCUS=1 -DGS_EXEC=\"/opt/local/bin/gs\" -DSPICE_EXEC=\"ngspice\" -DTCL_WRAPPER=1 -DPROG_VERSION=\"3.10\" -DPROG_REVISION=\"12\" -DC
AD_DIR=\"/opt/local/lib\" -DTEMP_DIR=\"/tmp\" -DRESOURCES_DIR=\"/opt/local/lib/xcircuit-3.10/app-defaults\" -DSCRIPTS_DIR=\"/opt/local/lib/xcircuit-3.10\" -DBUILTINS_DIR=\"/opt/local/lib/xcircuit-3.10\" -DBUILTINS_FILE=\"
\" -DUSER_RC_FILE=\".xcircuitrc\" -DPROLOGUE_DIR=\"/opt/local/lib/xcircuit-3.10\" -DPROLOGUE_FILE=\"xcircps2.pro\" -DCYRILLIC_ENC_FILE=\"cyrillic.enc\" -DISOLATIN2_ENC_FILE=\"isolatin2.enc\" -DISOLATIN5_ENC_FILE=\"isolati
n5.enc\" -DSTARTUP_FILE=\"xcstartup.tcl\" -DLGF_LIB=\"lgf.lps\" -DASG_SPICE_LIB=\"asg_spice.lps\" -I. -IXw -I/opt/local/include -I/opt/local/include  -I/opt/local/include -isysroot/Applications/Xcode.app/Contents/Develope
r/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk  -I/opt/local/include -I/opt/local/include/cairo -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include/pixman-1 -I/opt/local/includ
e/ossp -I/opt/local/include/freetype2 -I/opt/local/include/libpng16 -I/opt/local/include/ossp -I/opt/local/include/freetype2 -I/opt/local/include/libpng16  -pipe -Os -Wno-return-type -isysroot/Applications/Xcode.app/Conte
nts/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk -arch x86_64 -Wno-pointer-sign -fno-common  -c -o functions.o functions.c
:info:build events.c:31:10: fatal error: 'cairo/cairo-xlib.h' file not found
:info:build #include <cairo/cairo-xlib.h>
:info:build          ^~~~~~~~~~~~~~~~~~~~

Attachments (1)

main.log (122.6 KB) - added by neilt (Neil Tiffin) 6 years ago.
Error log file.

Download all attachments as: .zip

Change History (8)

comment:1 Changed 6 years ago by Schamschula (Marius Schamschula)

Cc: kurthindenburg removed
Owner: set to kurthindenburg
Status: newassigned

Please attach full main.log!

comment:2 Changed 6 years ago by mf2k (Frank Schima)

Keywords: xcircuit cairo removed

Changed 6 years ago by neilt (Neil Tiffin)

Attachment: main.log added

Error log file.

comment:3 Changed 6 years ago by neilt (Neil Tiffin)

Also note that the same error occurs for xcircuit.

comment:4 Changed 6 years ago by mf2k (Frank Schima)

Port: xcircuit added

comment:5 Changed 6 years ago by chrstphrchvz (Christopher Chavez)

From reporter's main.log:

129	:debug:main cairo 1.14.12_0 exists in the ports tree
130	:debug:main cairo 1.14.12_0 +quartz is the latest installed
131	:debug:main cairo 1.14.12_0 +quartz is active
132	:debug:main Merging existing variants '+quartz-x11' into variants

The reporter has cairo +quartz -x11 installed (the default variants are +quartz +x11), which does not contain cairo-xlib.h. I don't have any ideas why that's the case; +x11 has been a default variant for some time, and there aren't any ports or other cairo variants which forbid its +x11 variant.

I have opened a PR for xcircuit to enforce cairo +x11 being installed: https://github.com/macports/macports-ports/pull/3451

comment:6 Changed 6 years ago by chrstphrchvz (Christopher Chavez)

Cc: chrstphrchvz added

comment:7 Changed 6 years ago by chrstphrchvz (Christopher Chavez)

Resolution: fixed
Status: assignedclosed

In 13a73de8aa212e6358ae39e494ace887b3aa4f47/macports-ports (master):

xcircuit[-devel]: require +x11 variants of tk and cairo

Not compatible with tk +quartz
Copied from portfile for xcircuit
See #37203

Fixes #57666

Note: See TracTickets for help on using tickets.