Opened 11 years ago

Closed 6 years ago

#37730 closed defect (worksforme)

cairo: fatal error: 'glib-object.h' file not found

Reported by: jeepfreak2002@… Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version: 2.1.2
Keywords: Cc:
Port: cairo

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

For some reason my iMac hates Macports and wine. I've installed wine on 3 macbooks flawlessly.

my iMac running server is a disaster. I posted an earlier tickect, and learned hoe to "force" the port, but now cairo just bobms out. I have no idea why my Mac is being so stubborn. Is it possible the "Server" is mucking it up?

ty

.  Unable to activate port xorg-libXext. Use 'port -f activate xorg-libXext' to force the activation.
Error: Failed to install xorg-libXext
Please see the log file for port xorg-libXext for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_x11_xorg-libXext/xorg-libXext/main.log
Error: The following dependencies were not installed: gst-plugins-base gnome-vfs gconf gtk2 atk gobject-introspection cairo xorg-libXext xorg-xcb-util xrender xorg-renderproto libffi gdk-pixbuf2 jasper jpeg tiff hicolor-icon-theme pango Xft2 perl5 perl5.12 gdbm shared-mime-info xorg-libXcomposite xorg-compositeproto xorg-libXfixes xorg-fixesproto xorg-libXcursor xorg-libXdamage xorg-damageproto xorg-libXi xorg-inputproto xorg-libXinerama xorg-xineramaproto xorg-libXrandr xorg-randrproto intltool p5.12-getopt-long p5.12-pathtools p5.12-scalar-list-utils p5.12-xml-parser orbit2 libidl policykit eggdbus gnome-mime-data gstreamer bison m4 flex gzip libtheora libvorbis libogg orc xorg-libice xorg-libsm lcms libxslt mesa makedepend py27-libxml2 xorg-dri2proto xorg-glproto xorg-libXmu xorg-libXt xorg-libXxf86vm xorg-xf86vidmodeproto
To report a bug, follow the instructions in the guide:
    http://guide.macports.org/#project.tickets
