Uploaded image for project: 'Funtoo Linux'
  1. Funtoo Linux
  2. FL-1831

dev-libs/hidapi cannot be built with abi_x86_32 on x86_64

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Normal Normal
    • None
    • None
    • Funtoo current

      With the global useflag "abi_x86_32" set, I cannot built dev-libs/hidapi, it complains about fox17.pc missing, which should be provided by x11-libs/fox, which I have installed. x11-libs/fox, however, only provides /usr/lib64/pkgconfig/fox17.pc, not the /usr/lib32/pkgconfig/fox17.pc that I believe is needed.

      What I believe to be the solution is:
      1) Make x11-libs/fox multilib (I have global abi_x86_32 set, so if it already were multilib, it should have /usr/lib32/ files, but "equery f fox | grep lib" shows only /usr/lib64/* files).
      2) Have dev-libs/hidapi depend on 32 bit x11-libs/fox as well when abi_x86_32 is set.

      emerge --info '=dev-libs/hidapi-0.8.0_rc1_p20140201'
      Portage 2.3.6-r9 (funtoo/1.0/linux-gnu/arch/x86-64bit, gcc-4.8.3, glibc-2.19, 3.17.2-gentoo x86_64)
      =================================================================
                              System Settings
      =================================================================
      System uname: Linux-3.17.2-gentoo-x86_64-Intel-R-_Core-TM-_i5-4690_CPU_@_3.50GHz-with-gentoo-2.2.0
      KiB Mem:    32704620 total,  10404368 free
      KiB Swap:    2097148 total,   2096712 free
      Timestamp of tree: Unknown
      ld GNU ld (Gentoo 2.24 p1.4) 2.24
      app-shells/bash:          4.3_p30
      dev-java/java-config:     2.2.0-r1000
      dev-lang/perl:            5.20.1-r2
      dev-lang/python:          2.7.8-r1000, 3.3.5-r1000
      dev-util/cmake:           3.0.2
      sys-apps/baselayout:      2.2.0-r6
      sys-apps/openrc:          0.12.3-r3
      sys-apps/sandbox:         2.6-r2
      sys-devel/autoconf:       2.13, 2.69
      sys-devel/automake:       1.11.6-r1, 1.13.4
      sys-devel/binutils:       2.24-r3
      sys-devel/gcc:            4.8.3
      sys-devel/gcc-config:     1.8
      sys-devel/libtool:        2.4.3-r2
      sys-devel/make:           3.82-r4
      sys-kernel/linux-headers: 3.17-r1 (virtual/os-headers)
      sys-libs/glibc:           2.19
      Repositories: gentoo calrama sabayon gentoo-el steam-overlay gamerlay
      Installed sets: @kernel, @zfs
      ACCEPT_KEYWORDS="amd64 ~amd64"
      ACCEPT_LICENSE="* -@EULA"
      CBUILD="x86_64-pc-linux-gnu"
      CFLAGS="-march=native -mtune=native -O2 -pipe"
      CHOST="x86_64-pc-linux-gnu"
      CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
      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 /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
      CXXFLAGS="-march=native -mtune=native -O2 -pipe"
      DISTDIR="/usr/portage/distfiles"
      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 xattr"
      FFLAGS=""
      GENTOO_MIRRORS="ftp://ftp.spline.inf.fu-berlin.de/mirrors/gentoo/"
      LANG="en_GB.utf8"
      LDFLAGS="-Wl,-O1 -Wl,--sort-common -Wl,--as-needed"
      LINGUAS="en_GB"
      MAKEOPTS="-j5"
      PKGDIR="/usr/portage/packages"
      PORTAGE_CONFIGROOT="/"
      PORTAGE_TMPDIR="/var/tmp"
      PORTDIR="/usr/portage"
      PORTDIR_OVERLAY="/var/lib/layman/calrama /var/lib/layman/sabayon /var/lib/layman/gentoo-el /var/lib/layman/steam /var/lib/layman/gamerlay"
      SYNC="git://github.com/funtoo/ports-2012.git"
      SYNC_USER="root"
      USE="X acl alsa amd64 apng avx avx2 berkdb bzip2 cdr cracklib crypt cups cxx dbus dri dvd dvdr dvdread flac gdbm gif gpm gtk gtk3 iconv icu ipv6 jpeg lame lm_sensors mad mmx modules mp3 mpeg mudflap multilib ncurses nls nptl nsplugin ogg opengl openmp pam pcre png pppd pulseaudio python readline resolvconf sse sse2 sse3 sse4 sse4_1 sse4_2 ssl ssse3 tcpd tiff truetype udev unicode vaapi vorbis wavpack win32codecs xattr xml zlib" ABI_X86="32 64" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel ice1724 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" 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 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 authn_core authz_core socache_shmcb unixd" 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" 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 synaptics keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en_GB" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_ABIS="2.7 3.3" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_3" QEMU_SOFTMMU_TARGETS="i386 x86_64" QEMU_USER_TARGETS="i386 x86_64" RUBY_TARGETS="ruby19 ruby20 ruby21" USERLAND="GNU" VIDEO_CARDS="intel i965" 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:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, SYNC_UMASK
      
      emerge -pqv '=dev-libs/hidapi-0.8.0_rc1_p20140201'
      [ebuild  N    ] dev-libs/hidapi-0.8.0_rc1_p20140201  USE="X -doc -static-libs"
      

            mgorny Michał Górny
            calrama calrama
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: