Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 287357 - x11-libs/pango-1.24.5-r1 fails to install on 64bit 10.6 due to QA errors
Summary: x11-libs/pango-1.24.5-r1 fails to install on 64bit 10.6 due to QA errors
Status: RESOLVED FIXED
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: Mac OSX (show other bugs)
Hardware: All OS X
: High blocker (vote)
Assignee: Gentoo Prefix
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-10-02 14:17 UTC by Stuart Shelton
Modified: 2009-10-09 14:41 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Stuart Shelton 2009-10-02 14:17:34 UTC
pango-1.24.5-r1 fails with:

>>> Completed installing pango-1.24.5-r1 into /opt/gentoo/var/tmp/portage/x11-libs/pango-1.24.5-r1/image/opt/gentoo/

ecompressdir: bzip2 -9 /opt/gentoo/usr/share/man
removing executable bit: opt/gentoo/usr/lib/libpango-1.0.la
removing executable bit: opt/gentoo/usr/lib/libpangocairo-1.0.la

 * QA Notice: Package has poor programming practices which may compile
 *            fine but exhibit random runtime failures.
 * pangocairo-atsuifont.c:89: warning: implicit declaration of function 'cairo_quartz_font_face_create_for_atsu_font_id'
 * pangocairo-atsuifont.c:131: warning: implicit declaration of function 'FMGetATSFontRefFromFont'
 * pangocairo-atsuifont.c:260: warning: implicit declaration of function 'FMGetFontFromATSFontRef'
 * basic-atsui.c:96: warning: implicit declaration of function 'ATSUCreateTextLayout'
 * basic-atsui.c:97: warning: implicit declaration of function 'ATSUSetTextPointerLocation'
 * basic-atsui.c:109: warning: implicit declaration of function 'ATSUDirectGetLayoutDataArrayPtrFromTextLayout'

 * 
 * QA Notice: Package has poor programming practices which may compile
 *            but will almost certainly crash on 64bit architectures.
 * 
 * Function `cairo_quartz_font_face_create_for_atsu_font_id' implicitly converted to pointer at pangocairo-atsuifont.c:89
 * 
 *  Please file a bug about this at http://bugs.gentoo.org/
 *  with the maintaining herd of the package.
 * 
 * ERROR: x11-libs/pango-1.24.5-r1 failed:
 *   install aborted due to poor programming practices shown above
Comment 1 Stuart Shelton 2009-10-02 14:36:09 UTC
This happens regardless of USE flags.

emerge --info

Portage 2.2.00.14200-prefix (prefix/darwin/macos/10.6/x64, gcc-4.2.1, unavailable, 10.0.0 x86_64)
=================================================================
System uname: Darwin-10.0.0-x86_64-i386-64bit
Timestamp of tree: Fri, 02 Oct 2009 08:51:47 +0000
distcc 2.18.5-Apple.1 i386-apple-darwin10.0 (protocols 1 and 2) (default port 3632) [disabled]
app-shells/bash:     4.0_p33
dev-java/java-config: 2.1.9-r1
dev-lang/python:     2.6.2-r2
dev-python/pycrypto: 2.0.1-r8
sys-devel/autoconf:  2.63-r01.1
sys-devel/automake:  1.10.2-r00.1, 1.11
sys-devel/gcc-config: 1.4.1-r00.2
sys-devel/libtool:   2.2.6a-r00.2
ACCEPT_KEYWORDS="x64-macos x86-macos ~x64-macos ~x86-macos"
CBUILD="x86_64-apple-darwin10"
CFLAGS="-O2 -fno-math-errno -march=core2 -msse4.1 -mfpmath=sse -pipe"
CHOST="x86_64-apple-darwin10"
CONFIG_PROTECT="/etc /opt/gentoo/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/terminfo /opt/gentoo/etc/ca-certificates.conf /opt/gentoo/etc/env.d /opt/gentoo/etc/env.d/java/ /opt/gentoo/etc/fonts/fonts.conf /opt/gentoo/etc/gconf /opt/gentoo/etc/revdep-rebuild /opt/gentoo/etc/terminfo"
CXXFLAGS="-O2 -fno-math-errno -march=core2 -msse4.1 -mfpmath=sse -pipe"
DISTDIR="/opt/gentoo/usr/portage/distfiles"
FEATURES="assume-digests collision-protect distlocks fixpackages nostrip parallel-fetch preserve-libs protect-owned sfperms strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LDFLAGS=""
LINGUAS="en en_GB"
PKGDIR="/opt/gentoo/usr/portage/packages"
PORTAGE_CONFIGROOT="/opt/gentoo/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/opt/gentoo/var/tmp"
PORTDIR="/opt/gentoo/usr/portage"
PORTDIR_OVERLAY="/opt/gentoo/usr/local/portage"
SYNC="rsync://rsync.prefix.freens.org/gentoo-portage-prefix"
USE="X aqua ares bash-completion berkdb bzip2 cairo chroot coreaudio cracklib expat flac fontconfig gdbm gmp graphviz gtk hpn iconv idea ipv6 ithreads java jbig jpeg jpeg2k lcms lzma md5sum mmap mmx mmxext modules ncurses nls objc objc++ ogg openmp pcre perl png prefix python readline sasl slang speex spell sqlite3 sse sse2 ssl svg tcl test threads tiff trace truetype unicode urandom utils vim-syntax x64-macos xinerama xml xpm zlib" 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 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" ELIBC="Darwin" INPUT_DEVICES="keyboard mouse" KERNEL="Darwin" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en en_GB" USERLAND="GNU"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 2 Stuart Shelton 2009-10-02 14:38:46 UTC
This is very similar to Bug 274943 for pango-1.24.2, but now with additional 'implicit declaration of function' errors...
Comment 3 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2009-10-02 14:58:59 UTC
I get the same warning but mine doesn't die. hmm
Comment 4 Stuart Shelton 2009-10-02 15:44:32 UTC
Weird... I don't suppose there's some FEATURE that makes QA warnings fatal which I've somehow inadvertently activated (or failed to deactivate) is there?

dev-tcltk/expect (Bug 287072) also fails after QA warnings - does this succeed on your test machine?
Comment 5 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2009-10-02 19:13:47 UTC
(In reply to comment #4)
> Weird... I don't suppose there's some FEATURE that makes QA warnings fatal
> which I've somehow inadvertently activated (or failed to deactivate) is there?
> 
> dev-tcltk/expect (Bug 287072) also fails after QA warnings - does this succeed
> on your test machine?
> 

Yup. works fine.

%% emerge --info
Portage 2.2.00.14200-prefix (prefix/linux/amd64, gcc-4.4.1, unavailable, 2.6.9-55.ELsmp x86_64)
=================================================================
System uname: Linux-2.6.9-55.ELsmp-x86_64-Intel-R-_Xeon-R-_CPU_E5335_@_2.00GHz-with-redhat-4-Nahant_Update_5
Timestamp of tree: Thu, 01 Oct 2009 21:49:26 +0000
app-shells/bash:     4.0_p33
dev-lang/python:     2.6.2-r2
dev-python/pycrypto: 2.0.1-r8
sys-devel/autoconf:  2.13, 2.63-r01.1
sys-devel/automake:  1.10.2-r00.1, 1.11
sys-devel/binutils:  2.20.51.0.1
sys-devel/gcc-config: 1.4.1-r00.2
sys-devel/libtool:   2.2.6a-r00.1
virtual/os-headers:  2.6.30-r1
ACCEPT_KEYWORDS="~amd64-linux"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -fomit-frame-pointer"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/eselect/postgresql /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-O2 -pipe -fomit-frame-pointer"
DISTDIR="/home/jolexa/portage/linux-64/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--with-bdeps=y"
FEATURES="assume-digests collision-protect distlocks fixpackages nodoc noinfo parallel-fetch preserve-libs protect-owned sfperms strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1"
LINGUAS="en"
MAKEOPTS="-j8 -l10"
PKGDIR="/home/jolexa/portage/linux-64/usr/portage/packages"
PORTAGE_CONFIGROOT="/home/jolexa/portage/linux-64/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/public/tmp/linux-64"
PORTDIR="/home/jolexa/portage/linux-64/usr/portage"
PORTDIR_OVERLAY="/home/jolexa/portage/global/overlays"
SYNC="rsync://rsync.prefix.freens.org/gentoo-portage-prefix"
USE="X amd64 bash-completion berkdb bzip2 cli cracklib crypt dri fortran gdbm iconv isdnlog jpeg mmx modules mudflap ncurses nls nptl nptlonly openmp pcre perl png pppd prefix python readline reflection session spl sse sse2 ssl sysfs tcpd tiff unicode xorg 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" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en" USERLAND="GNU" VIDEO_CARDS="fbdev glint intel mach64 mga neomagic nv r128 radeon savage sis tdfx trident vesa vga via vmware voodoo"
Unset:  CPPFLAGS, CTARGET, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 6 Fabian Groffen gentoo-dev 2009-10-02 20:10:18 UTC
this is about quartz peepz... so this is OSX/aqua only.
Comment 7 Fabian Groffen gentoo-dev 2009-10-03 09:41:27 UTC
I just checked in a possible fix.  Can you sync in half an hour or so and retry compilation?
Comment 8 Stuart Shelton 2009-10-09 14:41:48 UTC
I'm not sure whether it's your fix, the fact that I hadn't updated my profile when I upgraded from 10.5.x to 10.6 (which I've now done and rebuilt the system for 64bit), or all of the above - but pango now works successfully!

(It's probably worth checking the profile against the platform in the 'emerge --info' data for any recent OSX bugs - I only spotted it myself when I was reading back this bug!  Perhaps the profile bashrc, even, should perform some checking?)