Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 510942 - www-client/chromium-35.0.1916.114-r1::gentoo failed (configure phase): gyp: Call to 'pkg-config --cflags libdrm' returned exit status 1.
Summary: www-client/chromium-35.0.1916.114-r1::gentoo failed (configure phase): gyp: C...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Chromium Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-05-21 13:56 UTC by Paweł Hajdan, Jr. (RETIRED)
Modified: 2014-05-24 08:11 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 Paweł Hajdan, Jr. (RETIRED) gentoo-dev 2014-05-21 13:56:20 UTC
* Configuring Chromium...
build/gyp_chromium --depth=. -Ddisable_sse2=1 -Ddisable_nacl=1 -Dflapper_version_h_file=/var/tmp/portage/www-client/chromium-35.0.1916.114-r1/temp/flapper_version.
h -Duse_system_bzip2=1 -Duse_system_flac=1 -Duse_system_harfbuzz=1 -Duse_system_icu=1 -Duse_system_jsoncpp=1 -Duse_system_libevent=1 -Duse_system_libjpeg=1 -Duse_s
ystem_libpng=1 -Duse_system_libwebp=1 -Duse_system_libxml=1 -Duse_system_libxslt=1 -Duse_system_minizip=1 -Duse_system_nspr=1 -Duse_system_openssl=1 -Duse_system_r
e2=1 -Duse_system_snappy=1 -Duse_system_speex=1 -Duse_system_xdg_utils=1 -Duse_system_zlib=1 -Dicu_use_data_file_flag=0 -Duse_system_yasm=1 -Duse_cups=0 -Duse_gcon
f=0 -Duse_gnome_keyring=0 -Dlinux_link_gnome_keyring=0 -Duse_kerberos=0 -Duse_pulseaudio=0 -Dlinux_use_tcmalloc=1 -Dlinux_link_gsettings=1 -Dlinux_link_libpci=1 -D
linux_link_libspeechd=1 -Dlibspeechd_h_prefix=speech-dispatcher/ -Dusb_ids_path=/usr/share/misc/usb.ids -Dlogging_like_official_build=1 -Dlinux_use_gold_binary=0 -
Dlinux_use_gold_flags=0 -Duse_mojo=0 -Dproprietary_codecs=1 -Dpython_ver=2.7 -Dsystem_libdir=lib64 -Dgoogle_api_key=AIzaSyDEAOvatFo0eTgsV_ZlEzx0ObmepsMzfAc -Dgoogle_default_client_id=329227923882.apps.googleusercontent.com -Dgoogle_default_client_secret=vgKG0NNv7GoDpbtoFNLxCUXu -Dtarget_arch=x64 -Dwerror= -Ddisable_fatal_linker_warnings=1
Updating projects from gyp files...
Package libdrm was not found in the pkg-config search path.
Perhaps you should add the directory containing `libdrm.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libdrm' found
gyp: Call to 'pkg-config --cflags libdrm' returned exit status 1.
 * ERROR: www-client/chromium-35.0.1916.114-r1::gentoo failed (configure phase):
 *   (no error message)

Portage 2.2.10 (hardened/linux/amd64, gcc-4.7.3, glibc-2.19, 3.2.5-gg1336 x86_64)
=================================================================
System uname: Linux-3.2.5-gg1336-x86_64-Intel-R-_Xeon-R-_CPU_E5-2680_v2_@_2.80GHz-with-gentoo-2.2
KiB Mem:    65900764 total,  19974944 free
KiB Swap:   67035132 total,  66974908 free
Timestamp of tree: Wed, 21 May 2014 10:00:01 +0000
ld GNU ld (GNU Binutils) 2.24
app-shells/bash:          4.2_p47
dev-lang/python:          2.7.6-r1, 3.3.5, 3.4.0
dev-util/cmake:           2.8.12.2-r1
dev-util/pkgconfig:       0.28-r1
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.13.4, 1.14.1
sys-devel/binutils:       2.24-r2
sys-devel/gcc:            4.7.3-r1, 4.8.2
sys-devel/gcc-config:     1.8
sys-devel/libtool:        2.4.2-r1
sys-devel/make:           4.0-r1
sys-kernel/linux-headers: 3.14 (virtual/os-headers)
sys-libs/glibc:           2.19
Repositories: gentoo x-portage
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA @FREE -@EULA -AGPL-3"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=native -g -pipe"
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=native -g -pipe"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs compress-build-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync network-sandbox news parallel-fetch preserve-libs protect-owned sandbox sfperms splitdebug strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,--hash-style=gnu"
MAKEOPTS="-j32"
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="/usr/local/portage"
USE="X acl amd64 berkdb bindist bzip2 clang cli cracklib crypt cxx dri gbm gdbm hardened iconv icu ipv6 justify libkms minizip mmx modules multilib ncurses nls nptl openmp pam pax_kernel pcre readline session sse sse2 ssl subversion tcpd unicode urandom xa xtpax xvfb zlib" ABI_X86="64" 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" 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="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_3" RUBY_TARGETS="ruby19 ruby20" USERLAND="GNU" VIDEO_CARDS="fbdev glint intel mach64 mga nouveau nv r128 radeon savage sis tdfx trident vesa via vmware dummy v4l" 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, PORTAGE_RSYNC_EXTRA_OPTS, SYNC, USE_PYTHON
Comment 1 Agostino Sarubbo gentoo-dev 2014-05-21 14:04:49 UTC
ago@stonebridge ~ $ qlop -l | grep chromium | tail -1
Wed May 21 14:41:46 2014 >>> www-client/chromium-35.0.1916.114-r1                                                                                                                                                                                                                                

I cannot reproduce
Comment 2 Chí-Thanh Christopher Nguyễn gentoo-dev 2014-05-21 14:32:18 UTC
What is your version of libdrm, and did the package install libdrm.pc?
Comment 3 Paweł Hajdan, Jr. (RETIRED) gentoo-dev 2014-05-21 14:34:29 UTC
www-client/chromium-34.0.1847.137 fails with the same error

emerging x11-libs/libdrm fixes it, I'll add to dependencies
Comment 4 Paweł Hajdan, Jr. (RETIRED) gentoo-dev 2014-05-24 08:11:45 UTC
  24 May 2014; Pawel Hajdan jr
  -chromium-34.0.1847.137.ebuild, -chromium-35.0.1916.114.ebuild,
  -chromium-35.0.1916.99.ebuild, chromium-35.0.1916.114-r1.ebuild,
  chromium-36.0.1985.18.ebuild, metadata.xml:
  Add x11-libs/libdrm to dependencies, bug #510942 . Remove old.