Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 563152 - media-libs/allegro-5.0.11 tries to use 64bit libs during 32bit src_configure
Summary: media-libs/allegro-5.0.11 tries to use 64bit libs during 32bit src_configure
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-10-15 15:46 UTC by psimonson1988
Modified: 2016-02-29 06:44 UTC (History)
3 users (show)

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


Attachments
Build.log for x86_64. (build.log,9.42 KB, text/plain)
2015-10-15 15:46 UTC, psimonson1988
Details
Cmake error log file (CMakeError.log,21.70 KB, text/plain)
2015-10-15 21:17 UTC, psimonson1988
Details
Cmake output log file (CMakeOutput.log,85.27 KB, text/plain)
2015-10-15 21:20 UTC, psimonson1988
Details
allegro-5.0.11-mulltilib.patch (allegro-5.0.11-multilib.patch,340 bytes, patch)
2016-02-25 09:37 UTC, Azamat H. Hackimov
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description psimonson1988 2015-10-15 15:46:14 UTC
Created attachment 414638 [details]
Build.log for x86_64.

I have installed x11-base/xorg-drivers and x11-base/xorg-x11.. on a multilib system (x86/amd64). But it still says that I'm missing Xcursor library. Which I've checked with locate, the libraries are there.
Comment 1 Rafał Mużyło 2015-10-15 17:53:55 UTC
Attach cmake log files mentioned in the build log.

Did you check for *32bit* Xcursor lib ?
Comment 2 psimonson1988 2015-10-15 19:36:23 UTC
[code]Portage 2.2.20.1 (python 3.4.3-final-0, default/linux/amd64/13.0/desktop, gcc-4.9.3, glibc-2.20-r2, 4.0.5-gentoo x86_64)
=================================================================
System uname: Linux-4.0.5-gentoo-x86_64-AMD_FX-tm-6350_Six-Core_Processor-with-gentoo-2.2
KiB Mem:     8066892 total,   7066916 free
KiB Swap:    3145724 total,   3145724 free
Timestamp of repository gentoo: Thu, 15 Oct 2015 15:30:02 +0000
sh bash 4.3_p39
ld GNU ld (Gentoo 2.25.1 p1.1) 2.25.1
app-shells/bash:          4.3_p39::gentoo
dev-lang/perl:            5.20.2::gentoo
dev-lang/python:          2.7.10::gentoo, 3.4.3::gentoo
dev-util/cmake:           3.3.1-r1::gentoo
dev-util/pkgconfig:       0.28-r2::gentoo
sys-apps/baselayout:      2.2::gentoo
sys-apps/openrc:          0.17::gentoo
sys-apps/sandbox:         2.6-r1::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69::gentoo
sys-devel/automake:       1.11.6-r1::gentoo, 1.14.1::gentoo, 1.15::gentoo
sys-devel/binutils:       2.25.1-r1::gentoo
sys-devel/gcc:            4.9.3::gentoo
sys-devel/gcc-config:     1.7.3::gentoo
sys-devel/libtool:        2.4.6::gentoo
sys-devel/make:           4.1-r1::gentoo
sys-kernel/linux-headers: 3.18::gentoo (virtual/os-headers)
sys-libs/glibc:           2.20-r2::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* @EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://lug.mtu.edu/gentoo/ ftp://lug.mtu.edu/gentoo/ http://mirrors.rit.edu/gentoo/ ftp://mirrors.rit.edu/gentoo/"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j7"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
USE="X a52 aac acl acpi alsa amd64 berkdb bindist bluetooth branding bzip2 cairo cdda cdr cli consolekit cracklib crypt cups cxx dbus dri dts dvd dvdr emboss encode exif fam ffmpeg firefox flac fortran gdbm gif glamor gtk iconv icu ipv6 jpeg lcms ldap libnotify mad mmx mmxext mng modules mp3 mp4 mpeg multilib ncurses nls nptl ogg opengl openmp pam pango pcre pdf png policykit ppds pulseaudio python qt3support qt4 readline sdl seccomp session spell sse sse2 ssl startup-notification svg tcpd tiff truetype udev udisks unicode upower usb vorbis wxwidgets x264 xcb xml xv xvid zlib" ABI_X86="64 32" 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" 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 author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2" 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 ublox ubx" INPUT_DEVICES="evdev mouse keyboard" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en de" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_4" QEMU_SOFTMMU_TARGETS="i386 x86_64" QEMU_USER_TARGETS="i386 x86_64" RUBY_TARGETS="ruby20 ruby21" USERLAND="GNU" VIDEO_CARDS="nvidia v4l" XFCE_PLUGINS="brightness clock trash" 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:  CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON[/code]
Comment 3 psimonson1988 2015-10-15 19:38:11 UTC
(In reply to Rafał Mużyło from comment #1)
> Attach cmake log files mentioned in the build log.
> 
> Did you check for *32bit* Xcursor lib ?

How do I check that and if its not installed properly how do I install it? I'm fairly new to gentoo. Still trying to learn it (its a lot to learn).
Comment 4 psimonson1988 2015-10-15 21:17:57 UTC
Created attachment 414656 [details]
Cmake error log file

This is the CMakeError.log file, the only one I could find other than CMakeOutput.log.
Comment 5 psimonson1988 2015-10-15 21:20:34 UTC
Created attachment 414658 [details]
Cmake output log file

This is the only other file that I could find, if you need anymore let me know.
Comment 6 psimonson1988 2015-10-15 21:26:37 UTC
Here is the emerge command that I run when it fails.

[code]gentoo-box ~ # emerge -av media-libs/allegro

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R    ] media-libs/allegro-5.0.11:5::gentoo  USE="X alsa flac gtk jpeg png pulseaudio truetype vorbis -dumb -openal -oss -physfs {-test} -xinerama" ABI_X86="32* (64) (-x32)" 0 KiB

