Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 419927

Summary: media-libs/mesa-8.0.3 build failure on x32
Product: Gentoo Linux Reporter: Albert W. Hopkins <marduk>
Component: New packagesAssignee: Gentoo X packagers <x11>
Status: RESOLVED FIXED    
Severity: normal CC: mads, mattst88, phajdan.jr
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: http://lists.freedesktop.org/archives/mesa-dev/2012-September/027165.html
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 393673    
Attachments: build.log
add x32 support

Description Albert W. Hopkins 2012-06-06 14:38:18 UTC
Created attachment 314419 [details]
build.log

gmake[2]: *** No rule to make target `../../libx32/libglsl.so', needed by `../../libx32/libdricore.so'.  Stop.

---
(x32 chroot) blackwidow ~ # emerge --info =media-libs/mesa-8.0
Portage 2.1.10.49 (default/linux/amd64/10.0/x32, gcc-4.7.0, glibc-2.15-r2, 3.4.0-gentoo x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-3.4.0-gentoo-x86_64-Intel-R-_Core-TM-2_Quad_CPU_Q9550_@_2.83GHz-with-gentoo-2.1
Timestamp of tree: Wed, 06 Jun 2012 11:35:01 +0000
app-shells/bash:          4.2_p20
dev-lang/python:          2.7.3-r2, 3.2.3
dev-util/pkgconfig:       0.26
sys-apps/baselayout:      2.1-r1
sys-apps/openrc:          0.9.8.4
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.68
sys-devel/automake:       1.11.1
sys-devel/binutils:       2.22-r1
sys-devel/gcc:            4.7.0
sys-devel/gcc-config:     1.5-r2
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82-r1
sys-kernel/linux-headers: 3.4 (virtual/os-headers)
sys-libs/glibc:           2.15-r2
Repositories: gentoo gnome marduk
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA IBM-J1.6 AdobeFlash-10.3 skype-eula"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=nocona -mtune=corei7-avx -fomit-frame-pointer -pipe -mx32"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -march=nocona -mtune=corei7-avx -fomit-frame-pointer -pipe -mx32"
DISTDIR="/var/portage/distfiles"
EMERGE_DEFAULT_OPTS="--keep-going --usepkg --binpkg-respect-use=y     --quiet-build --jobs --quiet-unmerge-warn --oneshot     --autounmask=n --buildpkg-exclude virtual/*     --buildpkg-exclude sys-kernel/*-sources --misspell-suggestions=n"
FEATURES="assume-digests binpkg-logs buildpkg distlocks ebuild-locks fixlafiles multilib-strict news noinfo notitles parallel-fetch protect-owned sandbox sfperms skiprocheck strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="ja"
MAKEOPTS="-j5 -l5.0"
PKGDIR="/var/portage/packages"
PORTAGE_COMPRESS=""
PORTAGE_COMPRESS_FLAGS=""
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="/var/portage"
PORTDIR_OVERLAY="/var/lib/layman/gnome /var/lib/layman/marduk"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="acpi aes amd64 aperfmperf apic arat arch_perfmon avx bts cjk clflush cmov constant_tsc cx16 cx8 de ds_cpl dtes64 dts epb ept est flexpriority fpu fxsr ht ida introspection lahf_lm lm mca mce mmx monitor msr mtrr multilib nls nonstop_tsc nopl nx pae pam pat pbe pcid pclmulqdq pdcm pebs pge pln pni popcnt pse pse36 pts rdtscp sep smx ss sse sse2 sse4_1 sse4_2 ssse3 syscall tm tm2 tpr_shadow tsc tsc_deadline_timer unicode utf8 vme vmx vnmi vpid x2apic xsave xsaveopt xtopology xtpr" ALSA_PCM_PLUGINS="*" APACHE2_MODULES="auth_digest authn_file group_file dav dav_fs authz_groupfile" CAMERAS="*" CURL_SSL="openssl" DRACUT_MODULES="plymouth" ELIBC="glibc" FFTOOLS="*" GRUB_PLATFORMS="efi-32 efi-64 emu pc" INPUT_DEVICES="evdev synaptics" KERNEL="linux" LINGUAS="ja" QEMU_SOFTMMU_TARGETS="i386 x86_64" QEMU_USER_TARGETS="i386 x86_64" RUBY_TARGETS="ruby19" USERLAND="GNU" VIDEO_CARDS="intel i915 i965"
Unset:  CPPFLAGS, CTARGET, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
---

Complete build log attached.
Comment 2 Tim Harder gentoo-dev 2012-06-06 23:06:20 UTC
Created attachment 314485 [details, diff]
add x32 support
Comment 3 Tim Harder gentoo-dev 2012-06-06 23:06:58 UTC
(In reply to comment #1)
> might want to review these:
> 
> http://git.yoctoproject.org/cgit/cgit.cgi/poky/diff/meta/recipes-graphics/
> mesa/mesa/mesa_fix_for_x32.patch?id=a41df69a11a27ab67c0c6df08546f66ec3d83da6
> 
> https://gerrit.chromium.org/gerrit/16491

Those patches don't apply cleanly to mesa-8.0.3 anymore so I've attached an updated patch.
Comment 4 Albert W. Hopkins 2012-06-07 07:24:50 UTC
The patch did work (although I did encounter bug #342393).  Thanks.
Comment 5 Xavier Miller (RETIRED) gentoo-dev 2012-06-08 07:56:53 UTC
Hello,

The patch worked also for me.

Thank you for the patch.
Comment 6 Chí-Thanh Christopher Nguyễn gentoo-dev 2012-06-10 10:19:52 UTC
Please also send this patch to the dri-devel mailing list.
Comment 7 Joe 2012-06-26 12:12:04 UTC
Hello,

This patch worked for me as well, on the x32 experimental state3 (although it was exhibiting a slightly different compile failure).

Thanks!
Comment 8 devsk 2012-07-19 19:35:42 UTC
Can we push this patch out as a nebuild revision please?
Comment 9 Chí-Thanh Christopher Nguyễn gentoo-dev 2012-07-19 21:15:18 UTC
We would like an upstream ack on this patch first.
Comment 10 SpanKY gentoo-dev 2012-09-14 06:05:55 UTC
Matt: want to review the patch i sent up stream ? ;)
Comment 11 Matt Turner gentoo-dev 2012-09-14 15:23:10 UTC
Yeah, I should get to this sooner rather than later since I'm 100 patches into a series that eventually kills mklib as a side-effect. :)

I'll do this bug today and get this patch on its way to the 9.0 branch.
Comment 12 Matt Turner gentoo-dev 2012-09-14 23:11:37 UTC
Committed to master and the 9.0 branch.
Comment 13 Chí-Thanh Christopher Nguyễn gentoo-dev 2012-09-22 19:07:16 UTC
Fixed in mesa-9.0_pre20120918
Comment 14 SpanKY gentoo-dev 2012-10-26 02:49:56 UTC
*** Bug 437394 has been marked as a duplicate of this bug. ***