Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 191492 - app-crypt/gnupg-2.0.6 fails to emerge
Summary: app-crypt/gnupg-2.0.6 fails to emerge
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Crypto team [DISABLED]
URL:
Whiteboard:
Keywords:
Depends on: 184456
Blocks:
  Show dependency tree
 
Reported: 2007-09-06 13:06 UTC by Darryl Barlow
Modified: 2007-09-07 13:45 UTC (History)
1 user (show)

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


Attachments
Config Log form Build (config.log,142.77 KB, text/plain)
2007-09-07 06:54 UTC, Darryl Barlow
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Darryl Barlow 2007-09-06 13:06:06 UTC
This was fixed for 2.05 but is now recurring for 2.06

+++ This bug was initially created as a clone of Bug #184456 +++

emerge gnupg fails:

...

checking for unsigned long... (cached) yes
checking size of unsigned long... (cached) 8
checking for void *... yes
checking size of void *... 8
checking for nl_langinfo and THOUSANDS_SEP... yes
configure: checking system features for estream
configure:
***
*** You need libassuan with Pth support to build this program.
*** This library is for example available at
***   ftp://ftp.gnupg.org/gcrypt/libassuan/
*** (at least version 1.0.2 (API 1) is required).
***
configure:
***
*** You need libksba to build this program.
*** This library is for example available at
***   ftp://ftp.gnupg.org/gcrypt/libksba/
*** (at least version 1.0.2 using API 1 is required).
***
configure: error:
***
*** Required libraries not found. Please consult the above messages
*** and install them before running configure again.
***

!!! Please attach the following file when filing a report to bugs.gentoo.org:
!!! /var/tmp/portage/app-crypt/gnupg-2.0.5/work/gnupg-2.0.5/config.log
 * 
 * ERROR: app-crypt/gnupg-2.0.5 failed.
 * Call stack:
 *   ebuild.sh, line 1642:   Called dyn_compile
 *   ebuild.sh, line 988:   Called qa_call 'src_compile'
 *   ebuild.sh, line 44:   Called src_compile
 *   gnupg-2.0.5.ebuild, line 54:   Called econf '--enable-symcryptrun' '--enable-gpg' '--enable-gpgsm' '--enable-agent' '--disable-bzip2' '--disable-scdaemon' '--enable-nls' '--disable-ldap' '--disable-capabilities'
 *   ebuild.sh, line 591:   Called die
 * 
 * econf failed
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/app-crypt/gnupg-2.0.5/temp/build.log'.
 * 


Reproducible: Always
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2007-09-06 16:01:19 UTC
> !!! Please attach the following file when filing a report to bugs.gentoo.org:
> !!! /var/tmp/portage/app-crypt/gnupg-2.0.5/work/gnupg-2.0.5/config.log

Also emerge --info missing.
Comment 2 Darryl Barlow 2007-09-07 06:54:07 UTC
Created attachment 130243 [details]
Config Log form Build

Build Log
Comment 3 Darryl Barlow 2007-09-07 07:02:47 UTC
darryl ~ # emerge --info gnupg
Portage 2.1.3.7 (default-linux/amd64/2006.1, gcc-4.1.2, glibc-2.5-r2, 2.6.20-gentoo-r6 x86_64)
=================================================================
                        System Settings
