Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 630412 - x11-libs/libcryptui-3.12.2-r1 : configure: error: gcr library or headers not found.
Summary: x11-libs/libcryptui-3.12.2-r1 : configure: error: gcr library or headers not ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-09-08 18:29 UTC by Toralf Förster
Modified: 2017-09-11 22:06 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,15.42 KB, text/plain)
2017-09-08 18:29 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,236.11 KB, text/plain)
2017-09-08 18:29 UTC, Toralf Förster
Details
environment (environment,118.63 KB, text/plain)
2017-09-08 18:29 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,38.19 KB, application/x-bzip)
2017-09-08 18:29 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,11.35 KB, application/x-bzip)
2017-09-08 18:29 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,32.28 KB, application/x-bzip)
2017-09-08 18:29 UTC, Toralf Förster
Details
x11-libs:libcryptui-3.12.2-r1:20170908-182157.log (x11-libs:libcryptui-3.12.2-r1:20170908-182157.log,11.55 KB, text/plain)
2017-09-08 18:29 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 2017-09-08 18:29:31 UTC
disabling debug compile mode
checking for GCR... no
configure: error: gcr library or headers not found.

!!! Please attach the following file when seeking support:
!!! /var/tmp/portage/x11-libs/libcryptui-3.12.2-r1/work/libcryptui-3.12.2/config.log

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.0-no-multilib_20170903-173722

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-6.4.0 *

Available Python interpreters, in order of preference:
  [1]   python3.4
  [2]   python3.6 (fallback)
  [3]   python2.7 (fallback)
  [4]   pypy3 (fallback)
Available Ruby profiles:
  [1]   ruby22 (with Rubygems) *
java-config:
The following VMs are available for generation-2:


