Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 40280

Summary: newpg-0.9.4-r1 fails to compile
Product: Gentoo Linux Reporter: Craig Main <craig>
Component: Current packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Craig Main 2004-02-03 08:36:00 UTC
When emergeing newpg-0.9.4-r1, the compilation halts with errors from maperror.c

Reproducible: Always
Steps to Reproduce:
1. emerge -pv newpg
Actual Results:  
---snip---

gcc -DHAVE_CONFIG_H -I. -I. -I..  -I/usr/include    -O2 -mcpu=pentium3
-march=pentium3  -pipe -Wall -Wcast-align -Wshadow -Wstrict-prototypes -c `test
-f 'maperror.c' || echo './'`maperror.c
maperror.c: In function `map_gcry_err':
maperror.c:72: error: `GCRYERR_EOF' undeclared (first use in this function)
maperror.c:72: error: (Each undeclared identifier is reported only once
maperror.c:72: error: for each function it appears in.)
maperror.c:80: error: `GCRYERR_WRONG_PK_ALGO' undeclared (first use in this
function)
maperror.c:81: error: `GCRYERR_INV_PK_ALGO' undeclared (first use in this function)
maperror.c:82: error: `GCRYERR_INV_MD_ALGO' undeclared (first use in this function)
maperror.c:83: error: `GCRYERR_INV_CIPHER_ALGO' undeclared (first use in this
function)
maperror.c:86: error: `GCRYERR_INV_KEYLEN' undeclared (first use in this function)
maperror.c:87: error: `GCRYERR_WEAK_KEY' undeclared (first use in this function)
maperror.c:88: error: `GCRYERR_BAD_PUBLIC_KEY' undeclared (first use in this
function)
maperror.c:89: error: `GCRYERR_BAD_SECRET_KEY' undeclared (first use in this
function)
maperror.c:90: error: `GCRYERR_BAD_SIGNATURE' undeclared (first use in this
function)
maperror.c:92: error: `GCRYERR_BAD_MPI' undeclared (first use in this function)
maperror.c:96: error: `GCRYERR_INV_ARG' undeclared (first use in this function)
maperror.c:97: error: `GCRYERR_INV_OP' undeclared (first use in this function)
maperror.c:98: error: `GCRYERR_INTERNAL' undeclared (first use in this function)
maperror.c:99: error: `GCRYERR_INV_CIPHER_MODE' undeclared (first use in this
function)
maperror.c:103: error: `GCRYERR_SELFTEST' undeclared (first use in this function)
maperror.c:107: error: `GCRYERR_SEXP_INV_LEN_SPEC' undeclared (first use in this
function)
maperror.c:108: error: `GCRYERR_SEXP_STRING_TOO_LONG' undeclared (first use in
this function)
maperror.c:109: error: `GCRYERR_SEXP_UNMATCHED_PAREN' undeclared (first use in
this function)
maperror.c:110: error: `GCRYERR_SEXP_NOT_CANONICAL' undeclared (first use in
this function)
maperror.c:111: error: `GCRYERR_SEXP_BAD_CHARACTER' undeclared (first use in
this function)
maperror.c:112: error: `GCRYERR_SEXP_BAD_QUOTATION' undeclared (first use in
this function)
maperror.c:113: error: `GCRYERR_SEXP_ZERO_PREFIX' undeclared (first use in this
function)
maperror.c:114: error: `GCRYERR_SEXP_NESTED_DH' undeclared (first use in this
function)
maperror.c:115: error: `GCRYERR_SEXP_UNMATCHED_DH' undeclared (first use in this
function)
maperror.c:116: error: `GCRYERR_SEXP_UNEXPECTED_PUNC' undeclared (first use in
this function)
maperror.c:117: error: `GCRYERR_SEXP_BAD_HEX_CHAR' undeclared (first use in this
function)
maperror.c:118: error: `GCRYERR_SEXP_ODD_HEX_NUMBERS' undeclared (first use in
this function)
maperror.c:119: error: `GCRYERR_SEXP_BAD_OCT_CHAR' undeclared (first use in this
function)
maperror.c:123: error: `GCRYERR_NO_MEM' undeclared (first use in this function)
maperror.c:125: error: `GCRYERR_NOT_IMPL' undeclared (first use in this function)
maperror.c:126: error: `GCRYERR_CONFLICT' undeclared (first use in this function)
maperror.c:128: error: `GCRYERR_INV_OBJ' undeclared (first use in this function)
maperror.c:129: error: `GCRYERR_TOO_SHORT' undeclared (first use in this function)
maperror.c:130: error: `GCRYERR_TOO_LARGE' undeclared (first use in this function)
maperror.c:131: error: `GCRYERR_NO_OBJ' undeclared (first use in this function)
make[3]: *** [maperror.o] Error 1
make[3]: Leaving directory `/var/tmp/portage/newpg-0.9.4-r1/work/newpg-0.9.4/common'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/var/tmp/portage/newpg-0.9.4-r1/work/newpg-0.9.4/common'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/newpg-0.9.4-r1/work/newpg-0.9.4'
make: *** [all] Error 2

