Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 508278 - =x11-libs/pango-1.36.3-r1 - temp/environment: line 3593: x86_64-pc-linux-gnu-pango-querymodules: command not found
Summary: =x11-libs/pango-1.36.3-r1 - temp/environment: line 3593: x86_64-pc-linux-gnu-...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-04-20 21:43 UTC by Robert Förster
Modified: 2014-04-23 20:51 UTC (History)
1 user (show)

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


Attachments
environment file (environment,140.96 KB, text/plain)
2014-04-20 21:45 UTC, Robert Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Robert Förster 2014-04-20 21:43:55 UTC
due to its nativeness [when not using multiple abis] pango-querymodules has no chost prefix, but pkg_postinst seems to expect it

Portage 2.2.10 (default/linux/amd64/13.0, gcc-4.8.2, glibc-2.19, 3.14.0-gentoo-chimera x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-3.14.0-gentoo-chimera-x86_64-Intel-R-_Xeon-R-_CPU_E5405_@_2.00GHz-with-gentoo-2.2
KiB Mem:     2052408 total,    115584 free
KiB Swap:     996024 total,    632440 free
Timestamp of tree: Sun, 20 Apr 2014 19:30:01 +0000
ld GNU ld (GNU Binutils) 2.24
app-shells/bash:          4.2_p47
dev-java/java-config:     2.2.0
dev-lang/python:          2.7.6, 3.3.5, 3.4.0
dev-util/cmake:           2.8.12.2
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.12.4
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.14.1
sys-devel/binutils:       2.24-r2
sys-devel/gcc:            4.8.2
sys-devel/gcc-config:     1.8
sys-devel/libtool:        2.4.2
sys-devel/make:           4.0-r1
sys-kernel/linux-headers: 3.14 (virtual/os-headers)
sys-libs/glibc:           2.19
Repositories: gentoo mysql java Dessa froxlor
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /opt/openfire/resources/security/ /usr/share/gnupg/qualified.txt /var/bind"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.4/ext-active/ /etc/php/apache2-php5.5/ext-active/ /etc/php/apache2-php5.6/ext-active/ /etc/php/cgi-php5.4/ext-active/ /etc/php/cgi-php5.5/ext-active/ /etc/php/cgi-php5.6/ext-active/ /etc/php/cli-php5.4/ext-active/ /etc/php/cli-php5.5/ext-active/ /etc/php/cli-php5.6/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=native -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://distfiles.gentoo.org"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--gc-sections"
MAKEOPTS="-j1"
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"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/lib/layman/mysql /var/lib/layman/java /usr/local/portage /usr/local/overlays/froxlor-gentoo"
SYNC="rsync://rsync.de.gentoo.org/gentoo-portage"
USE="acl amd64 berkdb bzip2 caps cli cracklib crypt cxx dri fortran gdbm iconv ipv6 ldap mmx modules multilib ncurses nls nptl openmp pam pcre readline session sse sse2 sse3 ssl ssse3 tcpd threads truetype unicode vhosts zlib" ABI_X86="64" 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 access_compat" ELIBC="glibc" KERNEL="linux" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_3 python3_4" RUBY_TARGETS="ruby20" USERLAND="GNU" 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, LANG, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON

=================================================================
                        Package Settings
=================================================================

x11-libs/pango-1.36.3-r1 was built with the following:
USE="introspection -X -debug" ABI_X86="64 -32 -x32"
Comment 1 Robert Förster 2014-04-20 21:45:28 UTC
Created attachment 375398 [details]
environment file
Comment 2 Alexandre Rostovtsev (RETIRED) gentoo-dev 2014-04-20 22:09:09 UTC
@multilib, multilib-minimal.eclass and cmake-multilib.eclass currently run multilib_prepare_wrappers() only when the number of ABIs is >1. This makes running wrapped tools in pkg_postinst bit more complicated than it needs to be...
Comment 3 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2014-04-20 22:22:49 UTC
By the way, you can guess who actually requested us to do it like this...
Comment 4 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2014-04-20 22:31:54 UTC
Thinking about it more, I guess we can replace the 'no of impls' check with dumb [[ $COMPLETE_MULTILIB ]] check. Assuming our non-multilib users don't mind seeing /usr/include/$CHOST.
Comment 5 Alexandre Rostovtsev (RETIRED) gentoo-dev 2014-04-20 22:37:21 UTC
This should eventually be addressed at the eclass level, but we need a fix for pango in the tree right now. Thanks for letting us know about the problem!

+*pango-1.36.3-r2 (20 Apr 2014)
+
+  20 Apr 2014; Alexandre Rostovtsev <tetromino@gentoo.org>
+  -pango-1.36.3-r1.ebuild, +pango-1.36.3-r2.ebuild:
+  Unbreak pango-querymodules postinst call for non-multilib case (bug #508278,
+  thanks to Robert Förster).
Comment 6 Alexandre Rostovtsev (RETIRED) gentoo-dev 2014-04-20 22:41:07 UTC
(In reply to Michał Górny from comment #4)
> Thinking about it more, I guess we can replace the 'no of impls' check with
> dumb [[ $COMPLETE_MULTILIB ]] check. Assuming our non-multilib users don't
> mind seeing /usr/include/$CHOST.

I would suggest a less invasive solution - a function, something like multilib_chost_tool_name(), to get the tool name depending on number of impls.
Comment 7 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2014-04-23 11:58:13 UTC
I've got another idea: how about creating

  ${CHOST}-foo-config -> foo-config

for multilib-portage? This would make both names working on multilib-portage systems.
Comment 8 Gilles Dartiguelongue (RETIRED) gentoo-dev 2014-04-23 20:51:03 UTC
I guess this would be ok (read your -dev patches, sounds sane).