Total: 1 package (1 reinstall), Size of downloads: 0 KiB

Would you like to merge these packages? [Yes/No] y

>>> Verifying ebuild manifests

>>> Emerging (1 of 1) media-libs/allegro-5.0.11::gentoo
 * allegro-5.0.11.tar.gz SHA256 SHA512 WHIRLPOOL size ;-) ...            [ ok ]
>>> Unpacking source...
>>> Unpacking allegro-5.0.11.tar.gz to /var/tmp/portage/media-libs/allegro-5.0.11/work
>>> Source unpacked in /var/tmp/portage/media-libs/allegro-5.0.11/work
>>> Preparing source in /var/tmp/portage/media-libs/allegro-5.0.11/work/allegro-5.0.11 ...
 * Applying allegro-5.0.4-underlink.patch ...                            [ ok ]
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/media-libs/allegro-5.0.11/work/allegro-5.0.11 ...
 * abi_x86_32.x86: running multilib-minimal_abi_src_configure
>>> Working in BUILD_DIR: "/var/tmp/portage/media-libs/allegro-5.0.11/work/allegro-5.0.11-abi_x86_32.x86"
cmake --no-warn-unused-cli -C /var/tmp/portage/media-libs/allegro-5.0.11/work/allegro-5.0.11-abi_x86_32.x86/gentoo_common_config.cmake -G Unix Makefiles -DCMAKE_INSTALL_PREFIX=/usr -DWANT_alsa=ON -DWANT_ALSA=ON -DWANT_Alsa=ON -DWANT_DEMO=OFF -DWANT_EXAMPLES=OFF -DWANT_flac=ON -DWANT_FLAC=ON -DWANT_Flac=ON -DWANT_IMAGE_JPG=ON -DWANT_IMAGE_PNG=ON -DWANT_MODAUDIO=OFF -DWANT_openal=OFF -DWANT_OPENAL=OFF -DWANT_Openal=OFF -DWANT_oss=OFF -DWANT_OSS=OFF -DWANT_Oss=OFF -DWANT_physfs=OFF -DWANT_PHYSFS=OFF -DWANT_Physfs=OFF -DWANT_pulseaudio=ON -DWANT_PULSEAUDIO=ON -DWANT_Pulseaudio=ON -DWANT_TESTS=OFF -DWANT_TTF=ON -DWANT_vorbis=ON -DWANT_VORBIS=ON -DWANT_Vorbis=ON -DWANT_NATIVE_DIALOG=ON -DWANT_opengl=ON -DWANT_X11_XINERAMA=OFF -DCMAKE_BUILD_TYPE=Gentoo -DCMAKE_INSTALL_DO_STRIP=OFF -DCMAKE_USER_MAKE_RULES_OVERRIDE=/var/tmp/portage/media-libs/allegro-5.0.11/work/allegro-5.0.11-abi_x86_32.x86/gentoo_rules.cmake -DCMAKE_TOOLCHAIN_FILE=/var/tmp/portage/media-libs/allegro-5.0.11/work/allegro-5.0.11-abi_x86_32.x86/gentoo_toolchain.cmake  /var/tmp/portage/media-libs/allegro-5.0.11/work/allegro-5.0.11
Not searching for unused variables given on the command line.
loading initial cache file /var/tmp/portage/media-libs/allegro-5.0.11/work/allegro-5.0.11-abi_x86_32.x86/gentoo_common_config.cmake
-- The C compiler identification is GNU 4.9.3
-- The CXX compiler identification is GNU 4.9.3
-- Check for working C compiler: /usr/bin/x86_64-pc-linux-gnu-gcc
-- Check for working C compiler: /usr/bin/x86_64-pc-linux-gnu-gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/x86_64-pc-linux-gnu-g++
-- Check for working CXX compiler: /usr/bin/x86_64-pc-linux-gnu-g++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Allowing GCC to use SSE instructions
-- Found PkgConfig: /usr/bin/i686-pc-linux-gnu-pkg-config (found version "0.28") 
-- Check if the system is big endian
-- Searching 16 bit integer
-- Looking for sys/types.h
-- Looking for sys/types.h - found
-- Looking for stdint.h
-- Looking for stdint.h - found
-- Looking for stddef.h
-- Looking for stddef.h - found
-- Check size of unsigned short
-- Check size of unsigned short - done
-- Using unsigned short
-- Check if the system is big endian - little endian
-- Looking for include file dirent.h
-- Looking for include file dirent.h - found
-- Looking for include file inttypes.h
-- Looking for include file inttypes.h - found
-- Looking for include files sys/types.h, linux/joystick.h
-- Looking for include files sys/types.h, linux/joystick.h - found
-- Looking for include file stdbool.h
-- Looking for include file stdbool.h - found
-- Looking for include file stdint.h
-- Looking for include file stdint.h - found
-- Looking for include file sys/io.h
-- Looking for include file sys/io.h - found
-- Looking for include file sys/stat.h
-- Looking for include file sys/stat.h - found
-- Looking for include file sys/time.h
-- Looking for include file sys/time.h - found
-- Looking for include file time.h
-- Looking for include file time.h - found
-- Looking for include file sys/utsname.h
-- Looking for include file sys/utsname.h - found
-- Looking for include file sys/types.h
-- Looking for include file sys/types.h - found
-- Looking for include file soundcard.h
-- Looking for include file soundcard.h - not found
-- Looking for include file sys/soundcard.h
-- Looking for include file sys/soundcard.h - found
-- Looking for include file machine/soundcard.h
-- Looking for include file machine/soundcard.h - not found
-- Looking for include file linux/soundcard.h
-- Looking for include file linux/soundcard.h - found
-- Looking for include file libkern/OSAtomic.h
-- Looking for include file libkern/OSAtomic.h - not found
-- Looking for include file sys/inotify.h
-- Looking for include file sys/inotify.h - found
-- Looking for include file sys/timerfd.h
-- Looking for include file sys/timerfd.h - found
-- Looking for getexecname
-- Looking for getexecname - not found
-- Looking for mkstemp
-- Looking for mkstemp - found
-- Looking for mmap
-- Looking for mmap - found
-- Looking for mprotect
-- Looking for mprotect - found
-- Looking for sched_yield
-- Looking for sched_yield - found
-- Looking for sysconf
-- Looking for sysconf - found
-- Looking for fseeko
-- Looking for fseeko - found
-- Looking for ftello
-- Looking for ftello - found
-- Check size of _Bool
-- Check size of _Bool - done
-- Performing Test ALLEGRO_HAVE_PROCFS_ARGCV
-- Performing Test ALLEGRO_HAVE_PROCFS_ARGCV - Failed
-- Performing Test ALLEGRO_HAVE_SV_PROCFS_H
-- Performing Test ALLEGRO_HAVE_SV_PROCFS_H - Failed
-- Performing Test ALLEGRO_HAVE_VA_COPY
-- Performing Test ALLEGRO_HAVE_VA_COPY - Success
-- Found OpenGL: /usr/lib/libGL.so  
-- Looking for include file pthread.h
-- Looking for include file pthread.h - found
-- Looking for pthread_create
-- Looking for pthread_create - not found
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE  
-- Looking for XOpenDisplay in /usr/lib/libX11.so;/usr/lib/libXext.so
-- Looking for XOpenDisplay in /usr/lib/libX11.so;/usr/lib/libXext.so - not found
-- Looking for dnet_ntoa in dnet
-- Looking for dnet_ntoa in dnet - not found
-- Looking for dnet_ntoa in dnet_stub
-- Looking for dnet_ntoa in dnet_stub - not found
-- Looking for gethostbyname
-- Looking for gethostbyname - found
-- Looking for connect
-- Looking for connect - found
-- Looking for remove
-- Looking for remove - found
-- Looking for shmat
-- Looking for shmat - found
-- Looking for IceConnectionNumber in ICE
-- Looking for IceConnectionNumber in ICE - found
-- Found X11: /usr/lib/libX11.so
-- Looking for XcursorImageCreate in Xcursor
-- Looking for XcursorImageCreate in Xcursor - not found
CMake Error at CMakeLists.txt:570 (message):
  X11 support requires Xcursor library.


-- Configuring incomplete, errors occurred!
See also "/var/tmp/portage/media-libs/allegro-5.0.11/work/allegro-5.0.11-abi_x86_32.x86/CMakeFiles/CMakeOutput.log".
See also "/var/tmp/portage/media-libs/allegro-5.0.11/work/allegro-5.0.11-abi_x86_32.x86/CMakeFiles/CMakeError.log".
 * ERROR: media-libs/allegro-5.0.11::gentoo failed (configure phase):
 *   cmake failed
 * 
 * Call stack:
 *     ebuild.sh, line   93:  Called src_configure
 *   environment, line 3186:  Called cmake-multilib_src_configure
 *   environment, line  749:  Called multilib-minimal_src_configure
 *   environment, line 2392:  Called multilib_foreach_abi 'multilib-minimal_abi_src_configure'
 *   environment, line 2599:  Called multibuild_foreach_variant '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_configure'
 *   environment, line 2323:  Called _multibuild_run '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_configure'
 *   environment, line 2321:  Called _multilib_multibuild_wrapper 'multilib-minimal_abi_src_configure'
 *   environment, line  493:  Called multilib-minimal_abi_src_configure
 *   environment, line 2386:  Called multilib_src_configure
 *   environment, line 2815:  Called cmake-utils_src_configure
 *   environment, line  767:  Called _execute_optionally 'src_configure'
 *   environment, line  284:  Called enable_cmake-utils_src_configure
 *   environment, line 1091:  Called die
 * The specific snippet of code:
 *       "${CMAKE_BINARY}" "${cmakeargs[@]}" "${CMAKE_USE_DIR}" || die "cmake failed";
 * 
 * If you need support, post the output of `emerge --info '=media-libs/allegro-5.0.11::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=media-libs/allegro-5.0.11::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/media-libs/allegro-5.0.11/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/media-libs/allegro-5.0.11/temp/environment'.
 * Working directory: '/var/tmp/portage/media-libs/allegro-5.0.11/work/allegro-5.0.11-abi_x86_32.x86'
 * S: '/var/tmp/portage/media-libs/allegro-5.0.11/work/allegro-5.0.11'

>>> Failed to emerge media-libs/allegro-5.0.11, Log file:

>>>  '/var/tmp/portage/media-libs/allegro-5.0.11/temp/build.log'

 * Messages for package media-libs/allegro-5.0.11:

 * ERROR: media-libs/allegro-5.0.11::gentoo failed (configure phase):
 *   cmake failed
 * 
 * Call stack:
 *     ebuild.sh, line   93:  Called src_configure
 *   environment, line 3186:  Called cmake-multilib_src_configure
 *   environment, line  749:  Called multilib-minimal_src_configure
 *   environment, line 2392:  Called multilib_foreach_abi 'multilib-minimal_abi_src_configure'
 *   environment, line 2599:  Called multibuild_foreach_variant '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_configure'
 *   environment, line 2323:  Called _multibuild_run '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_configure'
 *   environment, line 2321:  Called _multilib_multibuild_wrapper 'multilib-minimal_abi_src_configure'
 *   environment, line  493:  Called multilib-minimal_abi_src_configure
 *   environment, line 2386:  Called multilib_src_configure
 *   environment, line 2815:  Called cmake-utils_src_configure
 *   environment, line  767:  Called _execute_optionally 'src_configure'
 *   environment, line  284:  Called enable_cmake-utils_src_configure
 *   environment, line 1091:  Called die
 * The specific snippet of code:
 *       "${CMAKE_BINARY}" "${cmakeargs[@]}" "${CMAKE_USE_DIR}" || die "cmake failed";
 * 
 * If you need support, post the output of `emerge --info '=media-libs/allegro-5.0.11::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=media-libs/allegro-5.0.11::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/media-libs/allegro-5.0.11/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/media-libs/allegro-5.0.11/temp/environment'.
 * Working directory: '/var/tmp/portage/media-libs/allegro-5.0.11/work/allegro-5.0.11-abi_x86_32.x86'
 * S: '/var/tmp/portage/media-libs/allegro-5.0.11/work/allegro-5.0.11'