=================================================================
System uname: 2.6.20-gentoo-r6 x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor 4200+
Gentoo Base System version 1.12.1
Timestamp of tree: Fri, 07 Sep 2007 06:00:01 +0000
app-shells/bash:     3.1_p16
dev-java/java-config: 1.3.7, 2.0.33-r1
dev-lang/python:     2.4.4, 2.5.1-r2
dev-python/pycrypto: 2.0.1-r5
sys-apps/baselayout: 1.12.1
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.16
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="amd64 ~amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=k8 -O2 -pipe -msse3"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-march=k8 -O2 -pipe -msse3"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://ftp.swin.edu.au/gentoo"
LANG="en_AU"
LC_ALL="en_AU"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/sunrise /usr/portage/local/layman/xeffects"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X X509 a52 aac acpi alsa amd64 arts asf bash-completion berkdb bitmap-fonts cardbus cdparanoia cdr cdrom cli commercial cpudetection cracklib crypt css cups dbus dri dvb dvd dvdr dvdread emul-linux-x86 encode fat firefox glitz gnome gpm hal iconv ipv6 isdnlog java john jpeg kde lcms ldap mad midi mng mono mudflap ncurses nptl nptlonly opengl openmp pam pcre pdf perl png ppds pppd python qt3 readline reflection reiserfs sdl session smp spl ssl svg tcpd tiff truetype truetype-fonts type1-fonts unicode v4l v4l2 vcd vfat vnc vorbis wifi wmf x264 xcb xml xorg xv xvid zlib" 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" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="nv nvidia vesa"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
(In reply to comment #0)
> This was fixed for 2.05 but is now recurring for 2.06
> 
> +++ This bug was initially created as a clone of Bug #184456 +++
> 
> emerge gnupg fails:
> 
> ...
> 
> checking for unsigned long... (cached) yes
> checking size of unsigned long... (cached) 8
> checking for void *... yes
> checking size of void *... 8
> checking for nl_langinfo and THOUSANDS_SEP... yes
> configure: checking system features for estream
> configure:
> ***
> *** You need libassuan with Pth support to build this program.
> *** This library is for example available at
> ***   ftp://ftp.gnupg.org/gcrypt/libassuan/
> *** (at least version 1.0.2 (API 1) is required).
> ***
> configure:
> ***
> *** You need libksba to build this program.
> *** This library is for example available at
> ***   ftp://ftp.gnupg.org/gcrypt/libksba/
> *** (at least version 1.0.2 using API 1 is required).
> ***
> configure: error:
> ***
> *** Required libraries not found. Please consult the above messages
> *** and install them before running configure again.
> ***
> 
> !!! Please attach the following file when filing a report to bugs.gentoo.org:
> !!! /var/tmp/portage/app-crypt/gnupg-2.0.5/work/gnupg-2.0.5/config.log
>  * 
>  * ERROR: app-crypt/gnupg-2.0.5 failed.
>  * Call stack:
>  *   ebuild.sh, line 1642:   Called dyn_compile
>  *   ebuild.sh, line 988:   Called qa_call 'src_compile'
>  *   ebuild.sh, line 44:   Called src_compile
>  *   gnupg-2.0.5.ebuild, line 54:   Called econf '--enable-symcryptrun'
> '--enable-gpg' '--enable-gpgsm' '--enable-agent' '--disable-bzip2'
> '--disable-scdaemon' '--enable-nls' '--disable-ldap' '--disable-capabilities'
>  *   ebuild.sh, line 591:   Called die
>  * 
>  * econf failed
>  * If you need support, post the topmost build error, and the call stack if
> relevant.
>  * A complete build log is located at
> '/var/tmp/portage/app-crypt/gnupg-2.0.5/temp/build.log'.
>  * 
> 
> 
> Reproducible: Always
> 

(In reply to comment #0)
> This was fixed for 2.05 but is now recurring for 2.06
> 
> +++ This bug was initially created as a clone of Bug #184456 +++
> 
> emerge gnupg fails:
> 
> ...
> 
> checking for unsigned long... (cached) yes
> checking size of unsigned long... (cached) 8
> checking for void *... yes
> checking size of void *... 8
> checking for nl_langinfo and THOUSANDS_SEP... yes
> configure: checking system features for estream
> configure:
> ***
> *** You need libassuan with Pth support to build this program.
> *** This library is for example available at
> ***   ftp://ftp.gnupg.org/gcrypt/libassuan/
> *** (at least version 1.0.2 (API 1) is required).
> ***
> configure:
> ***
> *** You need libksba to build this program.
> *** This library is for example available at
> ***   ftp://ftp.gnupg.org/gcrypt/libksba/
> *** (at least version 1.0.2 using API 1 is required).
> ***
> configure: error:
> ***
> *** Required libraries not found. Please consult the above messages
> *** and install them before running configure again.
> ***
> 
> !!! Please attach the following file when filing a report to bugs.gentoo.org:
> !!! /var/tmp/portage/app-crypt/gnupg-2.0.5/work/gnupg-2.0.5/config.log
>  * 
>  * ERROR: app-crypt/gnupg-2.0.5 failed.
>  * Call stack:
>  *   ebuild.sh, line 1642:   Called dyn_compile
>  *   ebuild.sh, line 988:   Called qa_call 'src_compile'
>  *   ebuild.sh, line 44:   Called src_compile
>  *   gnupg-2.0.5.ebuild, line 54:   Called econf '--enable-symcryptrun'
> '--enable-gpg' '--enable-gpgsm' '--enable-agent' '--disable-bzip2'
> '--disable-scdaemon' '--enable-nls' '--disable-ldap' '--disable-capabilities'
>  *   ebuild.sh, line 591:   Called die
>  * 
>  * econf failed
>  * If you need support, post the topmost build error, and the call stack if
> relevant.
>  * A complete build log is located at
> '/var/tmp/portage/app-crypt/gnupg-2.0.5/temp/build.log'.
>  * 
> 
> 
> Reproducible: Always
> 

Comment 4 Alon Bar-Lev (RETIRED) gentoo-dev 2007-09-07 08:01:23 UTC
Please paste the output of:
equery list libassuan
equery files libassuan
emerge --pretend gnupg
Comment 5 Darryl Barlow 2007-09-07 11:05:46 UTC
(In reply to comment #4)

equery list libassuan
[ Searching for package 'libassuan' in all categories among: ]
 * installed packages
[I--] [ ~] dev-libs/libassuan-1.0.2-r1 (0)


equery files libassuan
[ Searching for packages matching libassuan... ]
* Contents of dev-libs/libassuan-1.0.2-r1:
/usr
/usr/bin
/usr/bin/libassuan-config
/usr/include
/usr/include/assuan.h
/usr/lib64
/usr/lib64/libassuan-pth.a
/usr/lib64/libassuan.a
/usr/share
/usr/share/aclocal
/usr/share/aclocal/libassuan.m4
/usr/share/doc
/usr/share/doc/libassuan-1.0.2-r1
/usr/share/doc/libassuan-1.0.2-r1/AUTHORS.bz2
/usr/share/doc/libassuan-1.0.2-r1/ChangeLog.bz2
/usr/share/doc/libassuan-1.0.2-r1/NEWS.bz2
/usr/share/doc/libassuan-1.0.2-r1/README.bz2
/usr/share/doc/libassuan-1.0.2-r1/THANKS.bz2
/usr/share/doc/libassuan-1.0.2-r1/TODO.bz2
/usr/share/info
/usr/share/info/assuan.info.bz2


emerge --pretend gnupg

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild  N    ] app-crypt/gnupg-2.0.6  USE="ldap -bzip2 -doc -nls -openct -pcsc-lite (-selinux) -smartcard"
Comment 6 Alon Bar-Lev (RETIRED) gentoo-dev 2007-09-07 12:19:07 UTC
Please paste the output of:
libassuan-config --thread=pth --version
libassuan-config --thread=pth --cflags
libassuan-config --thread=pth --libs
Comment 7 Darryl Barlow 2007-09-07 12:49:55 UTC
(In reply to comment #6)
> Please paste the output of:
> libassuan-config --thread=pth --version
> libassuan-config --thread=pth --cflags
> libassuan-config --thread=pth --libs
> 

darryl python # libassuan-config --thread=pth --version
1.0.0
darryl python # libassuan-config --thread=pth --cflags

darryl python # libassuan-config --thread=pth --libs
-L/usr/lib64 -lassuan-pth
darryl python #  
Comment 8 Alon Bar-Lev (RETIRED) gentoo-dev 2007-09-07 12:54:10 UTC
> libassuan-config --thread=pth --version
> 1.0.0

Cannot be!
Should be 1.0.2 if the ebuild was merge successfully.

Please:
emerge --oneshot libassuan

And try again.

Comment 9 Darryl Barlow 2007-09-07 13:11:28 UTC
(In reply to comment #8)
> > libassuan-config --thread=pth --version
> > 1.0.0
> 
> Cannot be!
> Should be 1.0.2 if the ebuild was merge successfully.
> 
> Please:
> emerge --oneshot libassuan
> 
> And try again.
> 

Thanks for your help with this.  I'm starting to suspect it is not a bug but a problem with my system.  I re-emerged libassuan and still got version 1.0.0.  I then unmerged libassuan but libassuan-config was not deleted and still showed 1.0.0.

I have some ideas but I don't like any of them.  I would suggest that this "bug" now be closed.  Because it was so similar to the bug in the previous version I had just assumed it was an easily fixed recurrence of this bug.  It appears it is my problem and not yours.  My apologies and thanks for your assistance.
Comment 10 Alon Bar-Lev (RETIRED) gentoo-dev 2007-09-07 13:15:28 UTC
OK.
Reopen if you find the cause.
Comment 11 Darryl Barlow 2007-09-07 13:45:34 UTC
(In reply to comment #10)
> OK.
> Reopen if you find the cause.
> 

I found the cause, but there is still a mystery.  For some reason the libassuan-config binary was neither updated nor unmerged, and continued to return the version 1.0.0 even though 1.0.2 was installed, which no doubt played havoc with the configure script.  I moved the file manually to another directory, re-emerged the library and gnupg then emerged without problems.  I will now be looking at why this file was not updated or emerged.  I'm starting to have paranoid fantasies about root kits.

Once again thanks for your help.