emerge -qpv x11-libs/libcryptui
[ebuild  N    ] x11-libs/libcryptui-3.12.2-r1  USE="introspection -debug -libnotify"
Comment 1 Toralf Förster gentoo-dev 2017-09-08 18:29:35 UTC
Created attachment 493390 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2017-09-08 18:29:38 UTC
Created attachment 493392 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2017-09-08 18:29:41 UTC
Created attachment 493394 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2017-09-08 18:29:44 UTC
Created attachment 493396 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2017-09-08 18:29:48 UTC
Created attachment 493398 [details]
logs.tbz2
Comment 6 Toralf Förster gentoo-dev 2017-09-08 18:29:51 UTC
Created attachment 493400 [details]
temp.tbz2
Comment 7 Toralf Förster gentoo-dev 2017-09-08 18:29:55 UTC
Created attachment 493402 [details]
x11-libs:libcryptui-3.12.2-r1:20170908-182157.log
Comment 8 Gilles Dartiguelongue (RETIRED) gentoo-dev 2017-09-10 10:25:51 UTC
Another "tinderbox is crazy" report :/
The logs state that gcr was installed as instructed by DEPENDs yet it cannot be found...
Comment 9 Toralf Förster gentoo-dev 2017-09-10 14:07:10 UTC
(In reply to Gilles Dartiguelongue from comment #8)
2^32 issue ?
: mr-fox / # ls -il /usr/include/gcr-3/gcr/gcr-*
4419802642 -rw-r--r-- 1 root root 1919 Sep  7 11:53 /usr/include/gcr-3/gcr/gcr-base.h
4419802644 -rw-r--r-- 1 root root 4977 Sep  7 11:53 /usr/include/gcr-3/gcr/gcr-certificate-chain.h
4419802643 -rw-r--r-- 1 root root 6346 Sep  7 11:53 /usr/include/gcr-3/gcr/gcr-certificate.h
4419802645 -rw-r--r-- 1 root root 4386 Sep  7 11:53 /usr/include/gcr-3/gcr/gcr-certificate-request.h
4419802646 -rw-r--r-- 1 root root 2670 Sep  7 11:53 /usr/include/gcr-3/gcr/gcr-collection.h
4419802647 -rw-r--r-- 1 root root 1525 Sep  7 11:53 /usr/include/gcr-3/gcr/gcr-column.h
4419802648 -rw-r--r-- 1 root root 2059 Sep  7 11:53 /usr/include/gcr-3/gcr/gcr-comparable.h
4419802649 -rw-r--r-- 1 root root 2510 Sep  7 11:53 /usr/include/gcr-3/gcr/gcr-deprecated-base.h
4419802671 -rw-r--r-- 1 root root 2292 Sep  7 11:53 /usr/include/gcr-3/gcr/gcr-enum-types-base.h
4419802651 -rw-r--r-- 1 root root 3274 Sep  7 11:53 /usr/include/gcr-3/gcr/gcr-filter-collection.h
4419802650 -rw-r--r-- 1 root root 1715 Sep  7 11:53 /usr/include/gcr-3/gcr/gcr-fingerprint.h
4419802652 -rw-r--r-- 1 root root 1485 Sep  7 11:53 /usr/include/gcr-3/gcr/gcr-icons.h
4419802653 -rw-r--r-- 1 root root 4370 Sep  7 11:53 /usr/include/gcr-3/gcr/gcr-importer.h
4419802654 -rw-r--r-- 1 root root 4308 Sep  7 11:53 /usr/include/gcr-3/gcr/gcr-import-interaction.h
4419802655 -rw-r--r-- 1 root root 2551 Sep  7 11:53 /usr/include/gcr-3/gcr/gcr-library.h
4419802656 -rw-r--r-- 1 root root 2310 Sep  7 11:53 /usr/include/gcr-3/gcr/gcr-mock-prompter.h
4419802657 -rw-r--r-- 1 root root 6273 Sep  7 11:53 /usr/include/gcr-3/gcr/gcr-parser.h
4419802658 -rw-r--r-- 1 root root 3333 Sep  7 11:53 /usr/include/gcr-3/gcr/gcr-pkcs11-certificate.h
4419802659 -rw-r--r-- 1 root root 7630 Sep  7 11:53 /usr/include/gcr-3/gcr/gcr-prompt.h
4419802660 -rw-r--r-- 1 root root 4764 Sep  7 11:53 /usr/include/gcr-3/gcr/gcr-secret-exchange.h
4419802661 -rw-r--r-- 1 root root 2017 Sep  7 11:53 /usr/include/gcr-3/gcr/gcr-secure-memory.h
4419802662 -rw-r--r-- 1 root root 2613 Sep  7 11:53 /usr/include/gcr-3/gcr/gcr-simple-certificate.h
4419802663 -rw-r--r-- 1 root root 2498 Sep  7 11:53 /usr/include/gcr-3/gcr/gcr-simple-collection.h
4419802665 -rw-r--r-- 1 root root 3363 Sep  7 11:53 /usr/include/gcr-3/gcr/gcr-system-prompter.h
4419802664 -rw-r--r-- 1 root root 5056 Sep  7 11:53 /usr/include/gcr-3/gcr/gcr-system-prompt.h
4419802666 -rw-r--r-- 1 root root 5631 Sep  7 11:53 /usr/include/gcr-3/gcr/gcr-trust.h
4419802667 -rw-r--r-- 1 root root 2971 Sep  7 11:53 /usr/include/gcr-3/gcr/gcr-types.h
4419802668 -rw-r--r-- 1 root root 3101 Sep  7 11:53 /usr/include/gcr-3/gcr/gcr-union-collection.h
4419802669 -rw-r--r-- 1 root root 1029 Sep  7 11:53 /usr/include/gcr-3/gcr/gcr-unlock-options.h
4419802670 -rw-r--r-- 1 root root 1468 Sep  7 11:53 /usr/include/gcr-3/gcr/gcr-version.h
Comment 10 Toralf Förster gentoo-dev 2017-09-10 14:15:08 UTC
nailed it down to a missing :

/usr/lib64/pkgconfig/gcr-3.pc

COmpared it with another image where GCR is fine (13.0-desktop_20170905-225247) :

mr-fox / # equery f gcr | grep /usr/lib64/pkgconfig/gcr-3.pc
/usr/lib64/pkgconfig/gcr-3.pc


But here we do have :

mr-fox / # equery f gcr | grep /usr/lib64/pkgconfig/gcr-3.pc

This is empty which indicates that the tinderbox is fine that *.pc file was never installed.
Which vields to a bug in the gcr packaging ?
Comment 11 Gilles Dartiguelongue (RETIRED) gentoo-dev 2017-09-11 06:43:23 UTC
Unlikely, the package has not changed much since it addition to the tree and has a pkgconfig file since day 1. You can see a trace of the Makefile installing it in git history in app-crypt/gcr/files/gcr-3.14.0-race-building.patch
Comment 12 Toralf Förster gentoo-dev 2017-09-11 13:05:52 UTC
(In reply to Gilles Dartiguelongue from comment #11)
HHm, the good image has :

tinderbox@mr-fox ~ $ scw img1/13.0-desktop_20170905-225247/
mr-fox / #  equery f gcr | grep /usr/lib64/pkgconfig/
/usr/lib64/pkgconfig/gck-1.pc
/usr/lib64/pkgconfig/gcr-3.pc
/usr/lib64/pkgconfig/gcr-base-3.pc
/usr/lib64/pkgconfig/gcr-ui-3.pc




whilst this bad image has :

tinderbox@mr-fox ~ $ chr img1/17.0-no-multilib_20170903-173722
mr-fox / # equery f gcr | grep /usr/lib64/pkgconfig/
/usr/lib64/pkgconfig/gck-1.pc
/usr/lib64/pkgconfig/gcr-base-3.pc


So it lookss image specific (USE flag / profile, what ever) - is there any hint from upstream under which circumstance the mentioned file isn't installed ?
Comment 13 Toralf Förster gentoo-dev 2017-09-11 16:19:56 UTC
And a quick search at http://www.portagefilelist.de/ wrt the missing pkg-config file reveals the USE=gtk flag which is set in the 13-profile but not in the 17.0 profile.

tinderbox@mr-fox ~ $ chr img1/17.0-no-multilib_20170903-173722
mr-fox / # emerge -vpq app-crypt/gcr
[ebuild   R   ] app-crypt/gcr-3.20.0  USE="introspection -debug -gtk {-test} -vala" 

tinderbox@mr-fox ~ $ scw img1/13.0-desktop_20170905-225247
mr-fox / # emerge -vpq app-crypt/gcr
[ebuild   R   ] app-crypt/gcr-3.20.0  USE="gtk introspection -debug {-test} -vala" 
mr-fox / #
Comment 14 Toralf Förster gentoo-dev 2017-09-11 16:51:44 UTC
echo "app-crypt/gcr gtk" >> /etc/portage/package.use/gcr

solved this :

tinderbox@mr-fox ~ $ scw img1/17.0-no-multilib_20170903-173722
mr-fox / # equery f gcr | grep /usr/lib64/pkgconfig/
/usr/lib64/pkgconfig/gck-1.pc
/usr/lib64/pkgconfig/gcr-3.pc
/usr/lib64/pkgconfig/gcr-base-3.pc
/usr/lib64/pkgconfig/gcr-ui-3.pc

so x11-libs/libcryptui needs either gcr[gtk] or something in that direction needs to be fixed.
Comment 15 Gilles Dartiguelongue (RETIRED) gentoo-dev 2017-09-11 20:32:56 UTC
So the issue is not odd at all. Upstream made gcr-3.0 pkgconfig pull gcr-ui-3.0 while gcr-base-3.0 contains the headless stuff. Now to check reverse dependency tree to check for all the incorrect dependencies.
Comment 16 Gilles Dartiguelongue (RETIRED) gentoo-dev 2017-09-11 22:05:53 UTC
Commits fixing this issue f29a9501bc4028e98b59b75ae9224599747794c8..14ea93b533c6fc8fb6a8ebff30a6f96daf279620

Thanks for reporting.
Comment 17 Gilles Dartiguelongue (RETIRED) gentoo-dev 2017-09-11 22:06:10 UTC
All without a bump as it prevented building anyway.