gentoo-box ~ # [/code]
Comment 7 Felix Janda 2015-10-16 18:45:26 UTC
Try installing a 32bit libSM. There seems to be a dependency on
x11-libs/libSM not specified in the ebuild.
Comment 8 Rafał Mużyło 2015-10-16 18:49:11 UTC
(In reply to psimonson1988 from comment #3)
> (In reply to Rafał Mużyło from comment #1)
> > Did you check for *32bit* Xcursor lib ?
> 
> How do I check that and if its not installed properly how do I install it?
> I'm fairly new to gentoo. Still trying to learn it (its a lot to learn).

Well, unless there's a significant mess on your system, 32bit lib should be in /usr/lib32...

But anyway: the error log says the problem is with with the linker being passed 64bit libs for 32bit checks...which is odd, as in such case it looks as if it should have failed during tests as multilib support was being added to the ebuild...
Comment 9 Rafał Mużyło 2015-10-16 18:53:59 UTC
(In reply to Felix Janda from comment #7)
> Try installing a 32bit libSM. There seems to be a dependency on
> x11-libs/libSM not specified in the ebuild.

When put that way, it might be both correct and not - that check looks like the standard, mostly poinless check for libSM/libICE, that's a pretty much a cargo-culted copy of a certain check in AC_PATH_XTRA, that's in most cases just as pointless.
Comment 10 psimonson1988 2015-10-21 18:41:19 UTC
Well I re-installed my entire gentoo system two days ago. Enabled multilib like it said in the eselect news.

package.use/multilib:

*/* abi_x86_32

then ran the command: emerge -C 'app-emulation/emul-linux-x86*'

finally, got all of my software and stuff back on my computer. Then tried to emerge allegro-5.0.11. Still the same thing, failed at cmake-multilib_src_configure.

PS: This is a full amd64 "MultiLib" system. It won't build. Someone said on the gentoo forums, that they had the same problem. They had to use layman's seden overlay and install it that way. But, I tried that one and that didn't emerge for me ether.
Comment 11 Azamat H. Hackimov 2016-02-25 09:37:49 UTC
Created attachment 426488 [details, diff]
allegro-5.0.11-mulltilib.patch

There excessive linking during XCursor check in CMakeLists.txt. For some reason developer added ${X11_LIBRARIES} to linking, but there require only -lXcursor.

Attached file should help to compile 32-bit part of package.
Comment 12 Mr. Bones. (RETIRED) gentoo-dev 2016-02-29 06:44:00 UTC
great, thanks for the patch.