[MacPorts] #37317: Pango build failure
MacPorts
noreply at macports.org
Wed Dec 19 15:28:54 PST 2012
#37317: Pango build failure
-----------------------------+--------------------------
Reporter: hasso.tepper@… | Owner: ryandesign@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.1.2
Resolution: | Keywords:
Port: pango |
-----------------------------+--------------------------
Comment (by ryandesign@…):
Replying to [comment:3 hasso.tepper@…]:
> At first - these errors you pointed out are "normal". They are there on
successful builds since ages.
Ok, then I guess the error to look at is:
{{{
:info:build g-ir-scanner: compile: /usr/bin/clang -arch x86_64
-D_REENTRANT -I/Volumes/BigDisk/MacPorts/include/glib-2.0
-I/Volumes/BigDisk/MacPorts/lib/glib-2.0/include
-I/Volumes/BigDisk/MacPorts/include
-I/Volumes/BigDisk/MacPorts/include/freetype2 -I.. -I..
-I/Volumes/BigDisk/MacPorts/include/glib-2.0
-I/Volumes/BigDisk/MacPorts/lib/glib-2.0/include
-I/Volumes/BigDisk/MacPorts/include
-I/Volumes/BigDisk/MacPorts/include/cairo
-I/Volumes/BigDisk/MacPorts/include/pixman-1
-I/Volumes/BigDisk/MacPorts/include/freetype2
-I/Volumes/BigDisk/MacPorts/include/libpng15 -c -o
/Volumes/BigDisk/macports/var/macports/build/_Volumes_BigDisk_MacPorts_var_macports_sources_rsync.macports.org_release_tarballs_ports_x11_pango/pango/work/pango-1.30.1/pango
/tmp-introspectMGet8l/PangoFT2-1.0.o
/Volumes/BigDisk/macports/var/macports/build/_Volumes_BigDisk_MacPorts_var_macports_sources_rsync.macports.org_release_tarballs_ports_x11_pango/pango/work/pango-1.30.1/pango
/tmp-introspectMGet8l/PangoFT2-1.0.c
:info:build Pango-1.0.gir:40:34: error: Line 40, character 34: The
attribute 'name' on the element 'type' must be specified
:info:build error parsing file Pango-1.0.gir: Line 40, character 34: The
attribute 'name' on the element 'type' must be specified
:info:build make[4]: *** [Pango-1.0.typelib] Error 1
:info:build make[4]: *** Waiting for unfinished jobs....
}}}
> But I also tried Xcode 3.2.6 on Snow Leopard and pango fails to build
there as well.
I still wonder what is different about your system, since on my Snow
Leopard system with Xcode 3.2.6 it builds fine.
> But I also found this -
https://bugzilla.gnome.org/show_bug.cgi?id=688356
>
> And this -
http://git.gnome.org/browse/pango/commit/?id=7274bd56db3ce2f02594687a307d22aa99c787c4
>
> I can confirm that this patch fixes the issue for me.
That bug was reported against glib 2.35.x but in MacPorts we have glib
2.34.x... unless you're using the glib2-devel port instead? Even so, I
installed glib2-devel on my Snow Leopard machine and was unable to
reproduce a pango build failure.
I'm might commit this patch anyway, since upstream has already put it in
their repository, but I would feel better about doing so if I could
reproduce the failure first and verify the patch fixes it.
What version of the gobject-introspection port do you have installed?
("port installed gobject-introspection" would tell you)
--
Ticket URL: <https://trac.macports.org/ticket/37317#comment:4>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list