!!! ERROR: app-crypt/newpg-0.9.4-r1 failed.
!!! Function src_compile, Line 36, Exitcode 2
!!! (no error message)


Portage 2.0.50_pre21 (default-x86-1.4, gcc-3.3.2, glibc-2.3.3_pre20040117-r0,
2.6.1-gentoo-r1)
=================================================================
System uname: 2.6.1-gentoo-r1 i686 Intel(R) Pentium(R) III Mobile CPU      1133MHz
Gentoo Base System version 1.4.3.12
Autoconf: sys-devel/autoconf-2.59
Automake: sys-devel/automake-1.7.8
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -mcpu=pentium3 -march=pentium3  -pipe"
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/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/env.d"
CXXFLAGS="-O2 -mcpu=pentium3 -march=pentium3  -pipe"
DISTDIR="/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="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X aalib alsa apache2 apm arts avi berkdb bonobo cdr crypt cups dvd encode
esd foomaticdb gd gdbm gif gnome gphoto2 gpm gtk gtk2 gtkhtml imlib
input_devices_synaptics java jpeg kde libg++ libwww mad mikmod motif mozilla
mpeg mysql ncurses nls oggvorbis opengl oss pam pdflib perl png postgres python
qt quicktime readline samba scanner sdl slang spell ssl svga tcltk tcpd tetex
truetype video_cards_radeon x86 xml2 xmms xv zlib"
Comment 1 Max 2004-02-04 04:44:18 UTC
I can confirm this bug.

Portage 2.0.50_pre21 (default-x86-1.4, gcc-3.3.2, glibc-2.3.3_pre20040117-r0, 2.6.2-rc3)
=================================================================
System uname: 2.6.2-rc3 i686 AMD Athlon(tm) XP 1800+
Gentoo Base System version 1.4.3.12
ccache version 2.3 [enabled]
Autoconf: sys-devel/autoconf-2.59
Automake: sys-devel/automake-1.7.8
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-O3 -march=athlon-xp -funroll-loops -fprefetch-loop-arrays -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.1/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-O3 -march=athlon-xp -funroll-loops -fprefetch-loop-arrays -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs buildpkg ccache sandbox"
GENTOO_MIRRORS="http://212.219.247.20/sites/www.ibiblio.org/gentoo/ http://212.219.247.19/sites/www.ibiblio.org/gentoo/ http://212.219.247.15/sites/www.ibiblio.org/gentoo/ http://212.219.247.12/sites/www.ibiblio.org/gentoo/ ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.nl.gentoo.org/gentoo-portage"
USE="3dnow X aalib aavm acpi acpi4linux alsa amd apache2 arts autofs avantgo avi berkdb bluetooth bonobo caps cdr crypt cups curl dga directfb dv encode esd evo faad fam fbcon fbdev ffmpeg flac foomaticdb freetype fs gd gdbm gif gnome gphoto2 gpm gstreamer gtk gtk2 gtkhtml imagemagick imap imlib irmc java javascript joystick jpeg kde libg++ libwww mad maildir mikmod mmx motif mozilla moznocompose moznoirc mpeg mysql ncurses nls nvidia offensive oggvorbis openal opengl openssh oscar oss pam pda pdflib perl php png ppds python qt quicktime readline ruby scanner sdl slang speedo spell sse ssl stencil-buffer svga tcltk tcpd truetype usb wxwindows x86 xml2 xmms xosd xv zlib"
Comment 2 SpanKY gentoo-dev 2004-02-04 06:17:27 UTC

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