Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 196642 - media-libs/mesa won't compile with USE-flag motif
Summary: media-libs/mesa won't compile with USE-flag motif
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-10-21 17:27 UTC by Raboo Treed
Modified: 2007-10-24 18:17 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 Raboo Treed 2007-10-21 17:27:35 UTC
Mesa will not compile with USE-flag motif, it complains about a incompatible libXm.so and libXm.a
I've tried diffrent combinations of compiling, mesa-6.5.2-r1, mesa-7.0.1, openmotif-2.3.0, openmotif-2.2.3. I've tried to combine all of these versions and still get a compile error.

Here is the compilelog:
make[3]: Entering directory `/var/tmp/portage/media-libs/mesa-7.0.1/work/Mesa-7.0.1/src/glw'
x86_64-pc-linux-gnu-gcc -c -I../../include -I/usr/include/Motif1.2  -march=nocona -O2 -pipe -fno-strict-aliasing -fPIC -m32 -DGLX_USE_TLS -D_POSIX_SOURCE -D_POSIX_C_SOURCE=199309L -D_SVID_SOURCE -D_BSD_SOURCE -D_GNU_SOURCE -DPTHREADS -DUSE_EXTERNAL_DXTN_LIB=1 -DIN_DRI_DRIVER -DGLX_DIRECT_RENDERING -DGLX_INDIRECT_RENDERING -DHAVE_ALIAS -DHAVE_POSIX_MEMALIGN -DUSE_X86_ASM -DUSE_MMX_ASM -DUSE_3DNOW_ASM -DUSE_SSE_ASM GLwDrawA.c
x86_64-pc-linux-gnu-gcc -c -I../../include -I/usr/include/Motif1.2  -march=nocona -O2 -pipe -fno-strict-aliasing -fPIC -m32 -DGLX_USE_TLS -D_POSIX_SOURCE -D_POSIX_C_SOURCE=199309L -D_SVID_SOURCE -D_BSD_SOURCE -D_GNU_SOURCE -DPTHREADS -DUSE_EXTERNAL_DXTN_LIB=1 -DIN_DRI_DRIVER -DGLX_DIRECT_RENDERING -DGLX_INDIRECT_RENDERING -DHAVE_ALIAS -DHAVE_POSIX_MEMALIGN -DUSE_X86_ASM -DUSE_MMX_ASM -DUSE_3DNOW_ASM -DUSE_SSE_ASM GLwMDrawA.c
../../bin/mklib -o GLw -linker 'x86_64-pc-linux-gnu-gcc' \
                -major 1 -minor 0 -patch 0 \
                 -install ../../lib64 \
                -L../../lib64 -lGL  -lXt -lX11 -lXm GLwDrawA.o GLwMDrawA.o
mklib: Making Linux shared library:  libGLw.so.1.0.0
/usr/lib/gcc/x86_64-pc-linux-gnu/4.1.2/../../../../x86_64-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-pc-linux-gnu/4.1.2/../../../libXm.so when searching for -lXm
/usr/lib/gcc/x86_64-pc-linux-gnu/4.1.2/../../../../x86_64-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-pc-linux-gnu/4.1.2/../../../libXm.a when searching for -lXm
/usr/lib/gcc/x86_64-pc-linux-gnu/4.1.2/../../../../x86_64-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib/libXm.so when searching for -lXm
/usr/lib/gcc/x86_64-pc-linux-gnu/4.1.2/../../../../x86_64-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib/libXm.a when searching for -lXm
/usr/lib/gcc/x86_64-pc-linux-gnu/4.1.2/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lXm
collect2: ld returned 1 exit status
mklib: Installing libGLw.so.1.0.0 libGLw.so.1 libGLw.so in ../../lib64
mv: cannot stat `libGLw.so.1.0.0': No such file or directory
make[3]: *** [../../lib64/libGLw.so] Error 1
make[3]: Leaving directory `/var/tmp/portage/media-libs/mesa-7.0.1/work/Mesa-7.0.1/src/glw'
make[2]: *** [subdirs] Error 1
make[2]: Leaving directory `/var/tmp/portage/media-libs/mesa-7.0.1/work/Mesa-7.0.1/src'
make[1]: *** [default] Error 1
make[1]: Leaving directory `/var/tmp/portage/media-libs/mesa-7.0.1/work/Mesa-7.0.1'
make: *** [linux-dri-x86] Error 2


Reproducible: Always

Steps to Reproduce:
1. emerge mesa
Actual Results:  
mesa doesn't compile

Expected Results:  
mesa should compile

emerge --info

Portage 2.1.3.9 (default-linux/amd64/2007.0, gcc-4.1.2, glibc-2.5-r4, 2.6.22-gentoo-r5 x86_64)
=================================================================
System uname: 2.6.22-gentoo-r5 x86_64 Intel(R) Core(TM)2 CPU 6400 @ 2.13GHz
Timestamp of tree: Thu, 04 Oct 2007 01:20:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p17
dev-lang/python:     2.4.4-r4
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r7
sys-apps/baselayout: 1.12.9-r2
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.61-r1
sys-devel/automake:  1.6.3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.17-r1
sys-devel/gcc-config: 1.3.16
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.21
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=nocona -O2 -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/env.d /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-march=nocona -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distlocks fixpackages metadata-transfer paralell-fetch sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://ds.thn.htu.se/linux/gentoo http://ftp.du.se/pub/os/gentoo http://distfiles.gentoo.org http://www.ibiblio.org/pub/Linux/distributions/gentoo"
LINGUAS="en en_GB sv sv_SE"
MAKEOPTS="-j4"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="7zip X a52 aac aalib acl acpi aiglx alsa amd amd64 apache2 applet asf aspnet2 audiofile automount bash-completion berkdb bitmap-fonts bluetooth branding bzip2 cairo cardbus cdr chroot cli cpudetection cracklib crypt crypto_libgcrypt crypto_openssl css ctype cups curl curlwrappers dbus dlloader dri dts dvd dvdr dvdread eds effects emerald encode esd examples exif expat extras fastbuild fat fbcon ffmpeg firefox flac font-server fontconfig foomaticdb force-cgi-redirect fortran ftp fuse gatos gd gdbm gif gimp glitz glx gmedia gnome gnome-print gphoto2 gpm gstreamer gstreamer-010 gtk gtk2 gtkhtml gvim gzip hal hash ibam icms iconv ieee1394 imagemagick imap imlib ipod isdnlog java javascript john jpeg jpeg2k kdeenablefinal lame latin1 libg++ libnotify logrotate lzo mad midi mikmod mmx mmxext mng mono mozbranding mp3 mpeg mpeg2 mplayer msn mudflap musicbrainz mysql mysqli ncurses nls no-seamonkey nptl nptlonly nsplugin ntfs offensive ogg opengl openmp openssh openssl pam pcap pcre pdf perl php png pnp ppds pppd print python qt3 qt3support qt4 quicktime rar rdesktop readlin readline realmedia reflection rtc ruby samba scanner screen sdk sdl session slang sockets spell spl sqlite sqllite srt sse sse2 ssl suhosin svg sysfs tcltk tcpd tiff tokenizer truetype truetype-fonts type1 type1-fonts udev unicode urandom usb userlocales vim vim-with-x vnc vorbis wifi wma wmf wmp wxwindows x11vnc x264 x86 xcomposite xine xml xmlreader xmlwriter xorg xv xvid xvmc zip 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 mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en en_GB sv sv_SE" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 1 BedOS_Gui 2007-10-21 18:17:33 UTC
You have to re-emerge openmotif before compiling mesa.
Comment 2 Raboo Treed 2007-10-21 19:54:39 UTC
(In reply to comment #1)
> You have to re-emerge openmotif before compiling mesa.
> 
I've tried that allready, it makes no diffrence.
Comment 3 Donnie Berkholz (RETIRED) gentoo-dev 2007-10-22 04:13:15 UTC
Take a look at motif-config and make sure it's set up properly.
Comment 4 Raboo Treed 2007-10-22 04:39:51 UTC
(In reply to comment #3)
> Take a look at motif-config and make sure it's set up properly.
> 
I only have 1 openmotif installed.
chefen ~ # motif-config -L
/usr/lib64/openmotif-2.3/
chefen ~ # motif-config -I
/usr/include/openmotif-2.3/
chefen ~ # motif-config -s
 * /usr/bin/motif-config: New default Profile is: openmotif-2.3
chefen ~ # motif-config -l
[1] openmotif-2.3 *
chefen ~ # motif-config -c
openmotif-2.3
Comment 5 Raboo Treed 2007-10-24 18:17:22 UTC
This is related to bug #196641
x86 use flag on 64 bit system