Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 600208 - app-crypt/gnupg-2.1.16 fails to build with USE="-tools"
Summary: app-crypt/gnupg-2.1.16 fails to build with USE="-tools"
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Kristian Fiskerstrand (RETIRED)
URL:
Whiteboard:
Keywords:
: 600218 600300 (view as bug list)
Depends on:
Blocks:
 
Reported: 2016-11-19 03:07 UTC by jorgicio
Modified: 2016-11-26 16:46 UTC (History)
19 users (show)

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


Attachments
The build.log (gnupg-2.1.16.log,171.92 KB, text/x-log)
2016-11-19 03:08 UTC, jorgicio
Details
emerge --info =app-crypt/gnupg-2.1.16 (file_600208.txt,6.58 KB, text/plain)
2016-11-19 05:39 UTC, Roman Piták
Details
/var/tmp/portage/app-crypt/gnupg-2.1.16/temp/build.log (file_600208.txt,178.84 KB, text/plain)
2016-11-19 05:41 UTC, Roman Piták
Details

Note You need to log in before you can comment on or make changes to this bug.
Description jorgicio 2016-11-19 03:07:59 UTC
Hi!

gnupg-2.1.16 fails at build because it cannot find the config.h file.
I'll attach the log that shows that.

Thanks!

Reproducible: Always
Comment 1 jorgicio 2016-11-19 03:08:27 UTC
Created attachment 453754 [details]
The build.log
Comment 2 Kenton Groombridge 2016-11-19 04:26:31 UTC
Got two systems, one AMD, one Intel, same issue.
Comment 3 Perfect Gentleman 2016-11-19 04:32:39 UTC
same here.
Comment 4 NHO 2016-11-19 05:33:47 UTC
Confirming issue.
Comment 5 Roman Piták 2016-11-19 05:39:52 UTC
Created attachment 453758 [details]
emerge --info =app-crypt/gnupg-2.1.16
Comment 6 Roman Piták 2016-11-19 05:41:36 UTC
Created attachment 453760 [details]
/var/tmp/portage/app-crypt/gnupg-2.1.16/temp/build.log

build log in English
Comment 7 Patrick Lauer gentoo-dev 2016-11-19 07:59:41 UTC
x86_64-pc-linux-gnu-gcc -Wall -Wno-pointer-sign -Wpointer-arith  -O2 -pipe -march=native  -Wl,-O1 -Wl,--as-needed  ../../tools/gpg-connect-agent.c   -o ../../tools/gpg-connect-agent
../../tools/gpg-connect-agent.c:21:20: fatal error: config.h: No such file or directory
 #include <config.h>
                    ^
compilation terminated.
make[3]: *** [<builtin>: ../../tools/gpg-connect-agent] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: Leaving directory '/var/tmp/portage/app-crypt/gnupg-2.1.16/work/gnupg-2.1.16/tests/openpgp'



Same here ...
Comment 8 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2016-11-19 08:28:28 UTC
*** Bug 600218 has been marked as a duplicate of this bug. ***
Comment 9 Kristian Fiskerstrand (RETIRED) gentoo-dev 2016-11-19 13:24:26 UTC
Working with upstream on this, in the interim, try building with USE=tools
Comment 10 email200202 2016-11-19 14:19:04 UTC
Same here
Comment 11 jorgicio 2016-11-19 15:24:36 UTC
Built 2.1.16 release with USE=tools enabled and I confirm that's working.
Comment 12 Kristian Fiskerstrand (RETIRED) gentoo-dev 2016-11-19 18:31:28 UTC
As a mediation;

commit d4b058fc263ed35703a3862fbcfe37289aacfb5e
Author: Kristian Fiskerstrand <k_f@gentoo.org>
Date:   Sat Nov 19 19:29:08 2016 +0100

    app-crypt/gnupg: Enable tools IUSE by default
    
    At least until bug 600208 is resolved
    
    Package-Manager: portage-2.3.2
Comment 13 Geoff Madden 2016-11-20 07:21:56 UTC
tried the USE=tools that didn't work on my system,also I installed scheme48 which it was looking for as well,still no joy.will resync just incase something else has changed
Comment 14 Kristian Fiskerstrand (RETIRED) gentoo-dev 2016-11-20 12:09:22 UTC
(In reply to Geoff Madden from comment #13)
> tried the USE=tools that didn't work on my system,also I installed scheme48
> which it was looking for as well,still no joy.will resync just incase
> something else has changed

if the issue differs from the config.h include reported, please open another bug report and attach build log , emerge info and other relevant information
Comment 15 Mart Raudsepp gentoo-dev 2016-11-20 15:08:40 UTC
*** Bug 600300 has been marked as a duplicate of this bug. ***
Comment 16 Kristian Fiskerstrand (RETIRED) gentoo-dev 2016-11-22 18:17:53 UTC
commit 20d34540baca6275bafaf1afd80df9094da786a1
Author: Kristian Fiskerstrand <k_f@gentoo.org>
Date:   Tue Nov 22 19:17:17 2016 +0100

    app-crypt/gnupg: Minor changes to 2.1.16
    
    For now tools subdir always needs to be built, even though the use flag controls
    whether some of the resulting binaries are installed or not, as e.g
    gpg-connect-agent and gpg-wks-client is expected to be installed unconditionally.
    
    Given that tools subdir is a cheap build, this doesn't constitute much of an
    actual issue, but upstream is notified.
    
    Gentoo-Bug: 600208
    
    Add patch to mitigate test failure due to overlong socket path.
    
    Package-Manager: portage-2.3.2