The package x11-libs/pango-1.30.1 fails to build with the "introspection" USE flag enabled. I consistently see the following error when building it: <<<<< CCLD libpangocairo-1.0.la /var/tmp/portage/x11-libs/pango-1.30.1/work/pango-1.30.1/pango/pango-language-sample-table.h:52: syntax error, unexpected identifier in 'LANGUAGE(' at 'LANGUAGE' CCLD pango-querymodules Command '['/var/tmp/portage/x11-libs/pango-1.30.1/work/pango-1.30.1/pango/tmp-introspect7DCq78/Pango-1.0', '--introspect-dump=/var/tmp/portage/x11-libs/pango-1.30.1/work/pango-1.30.1/pango/tmp-introspect7DCq78/functions.txt,/var/tmp/portage/x11-libs/pango-1.30.1/work/pango-1.30.1/pango/tmp-introspect7DCq78/dump.xml']' returned non-zero exit status -11 make[4]: *** [Pango-1.0.gir] Error 1 make[4]: Leaving directory `/var/tmp/portage/x11-libs/pango-1.30.1/work/pango-1.30.1/pango' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/var/tmp/portage/x11-libs/pango-1.30.1/work/pango-1.30.1/pango' make[2]: *** [all] Error 2 make[2]: Leaving directory `/var/tmp/portage/x11-libs/pango-1.30.1/work/pango-1.30.1/pango' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/x11-libs/pango-1.30.1/work/pango-1.30.1' make: *** [all] Error 2 >>>>> Reproducible: Always Steps to Reproduce: 1. Enable the introspection USE for pango 2. Attempt to emerge pano 1.30.1 Actual Results: Build fails with error mentioned in the description Expected Results: The build to succeed. I can successfully build pango on the system with "-introspection" set as a USE flag on the system which it's failing. Interestingly, I have other ~amd64 systems with pango-1.30.1 compiled with "introspection" enabled, so I assume I need to rebuild some other package in order to proceed on this system. Other folks in the forums have encountered this issue with the proposed solution of disabling introspection (see URL provided).
# emerge --info Portage 2.1.11.5 (default/linux/amd64/10.0, gcc-4.6.3, glibc-2.15-r2, 3.4.4-gentoo x86_64) ================================================================= System uname: Linux-3.4.4-gentoo-x86_64-Intel-R-_Core-TM-2_Quad_CPU_Q9300_@_2.50GHz-with-gentoo-2.1 Timestamp of tree: Mon, 09 Jul 2012 11:00:01 +0000 ccache version 3.1.7 [enabled] app-shells/bash: 4.2_p29 dev-java/java-config: 2.1.12 dev-lang/python: 2.6.8, 2.7.3-r2, 3.1.3-r1, 3.2.3-r1 dev-util/ccache: 3.1.7 dev-util/cmake: 2.8.8-r3 dev-util/pkgconfig: 0.26 sys-apps/baselayout: 2.1-r1 sys-apps/openrc: 0.10.5 sys-apps/sandbox: 2.6 sys-devel/autoconf: 2.13, 2.69 sys-devel/automake: 1.4_p6-r1, 1.8.5-r3, 1.9.6-r3, 1.10.3, 1.11.5, 1.12.1 sys-devel/binutils: 2.22-r1 sys-devel/gcc: 4.3.4, 4.4.4-r1, 4.5.2, 4.6.3 sys-devel/gcc-config: 1.7.3 sys-devel/libtool: 2.4.2 sys-devel/make: 3.82-r3 sys-kernel/linux-headers: 3.4 (virtual/os-headers) sys-libs/glibc: 2.15-r2 Repositories: gentoo sunrise desktop-effects kde-sunset nick ACCEPT_KEYWORDS="amd64 ~amd64" ACCEPT_LICENSE="* -@EULA DOOM3 PUEL RTCW RTCW-ETEULA dlj-1.1 sun-bcla-java-vm skype-eula Oracle-BCLA-JavaSE AdobeFlash-10.3" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -march=native -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo" CXXFLAGS="-O2 -march=native -pipe" DISTDIR="/usr/portage/distfiles" FCFLAGS="-O2 -pipe" FEATURES="assume-digests binpkg-logs buildpkg ccache config-protect-if-modified distlocks ebuild-locks fixlafiles news nostrip notitles parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox" FFLAGS="-O2 -pipe" GENTOO_MIRRORS="http://distfiles.gentoo.org" LDFLAGS="-Wl,-O1 -Wl,--as-needed" LINGUAS="en_US" MAKEOPTS="-j8 -l10" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage/layman/sunrise /usr/local/portage/layman/desktop-effects /usr/local/portage/layman/kde-sunset /usr/local/portage/nick" SYNC="rsync://lisa/gentoo-portage" USE="X a52 aac acl acpi alsa amd64 avahi bash-completion berkdb bzip2 cairo cli cracklib crypt cups custom-cflags cxx dbus dri dvd dvdread en_US fame ffmpeg firefox flac fortran gdbm gnome gpm gtk2 hal iconv ieee1394 imagemagick imap imlib ipod ipv6 java joystick kde lirc mjpeg mmx mmxext mng modules mono mozilla mpeg mplayer mudflap multilib musicbrainz mysql ncurses network nls nptl nsplugin ogg opengl openmp pam pcre perl pertty php pppd python qt3support quicktime rar readline ruby screen seamonkey semantic-desktop session sse sse2 ssl tcpd thread threads truetype unicode upnp vdpau vorbis x264 xcomposite xine xml xml2 xmlrpc xorg xv xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="evdev keyboard mouse joystick" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en_US" PHP_TARGETS="php5-3" PYTHON_TARGETS="python3_2 python2_7" RUBY_TARGETS="ruby18 ruby19" SANE_BACKENDS="hp hp3500 hp3900 hp4200 hp5400 hp5590 hpljm1005 hpsj5s hs2p lexmark" USERLAND="GNU" VIDEO_CARDS="fbdev nv nvidia vesa" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Attach full build log, preferably a verbose one.
Created attachment 317818 [details] build log
OK, attach *verbose* build log. Which versions of glib (seems to be glib 2.32.x) and gobject-introspection are installed ?
I currently have glib-2.32.3 and gobject-introspection-1.32.1 installed. Sorry, I'm not clear as to what the steps are in order to make my build.log more verbose. Is there a feature or make environment variable I need to set outside of my emerge?
Emerge with 'V=1' - that's the standard in regard of automake silent rules.
Created attachment 317874 [details] verbose build log
Have you tried to rebuild gobject-introspection after glib update?
(In reply to comment #8) > Have you tried to rebuild gobject-introspection after glib update? Thanks for the suggestion, but unfortunately it didn't appear to work: # tail -36 /var/log/emerge.log | egrep 'emerge|exit' 1342044098: Started emerge on: Jul 11, 2012 15:01:37 1342044098: *** emerge glib 1342044107: >>> emerge (1 of 1) dev-libs/glib-2.32.3 to / 1342044189: ::: completed emerge (1 of 1) dev-libs/glib-2.32.3 to / 1342044191: *** exiting successfully. 1342044236: Started emerge on: Jul 11, 2012 15:03:55 1342044236: *** emerge --deep gobject-introspection 1342044252: >>> emerge (1 of 1) dev-libs/gobject-introspection-1.32.1 to / 1342044288: ::: completed emerge (1 of 1) dev-libs/gobject-introspection-1.32.1 to / 1342044291: *** exiting successfully. 1342044297: Started emerge on: Jul 11, 2012 15:04:56 1342044297: *** emerge pango 1342044306: >>> emerge (1 of 1) x11-libs/pango-1.30.1 to / 1342044333: *** exiting unsuccessfully with status '1'. The error was the same.
So tonight I revisited this issue, the compilation failed again, but this time I noticed that it corresponded with the following in the dmesg: Pango-1.0[11677]: segfault at ffffffffff700120 ip 00007fe2f8d5ad3b sp 00007fff99a42330 error 4 in libGL.so.260.19.36[7fe2f8cc7000+b7000] This machine hadn't updated its video driver in a while, so I went ahead and updated x11-drivers/nvidia-drivers from 260.19.36 to 302.17-r1 and I am now able to build pango successfully. I was experiencing the introspection failure with other packages (i.e. gtk+ or poppler) and they're building as well. So at least for me, the issue is resolved.
I can confirm this issue on a 32-bit (i686) machine. Nick's solution worked for me. I've also posted Nick's solution in the forums under the the two posts I found ther relating to this.
Bugged me a while, found Nicks solution in the Forum, and worked. maybe nvidia-drivers should be some kind of dependency for pango[introspection]...
(In reply to comment #12) > Bugged me a while, > found Nicks solution in the Forum, and worked. > maybe nvidia-drivers should be some kind of dependency for > pango[introspection]... Not because it doesn't affect to all people/hardware, but we can try to stabilize a fixed version for you. Does 295.71 work for you?
(In reply to comment #13) > Not because it doesn't affect to all people/hardware, but we can try to > stabilize a fixed version for you. Does 295.71 work for you? Well, actually i'm using 304.48 now. :blush: But wouldn't a virtual dependecy for libGL solve this Problem?
(In reply to comment #14) > But wouldn't a virtual dependecy for libGL solve this Problem? No; I believe it's specifically a bug in certain old versions of nvidia-drivers.
(In reply to comment #15) > (In reply to comment #14) > > But wouldn't a virtual dependecy for libGL solve this Problem? > > No; I believe it's specifically a bug in certain old versions of > nvidia-drivers. I think the same, I don't have any problem with current stable but, anyway, if you are suffering problems with that version, we can try to call nvidia maintainers for stabilizing a newer version
This is fixed then as it was a nvidia-drivers fault that was fixed by upstream in some newer release (without knowing the exact version that fixed it we cannot do much more apart of tell people, as usual, to not mix stable/testing versions of packages and try to run latest stable)
This problem actually remains for FreeBSD/Gentoo users. As with others who have run into this issue, emerging Xfce4-meta is out of the question, as are too many other gtk+ apps. emerge --info: Portage 2.2.0_alpha155 (default/bsd/fbsd/x86/9.0, gcc-4.5.3, freebsd-lib-9.0-r3, 9.0-RELEASE-p5 i386) ================================================================= System uname: FreeBSD-9.0-RELEASE-p5-i386-32bit-ELF KiB Mem: 2074592 total, 1355000 free KiB Swap: 4194292 total Timestamp of tree: Sat, 19 Jan 2013 08:30:01 +0000 ld GNU ld (GNU Binutils) 2.20.1.20100303 app-shells/bash: 4.2_p42 dev-lang/python: 2.7.3-r2, 3.2.3-r2 dev-util/cmake: 2.8.10.2-r1 dev-util/pkgconfig: 0.27.1 sys-apps/baselayout: 2.2 sys-apps/openrc: 0.11.8 sys-devel/autoconf: 2.69 sys-devel/automake: 1.9.6-r3, 1.11.6, 1.13.1 sys-devel/binutils: 2.20.1-r1 sys-devel/gcc: 4.5.3-r2 sys-devel/gcc-config: 1.8 sys-devel/libtool: 2.4.2 sys-devel/make: 3.82-r4 sys-freebsd/freebsd-lib: 9.0-r3 (virtual/os-headers) Repositories: gentoo Local_Portage_Overlay ACCEPT_KEYWORDS="x86-fbsd ~x86 ~x86-fbsd ~x86-freebsd" ACCEPT_LICENSE="* -@EULA AdobeFlash-10.3 Oracle-BCLA-JavaSE" CBUILD="i686-gentoo-freebsd9.1" CFLAGS="-O2 -march=prescott -pipe" CHOST="i686-gentoo-freebsd9.1" CONFIG_PROTECT="/etc" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/terminfo" CXXFLAGS="-O2 -march=prescott -pipe" DISTDIR="/usr/portage/distfiles" EMERGE_DEFAULT_OPTS="--autounmask=n --quiet-build=n" FCFLAGS="-march=i486 -O2 -pipe" FEATURES="assume-digests binpkg-logs chflags config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch" FFLAGS="-march=i486 -O2 -pipe" GENTOO_MIRRORS="http://distfiles.gentoo.org" INSTALL_MASK="/usr/lib/systemd" LDFLAGS="" MAKEOPTS="-j4" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X acl berkdb cracklib crypt cups cxx dri gdbm iconv java5 java6 modules ncurses nls oss pam pcre python readline ssl tcpd unicode x86-fbsd zlib" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="FreeBSD" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="keyboard mouse" KERNEL="FreeBSD" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en" PHP_TARGETS="php5-3" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_2" RUBY_TARGETS="ruby18 ruby19" USERLAND="BSD" VIDEO_CARDS="vesa" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" Unset: CPPFLAGS, CTARGET, LANG, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON Failure: g-ir-scanner: compile: gcc -Wall -pthread -D_THREAD_SAFE -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng15 -O2 -march=prescott -pipe -Wall -I.. -I.. -I/usr/include/freetype2 -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/libpng15 -c -o /var/tmp/portage/x11-libs/pango-1.30.1/work/pango-1.30.1/pango/tmp-introspectMgUTbQ/Pango-1.0.o /var/tmp/portage/x11-libs/pango-1.30.1/work/pango-1.30.1/pango/tmp-introspectMgUTbQ/Pango-1.0.c g-ir-scanner: link: /bin/sh ../libtool --mode=link --tag=CC gcc -o /var/tmp/portage/x11-libs/pango-1.30.1/work/pango-1.30.1/pango/tmp-introspectMgUTbQ/Pango-1.0 -export-dynamic -O2 -march=prescott -pipe -Wall /var/tmp/portage/x11-libs/pango-1.30.1/work/pango-1.30.1/pango/tmp-introspectMgUTbQ/Pango-1.0.o -L. libpango-1.0.la -pthread -Wl,--export-dynamic -lgio-2.0 -lgmodule-2.0 -lcairo -lgobject-2.0 -lffi -lpixman-1 -lfontconfig -lexpat -lpng15 -lm -lXrender -lXext -lglib-2.0 -lintl -liconv -lX11 -lxcb -lpthread-stubs -lXau -lXdmcp -lfreetype -lz libtool: link: gcc -o /var/tmp/portage/x11-libs/pango-1.30.1/work/pango-1.30.1/pango/tmp-introspectMgUTbQ/.libs/Pango-1.0 -O2 -march=prescott -pipe -Wall /var/tmp/portage/x11-libs/pango-1.30.1/work/pango-1.30.1/pango/tmp-introspectMgUTbQ/Pango-1.0.o -pthread -Wl,--export-dynamic -Wl,--export-dynamic -L. ./.libs/libpango-1.0.so -lgio-2.0 -lgmodule-2.0 -lcairo -lgobject-2.0 -lffi -lpixman-1 -lfontconfig -lexpat -lpng15 -lm -lXrender -lXext -lglib-2.0 -lintl /usr/lib/libiconv.so -lX11 -lxcb -lpthread-stubs -lXau -lXdmcp -lfreetype -lz -pthread Command '['/var/tmp/portage/x11-libs/pango-1.30.1/work/pango-1.30.1/pango/tmp-introspectMgUTbQ/Pango-1.0', '--introspect-dump=/var/tmp/portage/x11-libs/pango-1.30.1/work/pango-1.30.1/pango/tmp-introspectMgUTbQ/functions.txt,/var/tmp/portage/x11-libs/pango-1.30.1/work/pango-1.30.1/pango/tmp-introspectMgUTbQ/dump.xml']' returned non-zero exit status -11 gmake[4]: *** [Pango-1.0.gir] Error 1 gmake[4]: Leaving directory `/var/tmp/portage/x11-libs/pango-1.30.1/work/pango-1.30.1/pango' gmake[3]: *** [all-recursive] Error 1 gmake[3]: Leaving directory `/var/tmp/portage/x11-libs/pango-1.30.1/work/pango-1.30.1/pango' gmake[2]: *** [all] Error 2 gmake[2]: Leaving directory `/var/tmp/portage/x11-libs/pango-1.30.1/work/pango-1.30.1/pango' gmake[1]: *** [all-recursive] Error 1 gmake[1]: Leaving directory `/var/tmp/portage/x11-libs/pango-1.30.1/work/pango-1.30.1' gmake: *** [all] Error 2 * ERROR: x11-libs/pango-1.30.1 failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=x11-libs/pango-1.30.1'`, * the complete build log and the output of `emerge -pqv '=x11-libs/pango-1.30.1'`. * The complete build log is located at '/var/tmp/portage/x11-libs/pango-1.30.1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/x11-libs/pango-1.30.1/temp/environment'. * Working directory: '/var/tmp/portage/x11-libs/pango-1.30.1/work/pango-1.30.1' * S: '/var/tmp/portage/x11-libs/pango-1.30.1/work/pango-1.30.1'
Also note that if compiled with USE='-X -introspection', it will finish compilation. Turning on either X or introspection USE flags causes compilation failure.
@x86-bsd team, can you reproduce the problem?
Created attachment 336646 [details] pango-1.30.1 build with USE='-X -introspection' Build log 1
Created attachment 336648 [details] pango-1.30.1 build with USE='X introspection' Build log 2
Created attachment 336650 [details] pango-1.30.1 build with USE='-X introspection' Build log 3
Created attachment 336652 [details] pango-1.30.1 build with USE='X -introspection' Build log 4
Please consult last four attachments for complete build logs of pango under varying USE flag conditions.
Bob, what version of dev-libs/gobject-introspection are you using? Does updating to gobject-introspection-1.34.2-r1 and building pango-1.32.5 work?
(In reply to comment #26) > Bob, what version of dev-libs/gobject-introspection are you using? > > Does updating to gobject-introspection-1.34.2-r1 and building pango-1.32.5 > work? I can't take it up to that version of pango, as graphviz isn't ready for freebsd, at least if the KEYWORDS are anything to go by. Using --nodeps is also worthless, because one of the first things the pango installation does is look for graphviz. To answer your other question, I was using gobject-introspection1.34.2-r1. I could get any version of pango up to pango-1.30.1 to install as long as the USE flags were set '-X -introspection'. Pango-1.32.5 was right out, as I mention above. I don't know how much help I can be as that install is now borked due to another batch of bugs that turned what I thought would be a simple update via eselect profile into a need to re-install. For the sake of this bug, I'll install this mess again, but I'm seriously wondering how ready for prime time this setup actually is. I understand this is experimental, but it feels really broken, really, really broken. Oh well, what's life without a little intellectual challenge? Let me see about getting my installation back in order.
(In reply to comment #27) > I can't take it up to that version of pango, as graphviz isn't ready for > freebsd, at least if the KEYWORDS are anything to go by. Using --nodeps is > also worthless, because one of the first things the pango installation does > is look for graphviz. pango and its direct dependencies (cairo, freetype, fontconfig, harfbuzz) do not need graphviz. Probably you meant media-gfx/graphite2? That's not keyworded for ~x86-fbsd, but it is keywoded for x86 and ~x64-macos, so I think there is a good probability that you will be able to build it.
I have no issue building pango-1.30.1 (USE="X introspection") with dev-libs/gobject-introspection-1.32.1 on my Gentoo/FreeBSD box.
Firstly, I am glad that others can get this to work. After three installations under chroot sessions having the same issues, I have to say that clearly, you are not using the present stage-3. Secondly, I was incorrect about the package dependency that was the pango-1.32.5 issue. It is in fact graphite2 that is the issue, not graphviz as originally posted, to whit: root@bsd_lap $ emerge -av =x11-libs/pango-1.32.5 * IMPORTANT: 3 news items need reading for repository 'gentoo'. * Use eselect news to read news items. These are the packages that would be merged, in order: Calculating dependencies... done! !!! All ebuilds that could satisfy "media-gfx/graphite2" have been masked. !!! One of the following masked packages is required to complete your request: - media-gfx/graphite2-1.2.0::gentoo (masked by: missing keyword) (dependency required by "media-libs/harfbuzz-0.9.11" [ebuild]) (dependency required by "x11-libs/pango-1.32.5" [ebuild]) (dependency required by "=x11-libs/pango-1.32.5" [argument]) For more information, see the MASKED PACKAGES section in the emerge man page or refer to the Gentoo Handbook. Please note the LACK of ~fbsd-x86 fbsd-x86 in the following ebuild: # Copyright 1999-2013 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/media-gfx/graphite2/graphite2-1.2.0.ebuild,v 1.10 2013/01/06 09:45:04 ago Exp $ EAPI=4 PYTHON_DEPEND="test? 2" GENTOO_DEPEND_ON_PERL="no" inherit base cmake-utils perl-module python DESCRIPTION="Library providing rendering capabilities for complex non-Roman writing systems" HOMEPAGE="http://graphite.sil.org/" SRC_URI="mirror://sourceforge/silgraphite/${PN}/${P}.tgz" LICENSE="LGPL-2.1" SLOT="0" KEYWORDS="~alpha amd64 ~arm ~hppa ~ia64 ppc ~ppc64 ~sparc x86 ~amd64-linux ~x86-linux ~x64-macos ~x64-solaris" IUSE="perl test" --SNIP-- Yes, pango-1.32.5 may well be keyworded for fbsd, but a direct dependency of that package is NOT. That's a serious oversight. If anyone has it on their system, their fbsd-x86 or fbsd-amd64 system, then you have hacked the ebuild, or some such. If hacks are required to make this fly, it would be seriously helpful if that was noted somewhere in the documentation. It would even be better to make those hacked ebuilds freely available. I had to hack the glib ebuild because it wasn't finding the document creation package it wanted, which was installed. I understand writing bug reports, having to do a bit of this and a trifle of that, but I would expect to have something worthwhile at the end of the effort. As it is now, I have spent a couple weeks on this project, and am winding up in the same place. I'd like to play inside this environment on its own hard drive, but I'm not about to shuttle this all back out to a hard drive a second time to only look at fvwm and xterm sessions. I don't expect flash animation, but I do expect to be able to set up a web browser, and a decent desktop. So far, that's not happening. I'm still trifling with something that will probably wind up being some sort of hair-brained documentation issue that need not be an issue, but is. So, what to do? What more information do you need that I haven't given? I've posted the complete build logs documenting what happens under varying circumstances. I've posted emerge --info. If you'd like, I can make a stage4 of what I have and send it off to someone who might want to give it a look-see.
(In reply to comment #30) x86-fbsd is considered to be an "unstable arch". This means we Gentoo developers are not required to check that its dependencies are satisfied, and in fact our standard tools don't perform the needed check by default. Users are therefore expected to keyword individual packages as required in their /etc/portage/package.accept_keywords settings. (By contrast, amd64-fbsd *is* considered a stable arch, and is therefore much better maintained and much more likely to be buildable.)
I can report that graphite2 and harfbuzz will finish compilation under the Gentoo/FreeBSD hybrid. They were not previously listed as ~x86-fbsd or ~x86-freebsd. As a matter of fact, all packages that lead up to pango-1,32.5 having all of its dependencies satisfied will, although the latest version of icu fails compilation. I can also report that pango-1.32.5 also fails, and gives up the same basic message. I'm going to test it to see how it works under the same conditions as pango-1.30.1 and post those results. I am going to see if moving down in gobject-introspection files makes a difference as well.
Created attachment 336794 [details] pango-1.32.5 build with USE='-X -introspection' Build log 1.
Created attachment 336796 [details] pango-1.32.5 build with USE='-X introspection' Build log 2.
Created attachment 336798 [details] pango-1.32.5 build with USE='X -introspection' Build log 3.
Created attachment 336800 [details] pango-1.32.5 build with USE='X introspection' Build log 4.
Could you try running the following failing command with some more verbosity by your hand? cd /var/tmp/portage/x11-libs/pango-1.30.1/work/pango-1.30.1/pango /usr/bin/g-ir-scanner --verbose --warn-all --add-include-path=. --add-include-path=. --namespace=Pango --nsversion=1.0 --libtool="/bin/sh ../libtool" --pkg=gobject-2.0 --pkg=cairo --pkg=freetype2 --include=GObject-2.0 --include=cairo-1.0 --pkg-export=pango --library=libpango-1.0.la --c-include "pango/pango.h" -I.. -I.. break.c ellipsize.c fonts.c glyphstring.c modules.c pango-attributes.c pango-bidi-type.c pango-color.c pango-context.c pango-coverage.c pango-engine.c pango-fontmap.c pango-fontset.c pango-glyph-item.c pango-gravity.c pango-impl-utils.h pango-item.c pango-language.c pango-language-sample-table.h pango-layout.c pango-markup.c pango-matrix.c pango-renderer.c pango-script.c pango-script-lang-table.h pango-tabs.c pango-utils.c reorder-items.c shape.c pango-enum-types.c module-defs-lang.c pango.h pango-attributes.h pango-bidi-type.h pango-break.h pango-context.h pango-coverage.h pango-engine.h pango-font.h pango-fontmap.h pango-fontset.h pango-glyph.h pango-glyph-item.h pango-gravity.h pango-item.h pango-language.h pango-layout.h pango-matrix.h pango-modules.h pango-renderer.h pango-script.h pango-tabs.h pango-types.h pango-utils.h pango-enum-types.h libpango-1.0.la --output Pango-1.0.gir
The results: root@bsd_lap $ /usr/bin/g-ir-scanner --verbose --warn-all --add-include-path=. ERROR: Need at least one filename root@bsd_lap $ --add-include-path=. --namespace=Pango --nsversion=1.0 --libtool="/bin/sh > ../libtool" --pkg=gobject-2.0 --pkg=cairo --pkg=freetype2 --include=GObject-2.0 --add-include-path=.: not found root@bsd_lap $ --include=cairo-1.0 --pkg-export=pango --library=libpango-1.0.la --c-include --include=cairo-1.0: not found root@bsd_lap $ "pango/pango.h" -I.. -I.. break.c ellipsize.c fonts.c glyphstring.c modules.c pango/pango.h: not found root@bsd_lap $ pango-attributes.c pango-bidi-type.c pango-color.c pango-context.c pango-attributes.c: not found root@bsd_lap $ pango-coverage.c pango-engine.c pango-fontmap.c pango-fontset.c pango-coverage.c: not found root@bsd_lap $ pango-glyph-item.c pango-gravity.c pango-impl-utils.h pango-item.c pango-glyph-item.c: not found root@bsd_lap $ pango-language.c pango-language-sample-table.h pango-layout.c pango-markup.c pango-language.c: not found root@bsd_lap $ pango-matrix.c pango-renderer.c pango-script.c pango-script-lang-table.h pango-matrix.c: not found root@bsd_lap $ pango-tabs.c pango-utils.c reorder-items.c shape.c pango-enum-types.c pango-tabs.c: not found root@bsd_lap $ module-defs-lang.c pango.h pango-attributes.h pango-bidi-type.h pango-break.h module-defs-lang.c: not found root@bsd_lap $ pango-context.h pango-coverage.h pango-engine.h pango-font.h pango-fontmap.h pango-context.h: not found root@bsd_lap $ pango-fontset.h pango-glyph.h pango-glyph-item.h pango-gravity.h pango-item.h pango-fontset.h: not found root@bsd_lap $ pango-language.h pango-layout.h pango-matrix.h pango-modules.h pango-renderer.h pango-language.h: not found root@bsd_lap $ pango-script.h pango-tabs.h pango-types.h pango-utils.h pango-enum-types.h pango-script.h: not found root@bsd_lap $ libpango-1.0.la --output Pango-1.0.gir libpango-1.0.la: not found
I checked, and apparently, the string you sent had been chopped up by the email program. I put it back together and retried. Please note, I have moved up to pang0-1.32.5, as was suggested above, so the results you see are from that version. If I must, I can backtrack to pango-1.30.1, but I know it won't make a difference, as the error stays consistent. Now, with the string re-parsed. I get the following results: root@bsd_lap $ /usr/bin/g-ir-scanner --verbose --warn-all --add-include-path=. --namespace=Pango --nsversion=1.0 --libtool="/bin/sh/libtool" --pkg=gobject-2.0 --pkg=cairo --pkg=freetype2 --include=GObject-2.0 --include=cairo-1.0 --pkg-export=pango --library=libpango-1.0.la --c-include "pango/pango.h" -I.. -I.. break.c ellipsize.c fonts.c glyphstring.c modules.c pango-attributes.c pango-bidi-type.c pango-color.c pango-context.c pango-coverage.c pango-engine.c pango-fontmap.c pango-fontset.c pango-glyph-item.c pango-gravity.c pango-impl-utils.h pango-item.c pango-language.c pango-language-sample-table.h pango-layout.c pango-markup.c pango-matrix.c pango-renderer.c pango-script.c pango-script-lang-table.h pango-tabs.c pango-utils.c reorder-items.c shape.c pango-enum-types.c module-defs-lang.c pango.h pango-attributes.h pango-bidi-type.h pango-break.h pango-context.h pango-coverage.h pango-engine.h pango-font.h pango-fontmap.h pango-fontset.h pango-glyph.h pango-glyph-item.h pango-gravity.h pango-item.h pango-language.h pango-layout.h pango-matrix.h pango-modules.h pango-renderer.h pango-script.h pango-tabs.h pango-types.h pango-utils.h pango-enum-types.h libpango-1.0.la --output Pango-1.0.gir In file included from <stdin>:5:0: /var/tmp/portage/x11-libs/pango-1.32.5/work/pango-1.32.5/pango/pango-language-sample-table.h:53:17: warning: extra tokens at end of #ifndef directive g-ir-scanner: compile: gcc -Wall -pthread -D_THREAD_SAFE -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng15 -I.. -I.. -I/usr/include/freetype2 -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/libpng15 -c -o /var/tmp/portage/x11-libs/pango-1.32.5/work/pango-1.32.5/pango/tmp-introspectsGOmAm/Pango-1.0.o /var/tmp/portage/x11-libs/pango-1.32.5/work/pango-1.32.5/pango/tmp-introspectsGOmAm/Pango-1.0.c g-ir-scanner: link: /bin/sh/libtool --mode=link --tag=CC gcc -o /var/tmp/portage/x11-libs/pango-1.32.5/work/pango-1.32.5/pango/tmp-introspectsGOmAm/Pango-1.0 -export-dynamic /var/tmp/portage/x11-libs/pango-1.32.5/work/pango-1.32.5/pango/tmp-introspectsGOmAm/Pango-1.0.o -L. libpango-1.0.la -pthread -Wl,--export-dynamic -lgio-2.0 -lgmodule-2.0 -lcairo -lgobject-2.0 -lffi -lpixman-1 -lfontconfig -lexpat -lpng15 -lm -lXrender -lXext -lglib-2.0 -lintl -liconv -lX11 -lxcb -lpthread-stubs -lXau -lXdmcp -lfreetype -lz Traceback (most recent call last): File "/usr/bin/g-ir-scanner", line 46, in <module> sys.exit(scanner_main(sys.argv)) File "/usr/lib/gobject-introspection/giscanner/scannermain.py", line 423, in scanner_main shlibs = create_binary(transformer, options, args) File "/usr/lib/gobject-introspection/giscanner/scannermain.py", line 319, in create_binary gdump_parser.get_error_quark_functions()) File "/usr/lib/gobject-introspection/giscanner/dumper.py", line 305, in compile_introspection_binary return dc.run() File "/usr/lib/gobject-introspection/giscanner/dumper.py", line 163, in run self._link(bin_path, o_path) File "/usr/lib/gobject-introspection/giscanner/dumper.py", line 258, in _link subprocess.check_call(args) File "/usr/lib/python2.7/subprocess.py", line 506, in check_call retcode = call(*popenargs, **kwargs) File "/usr/lib/python2.7/subprocess.py", line 493, in call return Popen(*popenargs, **kwargs).wait() File "/usr/lib/python2.7/subprocess.py", line 679, in __init__ errread, errwrite) File "/usr/lib/python2.7/subprocess.py", line 1249, in _execute_child raise child_exception OSError: [Errno 20] Not a directory
(In reply to comment #39) > I checked, and apparently, the string you sent had been chopped up by the > email program. I put it back together and retried. Please note, I have moved > up to pang0-1.32.5, as was suggested above, so the results you see are from > that version. If I must, I can backtrack to pango-1.30.1, but I know it > won't make a difference, as the error stays consistent. Now, with the string > re-parsed. I get the following results: > > > root@bsd_lap $ /usr/bin/g-ir-scanner --verbose --warn-all > --add-include-path=. --namespace=Pango --nsversion=1.0 > --libtool="/bin/sh/libtool" --pkg=gobject-2.0 --pkg=cairo --pkg=freetype2 > --include=GObject-2.0 --include=cairo-1.0 --pkg-export=pango > --library=libpango-1.0.la --c-include "pango/pango.h" -I.. -I.. break.c > ellipsize.c fonts.c glyphstring.c modules.c pango-attributes.c > pango-bidi-type.c pango-color.c pango-context.c pango-coverage.c > pango-engine.c pango-fontmap.c pango-fontset.c pango-glyph-item.c > pango-gravity.c pango-impl-utils.h pango-item.c pango-language.c > pango-language-sample-table.h pango-layout.c pango-markup.c pango-matrix.c > pango-renderer.c pango-script.c pango-script-lang-table.h pango-tabs.c > pango-utils.c reorder-items.c shape.c pango-enum-types.c module-defs-lang.c > pango.h pango-attributes.h pango-bidi-type.h pango-break.h pango-context.h > pango-coverage.h pango-engine.h pango-font.h pango-fontmap.h pango-fontset.h > pango-glyph.h pango-glyph-item.h pango-gravity.h pango-item.h > pango-language.h pango-layout.h pango-matrix.h pango-modules.h > pango-renderer.h pango-script.h pango-tabs.h pango-types.h pango-utils.h > pango-enum-types.h libpango-1.0.la --output Pango-1.0.gir > In file included from <stdin>:5:0: > /var/tmp/portage/x11-libs/pango-1.32.5/work/pango-1.32.5/pango/pango- > language-sample-table.h:53:17: warning: extra tokens at end of #ifndef > directive > g-ir-scanner: compile: gcc -Wall -pthread -D_THREAD_SAFE > -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/cairo > -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng15 > -I.. -I.. -I/usr/include/freetype2 -I/usr/include/cairo > -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pixman-1 > -I/usr/include/libpng15 -c -o > /var/tmp/portage/x11-libs/pango-1.32.5/work/pango-1.32.5/pango/tmp- > introspectsGOmAm/Pango-1.0.o > /var/tmp/portage/x11-libs/pango-1.32.5/work/pango-1.32.5/pango/tmp- > introspectsGOmAm/Pango-1.0.c > g-ir-scanner: link: /bin/sh/libtool --mode=link --tag=CC gcc -o > /var/tmp/portage/x11-libs/pango-1.32.5/work/pango-1.32.5/pango/tmp- > introspectsGOmAm/Pango-1.0 -export-dynamic > /var/tmp/portage/x11-libs/pango-1.32.5/work/pango-1.32.5/pango/tmp- > introspectsGOmAm/Pango-1.0.o -L. libpango-1.0.la -pthread > -Wl,--export-dynamic -lgio-2.0 -lgmodule-2.0 -lcairo -lgobject-2.0 -lffi > -lpixman-1 -lfontconfig -lexpat -lpng15 -lm -lXrender -lXext -lglib-2.0 > -lintl -liconv -lX11 -lxcb -lpthread-stubs -lXau -lXdmcp -lfreetype -lz > Traceback (most recent call last): > File "/usr/bin/g-ir-scanner", line 46, in <module> > sys.exit(scanner_main(sys.argv)) > File "/usr/lib/gobject-introspection/giscanner/scannermain.py", line 423, > in scanner_main > shlibs = create_binary(transformer, options, args) > File "/usr/lib/gobject-introspection/giscanner/scannermain.py", line 319, > in create_binary > gdump_parser.get_error_quark_functions()) > File "/usr/lib/gobject-introspection/giscanner/dumper.py", line 305, in > compile_introspection_binary > return dc.run() > File "/usr/lib/gobject-introspection/giscanner/dumper.py", line 163, in run > self._link(bin_path, o_path) > File "/usr/lib/gobject-introspection/giscanner/dumper.py", line 258, in > _link > subprocess.check_call(args) > File "/usr/lib/python2.7/subprocess.py", line 506, in check_call > retcode = call(*popenargs, **kwargs) > File "/usr/lib/python2.7/subprocess.py", line 493, in call > return Popen(*popenargs, **kwargs).wait() > File "/usr/lib/python2.7/subprocess.py", line 679, in __init__ > errread, errwrite) > File "/usr/lib/python2.7/subprocess.py", line 1249, in _execute_child > raise child_exception > OSError: [Errno 20] Not a directory It also created tmp-introspectsGOmAm in the /var/tmp/portage/x11-libs/pango-1.32.5/work/pango-1.32.5/pango/ directory which contains Pango-1.0.o and Pango-1.0.c
I hit this again on my Gentoo/FreeBSD box and found the cause. This is because libpthread-stubs.so provide pthread_condattr_{init,destroy} by mistake. These lines below is from glib-2.36.4/glib/gthread-posix.c. Since the program is linked to libpthread-stubs, "pthread_condattr_init" call one from libpthred-stubs which dose nothing. Then pthread_condattr_setclock call one from libthr, which assume that "attr" is properly initialized by pthread_condattr_init from libthr. 640 pthread_condattr_init (&attr); 641 #if defined (HAVE_PTHREAD_CONDATTR_SETCLOCK) && defined (CLOCK_MONOTONIC) 642 pthread_condattr_setclock (&attr, CLOCK_MONOTONIC); 643 #endif