Opened 12 years ago

Closed 12 years ago

#19447 closed defect (fixed)

pango: upgrading to pango @1.24.1_1 fails building docs using variants +no_x11 +quartz

Reported by: dbevans (David B. Evans) Owned by: ryandesign (Ryan Schmidt)
Priority: Normal Milestone:
Component: ports Version: 1.7.1
Keywords: gtk-doc Cc: mamoll (Mark Moll), ctwise@…, pedjany@…
Port: pango, pango-devel


build fails as follows

gtk-doc: Compiling scanner
libtool: compile:  /usr/bin/gcc-4.0 -DPANGO_ENABLE_BACKEND -DPANGO_ENABLE_ENGINE -I.. -D_REENTRANT -I/opt/gtk/include/glib-2.0 -I/opt/gtk/lib/glib-2.0/include -I/opt/gtk/include -I/opt/gtk/include/cairo -I/opt/gtk/include/pixman-1 -I/opt/gtk/include/freetype2 -I/opt/gtk/include -I/opt/gtk/include/libpng12 -I/opt/gtk/include/freetype2 -I/opt/gtk/include -I/opt/gtk/include -I/opt/gtk/include -no-cpp-precomp -I/usr/X11R6/include -O2 -Wall -O2 -Wall -c pango-scan.c  -fno-common -DPIC -o .libs/pango-scan.o
libtool: compile:  /usr/bin/gcc-4.0 -DPANGO_ENABLE_BACKEND -DPANGO_ENABLE_ENGINE -I.. -D_REENTRANT -I/opt/gtk/include/glib-2.0 -I/opt/gtk/lib/glib-2.0/include -I/opt/gtk/include -I/opt/gtk/include/cairo -I/opt/gtk/include/pixman-1 -I/opt/gtk/include/freetype2 -I/opt/gtk/include -I/opt/gtk/include/libpng12 -I/opt/gtk/include/freetype2 -I/opt/gtk/include -I/opt/gtk/include -I/opt/gtk/include -no-cpp-precomp -I/usr/X11R6/include -O2 -Wall -O2 -Wall -c pango-scan.c -o pango-scan.o >/dev/null 2>&1
gtk-doc: Linking scanner
libtool: link: /usr/bin/gcc-4.0 -O2 -Wall -bind_at_load -o .libs/pango-scan .libs/pango-scan.o -bind_at_load  -L/opt/gtk/lib -L/usr/X11R6/lib ../pango/.libs/libpangocairo-1.0.dylib /opt/gtk/lib/libcairo.dylib /opt/gtk/lib/libpixman-1.dylib /opt/gtk/lib/libpng12.dylib /opt/gtk/var/macports/build/_opt_macports_trunk_dports_x11_pango/work/pango-1.24.1/pango/.libs/libpangoft2-1.0.dylib /opt/gtk/var/macports/build/_opt_macports_trunk_dports_x11_pango/work/pango-1.24.1/pango/.libs/libpango-1.0.dylib /opt/gtk/lib/libgobject-2.0.dylib /opt/gtk/lib/libgmodule-2.0.dylib /opt/gtk/lib/libglib-2.0.dylib /opt/gtk/lib/libintl.dylib -lc -lm /opt/gtk/lib/libfontconfig.dylib /opt/gtk/lib/libiconv.dylib /opt/gtk/lib/libexpat.dylib /opt/gtk/lib/libfreetype.dylib -lz -framework Cocoa -framework Carbon -framework CoreFoundation 
/usr/libexec/gcc/powerpc-apple-darwin8/4.0.1/ld: Undefined symbols:
collect2: ld returned 1 exit status
Linking of scanner failed: 
make[3]: *** [scan-build.stamp] Error 1
make[2]: *** [all] Error 2
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

Change History (7)

comment:1 Changed 12 years ago by mamoll (Mark Moll)

Cc: mmoll@… added

Cc Me!

comment:2 Changed 12 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

comment:3 Changed 12 years ago by ctwise@…

Cc: ctwise@… added

Cc Me!

comment:4 Changed 12 years ago by pedjany@…

Cc: pedjany@… added

Cc Me!

comment:5 Changed 12 years ago by pedjany@…

Having the same problem. Pango builds fine without the +no_x11 option (provided cairo was built the same
way), but breaks with the error above when +no_x11 option is present. Since building gtk2 with +quartz
option requires pango to be built with +no_x11 option, this makes building and using gtk2 without X
currently impossible.

comment:6 Changed 12 years ago by dbevans (David B. Evans)

Keywords: gtk-doc added

Note that the same thing happens when pango is built +system_x11.

It appears that just providing gtk-doc as a build dependency is sufficient to fix the previous build problem so perhaps rebuilding the docs with it should be disabled for now.

comment:7 Changed 12 years ago by ryandesign (Ryan Schmidt)

Port: pango-devel added
Resolution: fixed
Status: newclosed

Sorry about that. Should be fixed in r50351.

Note: See TracTickets for help on using tickets.