Error: Processing of port wine failed
rice:~ missmegan1225$ sudo port -f activate xorg-libXext
--->  Computing dependencies for xorg-libXext
--->  Activating xorg-libXext @1.3.1_0+universal
Warning: File /opt/local/lib/libXext.6.dylib already exists.  Moving to: /opt/local/lib/libXext.6.dylib.mp_1358774788.
Warning: File /opt/local/lib/libXext.a already exists.  Moving to: /opt/local/lib/libXext.a.mp_1358774788.
Warning: File /opt/local/lib/libXext.dylib already exists.  Moving to: /opt/local/lib/libXext.dylib.mp_1358774788.
Warning: File /opt/local/lib/libXext.la already exists.  Moving to: /opt/local/lib/libXext.la.mp_1358774788.
Warning: File /opt/local/lib/pkgconfig/xext.pc already exists.  Moving to: /opt/local/lib/pkgconfig/xext.pc.mp_1358774788.
--->  Cleaning xorg-libXext
rice:~ missmegan1225$ sudo port install wine
--->  Computing dependencies for wine
--->  Dependencies to be installed: gst-plugins-base gnome-vfs gconf gtk2 atk gobject-introspection cairo xorg-xcb-util xrender xorg-renderproto libffi gdk-pixbuf2 jasper jpeg tiff hicolor-icon-theme pango Xft2 perl5 perl5.12 gdbm shared-mime-info xorg-libXcomposite xorg-compositeproto xorg-libXfixes xorg-fixesproto xorg-libXcursor xorg-libXdamage xorg-damageproto xorg-libXi xorg-inputproto xorg-libXinerama xorg-xineramaproto xorg-libXrandr xorg-randrproto intltool p5.12-getopt-long p5.12-pathtools p5.12-scalar-list-utils p5.12-xml-parser orbit2 libidl policykit eggdbus gnome-mime-data gstreamer bison m4 flex gzip libtheora libvorbis libogg orc xorg-libice xorg-libsm lcms libxslt mesa makedepend py27-libxml2 xorg-dri2proto xorg-glproto xorg-libXmu xorg-libXt xorg-libXxf86vm xorg-xf86vidmodeproto
--->  Fetching archive for xorg-xcb-util
--->  Attempting to fetch xorg-xcb-util-0.3.9_0+universal.darwin_12.i386-x86_64.tbz2 from http://packages.macports.org/xorg-xcb-util
--->  Attempting to fetch xorg-xcb-util-0.3.9_0+universal.darwin_12.i386-x86_64.tbz2.rmd160 from http://packages.macports.org/xorg-xcb-util
--->  Installing xorg-xcb-util @0.3.9_0+universal
--->  Activating xorg-xcb-util @0.3.9_0+universal
--->  Cleaning xorg-xcb-util
--->  Fetching archive for xorg-renderproto
--->  Attempting to fetch xorg-renderproto-0.11.1_0.darwin_12.noarch.tbz2 from http://packages.macports.org/xorg-renderproto
--->  Attempting to fetch xorg-renderproto-0.11.1_0.darwin_12.noarch.tbz2.rmd160 from http://packages.macports.org/xorg-renderproto
--->  Installing xorg-renderproto @0.11.1_0
--->  Activating xorg-renderproto @0.11.1_0
--->  Cleaning xorg-renderproto
--->  Fetching archive for xrender
--->  Attempting to fetch xrender-0.9.7_0+universal.darwin_12.i386-x86_64.tbz2 from http://packages.macports.org/xrender
--->  Attempting to fetch xrender-0.9.7_0+universal.darwin_12.i386-x86_64.tbz2.rmd160 from http://packages.macports.org/xrender
--->  Installing xrender @0.9.7_0+universal
--->  Activating xrender @0.9.7_0+universal
--->  Cleaning xrender
--->  Fetching archive for cairo
--->  Attempting to fetch cairo-1.12.10_1+universal+x11.darwin_12.i386-x86_64.tbz2 from http://packages.macports.org/cairo
--->  Attempting to fetch cairo-1.12.10_1+universal+x11.darwin_12.i386-x86_64.tbz2 from http://mse.uk.packages.macports.org/sites/packages.macports.org/cairo
--->  Attempting to fetch cairo-1.12.10_1+universal+x11.darwin_12.i386-x86_64.tbz2 from http://lil.fr.packages.macports.org/cairo
--->  Attempting to fetch cairo-1.12.10_1+universal+x11.darwin_12.i386-x86_64.tbz2 from http://jog.id.packages.macports.org/macports/packages/cairo
--->  Fetching distfiles for cairo
--->  Attempting to fetch cairo-1.12.10.tar.xz from http://ykf.ca.distfiles.macports.org/MacPorts/mpdistfiles/cairo
--->  Verifying checksum(s) for cairo
--->  Extracting cairo
--->  Applying patches to cairo
--->  Configuring cairo
--->  Building cairo
Error: org.macports.build for port cairo returned: command execution failed
Error: Failed to install cairo
Please see the log file for port cairo for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_cairo/cairo/main.log
Error: The following dependencies were not installed: gst-plugins-base gnome-vfs gconf gtk2 atk gobject-introspection cairo libffi gdk-pixbuf2 jasper jpeg tiff hicolor-icon-theme pango Xft2 perl5 perl5.12 gdbm shared-mime-info xorg-libXcomposite xorg-compositeproto xorg-libXfixes xorg-fixesproto xorg-libXcursor xorg-libXdamage xorg-damageproto xorg-libXi xorg-inputproto xorg-libXinerama xorg-xineramaproto xorg-libXrandr xorg-randrproto intltool p5.12-getopt-long p5.12-pathtools p5.12-scalar-list-utils p5.12-xml-parser orbit2 libidl policykit eggdbus gnome-mime-data gstreamer bison m4 flex gzip libtheora libvorbis libogg orc xorg-libice xorg-libsm lcms libxslt mesa makedepend py27-libxml2 xorg-dri2proto xorg-glproto xorg-libXmu xorg-libXt xorg-libXxf86vm xorg-xf86vidmodeproto
To report a bug, follow the instructions in the guide:
    http://guide.macports.org/#project.tickets
