Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 562232 - dev-libs/nettle-3.1.1: broken Requires in pkg-config file (# is not a comment delim) (was: net-misc/aria2-1.15.2 [...])
Summary: dev-libs/nettle-3.1.1: broken Requires in pkg-config file (# is not a comment...
Status: RESOLVED DUPLICATE of bug 546092
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Naohiro Aota
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-10-04 14:03 UTC by Toralf Förster
Modified: 2015-10-05 15:08 UTC (History)
3 users (show)

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


Attachments
config.log (config.log,44.91 KB, text/plain)
2015-10-04 14:03 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,380.59 KB, text/plain)
2015-10-04 14:03 UTC, Toralf Förster
Details
net-misc:aria2-1.15.2:20151004-120143.log (net-misc:aria2-1.15.2:20151004-120143.log,9.53 KB, text/plain)
2015-10-04 14:03 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2015-10-04 14:03:04 UTC
configure: WARNING: Package # was not found in the pkg-config search path.
Perhaps you should add the directory containing `#.pc'
to the PKG_CONFIG_PATH environment variable
Package '#', required by 'hogweed', not found
 
configure: error: in `/var/tmp/portage/net-misc/aria2-1.15.2/work/aria2-1.15.2':


$ cat ./info.txt
  -----------------------------------------------------------------

  This is an stable amd64 chroot image (named amd64-plasma-stable_20150926-115601) at a hardened host acting as a tinderbox.

  -----------------------------------------------------------------

  Portage 2.2.20.1 (python 3.4.3-final-0, default/linux/amd64/13.0/desktop/plasma, gcc-4.9.3, glibc-2.20-r2, 4.1.7-hardened-r1 x86_64)
=================================================================
System uname: Linux-4.1.7-hardened-r1-x86_64-Intel-R-_Core-TM-_i7-3770_CPU_@_3.40GHz-with-gentoo-2.2
KiB Mem:    16164644 total,   2062428 free
KiB Swap:          0 total,         0 free
Timestamp of repository gentoo: Sun, 04 Oct 2015 09:45:01 +0000
sh bash 4.3_p39
ld GNU ld (Gentoo 2.25.1 p1.1) 2.25.1
distcc 3.1 x86_64-pc-linux-gnu [disabled]
app-shells/bash:          4.3_p39::gentoo
dev-java/java-config:     2.2.0::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
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.9.6-r4::gentoo, 1.10.3-r1::gentoo, 1.11.6-r1::gentoo, 1.12.6::gentoo, 1.13.4::gentoo, 1.14.1::gentoo, 1.15::gentoo
sys-devel/binutils:       2.25.1-r1::gentoo
sys-devel/gcc:            4.8.5::gentoo, 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:

local
    location: /usr/local/portage
    masters: gentoo

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

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /etc/stunnel/stunnel.conf /usr/lib64/fax /usr/lib64/libreoffice/program/sofficerc /usr/share/config /usr/share/easy-rsa /usr/share/gnupg/qualified.txt /usr/share/maven-bin-3.0/conf /var/lib/hsqldb /var/spool/fax/etc /var/yp/Makefile"
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 /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=native -O2 -pipe"
DISTDIR="/var/tmp/distfiles"
EMERGE_DEFAULT_OPTS="--color=n --nospinner --tree --quiet-build --accept-properties=-interactive --accept-restrict=-fetch"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync network-sandbox 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://ftp.uni-erlangen.de/pub/mirrors/gentoo rsync://mirror.netcologne.de/gentoo/ ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gor.bytemark.co.uk/gentoo/ rsync://ftp.snt.utwente.nl/gentoo"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
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"
USE="X a52 aac acl acpi adns alsa amd64 avx berkdb bluetooth branding btrfs bzip2 cairo cdda cdr cgi cgoups cli consolekit cracklib crypt cxx dbus declarative dnssec dri drmkms dts dvb dvd dvdr ecc emboss encode exif fam firefox flac fontconfig fortran freetds gdbm gif glamor gnome-keyring gnutls gpm gtk gtk3 help iconv icu inifile ipv6 javascript javaxml kde kerberos kipi lapack lcms ldap libnotify libvirtd logrotate mad mmx mmxext mng mod modules mp3 mp4 mpeg mssql multilib multimedia multitarget mysql ncurses nls nptl obj odbc offensive ogg opencv opengl openmp openmpi openssl pam pango pcre pcre16 pdf pdo phonon plasma png policykit ppds pwquality pyqt4 qml qt3support qt4 qt5 readline scrypt sdl seccomp semantic-desktop session spell sse sse2 sse4_1 sse4_2 ssl ssse3 startup-notification svg system-icu tcpd tiff truetype udev udisks unicode upower usb usbredir uxa vorbis webkit widgets wxwidgets x264 xcb xcomposite xinerama xml xmlreader xmp xscreensaver xslt xv xvfb xvid xvmc xz 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" CPU_FLAGS_X86="aes avx mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" 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" LINGUAS="en en_GB" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_4" RUBY_TARGETS="ruby20 ruby21" 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:  CC, CPPFLAGS, CTARGET, CXX, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Comment 1 Toralf Förster gentoo-dev 2015-10-04 14:03:06 UTC
Created attachment 413714 [details]
config.log
Comment 2 Toralf Förster gentoo-dev 2015-10-04 14:03:09 UTC
Created attachment 413716 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2015-10-04 14:03:11 UTC
Created attachment 413718 [details]
net-misc:aria2-1.15.2:20151004-120143.log
Comment 4 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2015-10-04 14:13:27 UTC
Well, the problem's in hogweed.pc:

  $ grep ^Require /usr/lib64/pkgconfig/hogweed.pc 
  Requires: # nettle
  Requires.private:  nettle

It seems that upstream assumes '#' will work for inline comments while it doesn't in your case, obviously.
Comment 5 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2015-10-04 14:14:17 UTC
For completeness, please let us know which pkg-config implementation and version you're using.
Comment 6 Toralf Förster gentoo-dev 2015-10-04 14:16:17 UTC
(In reply to Michał Górny from comment #5)
> For completeness, please let us know which pkg-config implementation and
> version you're using.

[I] dev-ruby/pkg-config
     Available versions:  1.1.5 

is it
Comment 7 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2015-10-04 14:23:55 UTC
Going to guess it's a broken implementation then. Works fine with dev-util/pkgconfig.
Comment 8 Rafał Mużyło 2015-10-04 14:29:49 UTC
So this is a dupe of bug 561982, which - given comment 6 - obviously isn't a dupe of bug 546092, yet is the very same problem.
Comment 9 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2015-10-04 14:35:12 UTC
Not strictly a dupe but rather a reincarnation in another package.
Comment 10 Hans de Graaff gentoo-dev Security 2015-10-04 15:06:54 UTC
(In reply to Toralf Förster from comment #6)
> (In reply to Michał Górny from comment #5)
> > For completeness, please let us know which pkg-config implementation and
> > version you're using.
> 
> [I] dev-ruby/pkg-config
>      Available versions:  1.1.5 
> 
> is it

This doesn't install files in /usr/bin and it is not a provider in virtual/pkgconfig, so I find this very unlikely.
Comment 11 Toralf Förster gentoo-dev 2015-10-05 13:10:20 UTC
(In reply to Toralf Förster from comment #6)
> (In reply to Michał Górny from comment #5)
> > For completeness, please let us know which pkg-config implementation and
> > version you're using.
> 
> [I] dev-ruby/pkg-config
>      Available versions:  1.1.5 
> 
> is it

sry - wrong chroot image, here it is :


$ sudo chroot amd64-plasma-stable_20150926-115601 /bin/bash
tor-relay / # eix -I pkgconfig
[I] dev-perl/extutils-pkgconfig
     Available versions:  1.140.0 1.150.0
     Installed versions:  1.150.0(01:01:53 AM 09/28/2015)
     Homepage:            http://search.cpan.org/dist/ExtUtils-PkgConfig/
     Description:         Simplistic perl interface to pkg-config

[I] virtual/pkgconfig
     Available versions:  0-r1 {ABI_MIPS="n32 n64 o32" ABI_PPC="32 64" ABI_S390="32 64" ABI_X86="32 64 x32"}
     Installed versions:  0-r1(05:18:08 AM 09/24/2015)(ABI_MIPS="-n32 -n64 -o32" ABI_PPC="-32 -64" ABI_S390="-32 -64" ABI_X86="64 -32 -x32")
     Description:         Virtual for the pkg-config implementation

Found 2 matches.
tor-relay / # qlop -u -l -H -g | grep pkgconfig
Mon Sep 28 01:01:59 2015 >>> dev-perl/extutils-pkgconfig-1.150.0
Fri Oct  2 08:34:18 2015 <<< dev-util/pkgconfig-0.28-r2
tor-relay / # exit
exit
Comment 12 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2015-10-05 13:24:48 UTC
Try: pkg-config --version
Comment 13 Toralf Förster gentoo-dev 2015-10-05 13:44:47 UTC
Hhm :

tor-relay / # pkg-config --version
0.28

tor-relay / # which pkg-config
/usr/bin/pkg-config

tor-relay / # equery b /usr/bin/pkg-config
 * Searching for /usr/bin/pkg-config ...
dev-util/pkgconf-0.9.11 (/usr/bin/pkg-config -> x86_64-pc-linux-gnu-pkg-config)
dev-util/pkgconf-0.9.11 (/usr/bin/x86_64-pc-linux-gnu-pkgconf)
Comment 14 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2015-10-05 15:08:57 UTC
Then a strict duplicate indeed.

*** This bug has been marked as a duplicate of bug 546092 ***