Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 229779 - x11-libs/openmotif-2.3.1 with USE=-xft triggers 64 bit QA check
Summary: x11-libs/openmotif-2.3.1 with USE=-xft triggers 64 bit QA check
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Ulrich Müller
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-06-27 16:35 UTC by Patrizio Bassi
Modified: 2008-08-04 13:09 UTC (History)
0 users

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


Attachments
build.log (x11-libs:openmotif-2.3.1:20080627-230823.log,685.74 KB, text/plain)
2008-06-27 23:17 UTC, Jeffrey Gardner (RETIRED)
Details
openmotif-2.3.1-XmRenderT-no-xft.patch (openmotif-2.3.1-XmRenderT-no-xft.patch,487 bytes, patch)
2008-06-28 08:31 UTC, Ulrich Müller
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Patrizio Bassi 2008-06-27 16:35:48 UTC
* QA Notice: Package has poor programming practices which may compile
 *            but will almost certainly crash on 64bit architectures.
 * Function `_XmRendFontFoundry' implicitly converted to pointer at XmRenderT.c:1991
Function `_XmRendFontFoundry' implicitly converted to pointer at XmRenderT.c:1991
Function `_XmRendFontFoundry' implicitly converted to pointer at XmRenderT.c:1991
Function `_XmRendFontFoundry' implicitly converted to pointer at XmRenderT.c:1991
Function `_XmRendFontFoundry' implicitly converted to pointer at XmRenderT.c:1991
Function `_XmRendFontFoundry' implicitly converted to pointer at XmRenderT.c:1991
Function `_XmRendFontFoundry' implicitly converted to pointer at XmRenderT.c:1991
Function `_XmRendFontFoundry' implicitly converted to pointer at XmRenderT.c:1991
Function `_XmRendFontFoundry' implicitly converted to pointer at XmRenderT.c:1991
Function `_XmRendFontFoundry' implicitly converted to pointer at XmRenderT.c:1991
Function `_XmRendFontFoundry' implicitly converted to pointer at XmRenderT.c:1991
Function `_XmRendFontFoundry' implicitly converted to pointer at XmRenderT.c:1991
Function `_XmRendFontFoundry' implicitly converted to pointer at XmRenderT.c:1991
Function `_XmRendFontFoundry' implicitly converted to pointer at XmRenderT.c:1991
Function `_XmRendFontFoundry' implicitly converted to pointer at XmRenderT.c:1991

....


Function `_XmRendFontStyle' implicitly converted to pointer at XmRenderT.c:1995
Function `_XmRendFontStyle' implicitly converted to pointer at XmRenderT.c:1995
Function `_XmRendFontStyle' implicitly converted to pointer at XmRenderT.c:1995
Function `_XmRendFontStyle' implicitly converted to pointer at XmRenderT.c:1995

 *
 * ERROR: x11-libs/openmotif-2.3.1 failed.
 * Call stack:
 *       misc-functions.sh, line 653:  Called install_qa_check
 *       misc-functions.sh, line 349:  Called die
 * The specific snippet of code:
 *                              alpha*|ia64*|powerpc64*|mips64*|sparc64*|x86_64*) die "this code is not 64bit clean";;
 *  The die message:
 *   this code is not 64bit clean
 *
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/mnt/Dati/Gentoo/tmp/portage/x11-libs/openmotif-2.3.1/temp/build.log'.
 * The ebuild environment file is located at '/mnt/Dati/Gentoo/tmp/portage/x11-libs/openmotif-2.3.1/temp/environment'.
Comment 1 Ulrich Müller gentoo-dev 2008-06-27 22:12:56 UTC
I cannot reproduce the failure.

Please attach the output of "emerge --info" and the complete build.log.
Comment 2 Jeffrey Gardner (RETIRED) gentoo-dev 2008-06-27 23:17:29 UTC
Created attachment 158701 [details]
build.log

build log
Comment 3 Jeffrey Gardner (RETIRED) gentoo-dev 2008-06-27 23:18:46 UTC
 # emerge --info
]WARNING: repository at /usr/local/layman/je_fro is missing a repo_name entry
Portage 2.2_rc1 (default-linux/amd64/2007.0/desktop, gcc-4.3.1, glibc-2.8_p20080602-r0, 2.6.25-mactel-r1 x86_64)
=================================================================
System uname: Linux-2.6.25-mactel-r1-x86_64-Intel-R-_Core-TM-2_CPU_T7600_@_2.33GHz-with-glibc2.2.5
Timestamp of tree: Fri, 27 Jun 2008 22:15:01 +0000
app-shells/bash:     3.2_p39
dev-java/java-config: 1.3.7, 2.1.6
dev-lang/python:     2.5.2-r5
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.2.5
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.62
sys-devel/automake:  1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1-r1
sys-devel/binutils:  2.18-r2
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   2.2.4
virtual/os-headers:  2.6.25-r4
ACCEPT_KEYWORDS="amd64 ~amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=core2 -mtune=core2 -O2 -pipe -fomit-frame-pointer"
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 /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-march=core2 -mtune=core2 -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="collision-protect cvs digest distlocks multilib-strict parallel-fetch preserve-libs sandbox sfperms strict unmerge-orphans userfetch userpriv"
GENTOO_MIRRORS="ftp://mirror.iawnet.sandia.gov/pub/gentoo http://distfiles.gentoo.org"
LANG="en_US"
LC_ALL="en_US.UTF-8"
LDFLAGS=""
LINGUAS="en en_US"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
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="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/layman/je_fro /usr/local/layman/science"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="X a52 aac acpi ads ahci aiglx alsa amd64 amr audacious battery bluetooth branding bzip2 cairo cddb cdr cli cpufreq cracklib crypt css cups dbus dga directfb divx dmi dri dts dv dvb dvd dvdnav dvdr dvdread dvi emboss emerald encode evo exif fam fbcon fbcondecor fbsplash ffmpeg fftw firefox flac foomaticdb fortran gdbm gif gimp glibc-omitfp glitz gmedia gnome gnutls gphoto2 gpm grace gs gtk h323 hal hddtemp hfs iconv ieee1394 imagemagick imlib insecure-savers ipod irc isdnlog isight java jpeg jpeg2k kde kdehiddenvisibility kerberos laptop largefile ldap libnotify libwww live lm_sensors logrotate mactel mad madwifi matroska mbox midi mikmod mjpeg mmap mmx modplug module mp3 mp4 mpeg mpi mplayer msn mudflap musepack musicbrainz nas ncurses netmeeting newspr nls nptl nptlonly nsplugin ntp offensive ogg opengl openmp pam pcre pdf perl pertty pmu png powersaving ppds pppd python qt3 qt3support quicktime readline realmedia reflection replytolist rtc samba sdl session sidebar skins smp sound spell spl srt sse sse2 ssl ssse3 svg swat syslog tcpd texteffect theora threads threadsafe tiff transcode transparency truetype truetype-fonts type1-fonts unicode usb v4l v4l2 vcd visualization vorbis webdav wifi wma wmp wxwindows x264 xfce xml xorg xosd xscreensaver xulrunner xv xvid xvmc yahoo zlib" ALSA_CARDS="usb-audio snd-hda-intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter 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 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="glibc" INPUT_DEVICES="mouse keyboard evdev synaptics vmmouse wacom" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en en_US" USERLAND="GNU" VIDEO_CARDS="fglrx fbdev radeon v4l v4l2 vesa vga"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 4 Ulrich Müller gentoo-dev 2008-06-28 08:29:11 UTC
The problem is that _XmRendFontFoundry and friends are macros that are defined only if USE_XFT is set (XmRenderTI.h, around line 80). Also, function GetSameRenditions which uses these macros gets only called (from function ValidateAndLoadFont in XmRenderT.c) if USE_XFT is set.

However, the definition of GetSameRenditions misses a USE_XFT conditional.
Comment 5 Ulrich Müller gentoo-dev 2008-06-28 08:31:31 UTC
Created attachment 158731 [details, diff]
openmotif-2.3.1-XmRenderT-no-xft.patch

Attaching patch for reference.
Comment 6 Ulrich Müller gentoo-dev 2008-06-28 08:48:28 UTC
Fixed in CVS and submitted upstream: <http://bugs.motifzone.net/show_bug.cgi?id=1436>

Thank you for reporting.
Comment 7 Ulrich Müller gentoo-dev 2008-08-04 13:09:13 UTC
> Fixed in CVS and submitted upstream:
> <http://bugs.motifzone.net/show_bug.cgi?id=1436>

Patch was accepted upstream.