Error: Processing of port wine failed
rice:~ missmegan1225$ sudo port install wine
--->  Computing dependencies for wine
--->  Dependencies to be installed: gst-plugins-base gnome-vfs gconf gtk2 atk gobject-introspection cairo libffi gdk-pixbuf2 jasper jpeg tiff hicolor-icon-theme pango Xft2 perl5 perl5.12 gdbm shared-mime-info xorg-libXcomposite xorg-compositeproto xorg-libXfixes xorg-fixesproto xorg-libXcursor xorg-libXdamage xorg-damageproto xorg-libXi xorg-inputproto xorg-libXinerama xorg-xineramaproto xorg-libXrandr xorg-randrproto intltool p5.12-getopt-long p5.12-pathtools p5.12-scalar-list-utils p5.12-xml-parser orbit2 libidl policykit eggdbus gnome-mime-data gstreamer bison m4 flex gzip libtheora libvorbis libogg orc xorg-libice xorg-libsm lcms libxslt mesa makedepend py27-libxml2 xorg-dri2proto xorg-glproto xorg-libXmu xorg-libXt xorg-libXxf86vm xorg-xf86vidmodeproto
--->  Building cairo
Error: org.macports.build for port cairo returned: command execution failed
Error: Failed to install cairo
Please see the log file for port cairo for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_cairo/cairo/main.log
Error: The following dependencies were not installed: gst-plugins-base gnome-vfs gconf gtk2 atk gobject-introspection cairo libffi gdk-pixbuf2 jasper jpeg tiff hicolor-icon-theme pango Xft2 perl5 perl5.12 gdbm shared-mime-info xorg-libXcomposite xorg-compositeproto xorg-libXfixes xorg-fixesproto xorg-libXcursor xorg-libXdamage xorg-damageproto xorg-libXi xorg-inputproto xorg-libXinerama xorg-xineramaproto xorg-libXrandr xorg-randrproto intltool p5.12-getopt-long p5.12-pathtools p5.12-scalar-list-utils p5.12-xml-parser orbit2 libidl policykit eggdbus gnome-mime-data gstreamer bison m4 flex gzip libtheora libvorbis libogg orc xorg-libice xorg-libsm lcms libxslt mesa makedepend py27-libxml2 xorg-dri2proto xorg-glproto xorg-libXmu xorg-libXt xorg-libXxf86vm xorg-xf86vidmodeproto
To report a bug, follow the instructions in the guide:
    http://guide.macports.org/#project.tickets
Error: Processing of port wine failed

Attachments (1)

main.log (15.0 KB) - added by jeepfreak2002@… 11 years ago.
cairo log

Download all attachments as: .zip

Change History (3)

Changed 11 years ago by jeepfreak2002@…

Attachment: main.log added

cairo log

comment:1 Changed 11 years ago by ryandesign (Ryan Carsten Schmidt)

Description: modified (diff)
Owner: changed from macports-tickets@… to ryandesign@…
Port: cairo added
Summary: Wine port repeatedly is requiring me to "force port", now cairo fails without instruction to force it to installcairo: fatal error: 'glib-object.h' file not found

In #37718 I already referred you to the documentation about why MacPorts is repeatedly asking you to force the installation of ports, in which the suggested solution is to uninstall MacPorts and all ports, then reinstall. I still recommend you do that, including the part that says "To remove all remaining traces of MacPorts".

The cairo build log that you attached, though incomplete, says "fatal error: 'glib-object.h' file not found". glib-object.h should of course have been provided by the glib2 port which is a dependency of the cairo port. Please attach a new complete log if you are still experiencing this problem after uninstalling MacPorts and reinstalling.

Also, again, please use WikiFormatting and preview your ticket before submitting it to make sure you got it right.

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

Resolution: worksforme
Status: newclosed
Note: See TracTickets for help on using tickets.