Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 52127 - gpgme 0.4: make fails
Summary: gpgme 0.4: make fails
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Daniel Black (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-05-26 12:28 UTC by Wim Uyttebroek
Modified: 2004-07-02 04:24 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 Wim Uyttebroek 2004-05-26 12:28:23 UTC
make fails


Reproducible: Always
Steps to Reproduce:
1.emerge sync
2.emerge gpgme
3.

Actual Results:  
if gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../gpgme    -march=pentium3 -Os
-pipe -fomit-frame-pointer -I/usr/include -Wall -Wcast-align -Wshadow
-Wstrict-prototypes -MT t-export.o -MD -MP -MF ".deps/t-export.Tpo" \
  -c -o t-export.o `test -f 't-export.c' || echo './'`t-export.c; \
then mv ".deps/t-export.Tpo" ".deps/t-export.Po"; \
else rm -f ".deps/t-export.Tpo"; exit 1; \
fi
/usr/bin/gpgsm --homedir . --import ./cert_g10code_test1.der
echo disable-crl-checks > ./gpgsm.conf
echo faked-system-time 1038908198 >> ./gpgsm.conf
test -d ./private-keys-v1.d || mkdir ./private-keys-v1.d
cp ./32100C27173EF6E9C4E9A25D3D69F86D37A4F939
private-keys-v1.d/32100C27173EF6E9C4E9A25D3D69F86D37A4F939.key
echo 32100C27173EF6E9C4E9A25D3D69F86D37A4F939 > ./trustlist.txt
echo >> ./trustlist.txt
echo "# CN=test cert 1,OU=Aegypten Project,O=g10 Code GmbH,L=Düsseldorf,C=DE"
>> ./trustlist.txt
echo "3CF405464F66ED4A7DF45BBDD1E4282E33BDB76E S" >> ./trustlist.txt
/bin/sh ../../libtool --mode=link gcc  -march=pentium3 -Os -pipe
-fomit-frame-pointer -I/usr/include -Wall -Wcast-align -Wshadow
-Wstrict-prototypes   -o t-import  t-import.o ../../gpgme/libgpgme4.la 
/usr/bin/gpgsm: error while loading shared libraries: libgcrypt.so.1: cannot
open shared object file: No such file or directory
make[3]: *** [pubring.kbx] Error 127
make[3]: *** Waiting for unfinished jobs....
mkdir .libs
gcc -march=pentium3 -Os -pipe -fomit-frame-pointer -I/usr/include -Wall
-Wcast-align -Wshadow -Wstrict-prototypes -o .libs/t-import t-import.o 
../../gpgme/.libs/libgpgme4.so
creating t-import
make[3]: Leaving directory
`/var/tmp/portage/gpgme-0.4.0/work/gpgme-0.4.0/tests/gpgsm'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/gpgme-0.4.0/work/gpgme-0.4.0/tests'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/gpgme-0.4.0/work/gpgme-0.4.0'
make: *** [all] Error 2

!!! ERROR: app-crypt/gpgme-0.4.0 failed.
!!! Function src_compile, Line 44, Exitcode 2
!!! (no error message)
Comment 1 Wim Uyttebroek 2004-05-26 12:28:23 UTC
make fails


Reproducible: Always
Steps to Reproduce:
1.emerge sync
2.emerge gpgme
3.

Actual Results:  
if gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../gpgme    -march=pentium3 -Os
-pipe -fomit-frame-pointer -I/usr/include -Wall -Wcast-align -Wshadow
-Wstrict-prototypes -MT t-export.o -MD -MP -MF ".deps/t-export.Tpo" \
  -c -o t-export.o `test -f 't-export.c' || echo './'`t-export.c; \
then mv ".deps/t-export.Tpo" ".deps/t-export.Po"; \
else rm -f ".deps/t-export.Tpo"; exit 1; \
fi
/usr/bin/gpgsm --homedir . --import ./cert_g10code_test1.der
echo disable-crl-checks > ./gpgsm.conf
echo faked-system-time 1038908198 >> ./gpgsm.conf
test -d ./private-keys-v1.d || mkdir ./private-keys-v1.d
cp ./32100C27173EF6E9C4E9A25D3D69F86D37A4F939
private-keys-v1.d/32100C27173EF6E9C4E9A25D3D69F86D37A4F939.key
echo 32100C27173EF6E9C4E9A25D3D69F86D37A4F939 > ./trustlist.txt
echo >> ./trustlist.txt
echo "# CN=test cert 1,OU=Aegypten Project,O=g10 Code GmbH,L=Düsseldorf,C=DE"
>> ./trustlist.txt
echo "3CF405464F66ED4A7DF45BBDD1E4282E33BDB76E S" >> ./trustlist.txt
/bin/sh ../../libtool --mode=link gcc  -march=pentium3 -Os -pipe
-fomit-frame-pointer -I/usr/include -Wall -Wcast-align -Wshadow
-Wstrict-prototypes   -o t-import  t-import.o ../../gpgme/libgpgme4.la 
/usr/bin/gpgsm: error while loading shared libraries: libgcrypt.so.1: cannot
open shared object file: No such file or directory
make[3]: *** [pubring.kbx] Error 127
make[3]: *** Waiting for unfinished jobs....
mkdir .libs
gcc -march=pentium3 -Os -pipe -fomit-frame-pointer -I/usr/include -Wall
-Wcast-align -Wshadow -Wstrict-prototypes -o .libs/t-import t-import.o 
../../gpgme/.libs/libgpgme4.so
creating t-import
make[3]: Leaving directory
`/var/tmp/portage/gpgme-0.4.0/work/gpgme-0.4.0/tests/gpgsm'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/gpgme-0.4.0/work/gpgme-0.4.0/tests'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/gpgme-0.4.0/work/gpgme-0.4.0'
make: *** [all] Error 2

!!! ERROR: app-crypt/gpgme-0.4.0 failed.
!!! Function src_compile, Line 44, Exitcode 2
!!! (no error message)
Comment 2 Wim Uyttebroek 2004-05-30 02:38:40 UTC
after an "emerge libgcrypt newpg" the emerge of gpgme works fine.

there was a problem with a missing library for  /usr/bin/gpgsm.

emerge info:
++++++++++
Portage 2.0.50-r7 (default-x86-2004.0, gcc-3.3.3, glibc-2.3.3_pre20040420-r0, 2.6.4-gentoo-r1)
=================================================================
System uname: 2.6.4-gentoo-r1 i686 Intel(R) Pentium(R) 4 Mobile CPU 1.80GHz
Gentoo Base System version 1.4.15
Autoconf: sys-devel/autoconf-2.59-r4
Automake: sys-devel/automake-1.8.5
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium3 -Os -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=pentium3 -Os -pipe -fomit-frame-pointer"
DISTDIR="/home/gentoo/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="http://gentoo.oregonstate.edu http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X aalib alsa apm arts avi berkdb bonobo cdr crypt cups encode esd foomaticdb gdbm gif gnome gpm gtk gtk2 guile imlib java jpeg kde libg++ libwww mad mikmod motif mozilla mpeg mysql ncurses nls oggvorbis opengl oss pam pdflib perl png python qt quicktime readline ruby sdl slang spell ssl svga tcltk tcpd tetex truetype x86 xml2 xmms xv zlib"
Comment 3 Daniel Black (RETIRED) gentoo-dev 2004-06-04 01:30:28 UTC
dev-libs/libgcrypt dependancy added. Thanks for the bug report.
Comment 4 Seemant Kulleen (RETIRED) gentoo-dev 2004-07-02 04:22:03 UTC
the problem then becomes one of circular dependencies.  Please see the only item in cryptplug's DEPEND list.

The added problem is that now portage wants to constantly upgrade and downgrade gpgme since the version bump.
Comment 5 Seemant Kulleen (RETIRED) gentoo-dev 2004-07-02 04:24:30 UTC
bah, ignore me, I'm referring to the 0.3 series of gpgme, not this one, sorry.