Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 37109 - we need app-crypt/gnupg-1.9 in order to replace newpg
Summary: we need app-crypt/gnupg-1.9 in order to replace newpg
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
: 37189 39970 40214 40280 41527 43332 (view as bug list)
Depends on:
Blocks: 41408 43410
  Show dependency tree
 
Reported: 2004-01-03 08:28 UTC by SpanKY
Modified: 2005-04-15 07:00 UTC (History)
18 users (show)

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 SpanKY gentoo-dev 2004-01-03 08:28:55 UTC
upgraded libgcrypt today to find gpg-agent stopped working

tried to re-emerge newpg only to have it die:
make[3]: Entering directory `/var/tmp/portage/newpg-0.9.4-r1/work/newpg-0.9.4/common'
gcc -DHAVE_CONFIG_H -I. -I. -I..  -I/usr/include    -pipe -march=pentium4 -O2 -frename-registers -fomit-frame-pointer -mfpmath=sse -mmmx -msse -msse2 -fdelete-null-pointer-checks -funroll-loops -ffast-math -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -Wall -Wcast-align -Wshadow -Wstrict-prototypes -c `test -f 'errors.c' || echo './'`errors.c
gcc -DHAVE_CONFIG_H -I. -I. -I..  -I/usr/include    -pipe -march=pentium4 -O2 -frename-registers -fomit-frame-pointer -mfpmath=sse -mmmx -msse -msse2 -fdelete-null-pointer-checks -funroll-loops -ffast-math -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -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)
<snip>

Portage 2.0.50_pre9 (default-x86-1.4, gcc-3.3.2, glibc-2.3.3_pre20031222-r0, 2.6.1-rc1)
=================================================================
System uname: 2.6.1-rc1 i686 Intel(R) Pentium(R) 4 CPU 1.80GHz
Gentoo Base System version 1.4.3.12
distcc 2.12 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.3 [enabled]
Autoconf: sys-devel/autoconf-2.58
Automake: sys-devel/automake-1.7.8
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-pipe -march=pentium4 -O2 -frename-registers -fomit-frame-pointer -mfpmath=sse -mmmx -msse -msse2 -fdelete-null-pointer-checks -funroll-loops -ffast-math -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /opt/glftpd/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.1/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/alias /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-pipe -march=pentium4 -O2 -frename-registers -fomit-frame-pointer -mfpmath=sse -mmmx -msse -msse2 -fdelete-null-pointer-checks -funroll-loops -ffast-math -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache noauto sandbox"
GENTOO_MIRRORS="ftp://ftp.ussg.iu.edu/pub/linux/gentoo"
MAKEOPTS="-j6"
PKGDIR="/mnt/space/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.us.gentoo.org/gentoo-portage"
USE="X aalib acl acpi alsa apache2 avi cdr crypt cups dedicated dga directfb dvd emu10k1 encode esd flash foomaticdb gd gd-external gdbm gif gpm gtk gtk2 imap imlib ipv6 joystick jpeg libwww mad maildir mikmod mmx mozilla moznocompose moznoirc moznomail mpeg mysql nas ncurses nocardbus nptl offensive oggvorbis opengl oss pam pdflib perl pic plotutils png pnp python qt qtmt quicktime readline samba sasl sdl slp snmp socks5 spell sse ssl svga tcltk tcpd tiff truetype wavelan x86 xml xml2 xmms xv zlib video_cards_nvidia"
Comment 1 Torsten Veller (RETIRED) gentoo-dev 2004-01-03 10:34:06 UTC
"NewPG is now GnuPG 1.9"
http://lists.gnupg.org/pipermail/gnupg-devel/2003-August/020314.html

"Newpg is no longer maintained, so it does not make much sense to fix it over there." (Werner Koch)


suggestion: wont fix, change deps to not use newer libgcrypts, build an emerge for gnupg 1.9 (alpha code) (or ask taviso ;)
Comment 2 SpanKY gentoo-dev 2004-01-03 10:58:17 UTC
i'd opt for the upgrade path (update app-crypt/gnupg to 1.9) ...
Comment 3 Eric Livingston 2004-01-04 06:21:49 UTC
*** Bug 37189 has been marked as a duplicate of this bug. ***
Comment 4 Eric Livingston 2004-01-04 06:25:24 UTC
All I was trying to do was get an openpgp plugin to work with kmail. My understanding was that newpg is required for that. If newpg is no longer supported, etc, how will the pgp plugin in kmail be supported in the future?
Comment 5 SpanKY gentoo-dev 2004-01-04 16:56:58 UTC
yeah, thats exactly why i filed this in the first place ;)
in the future you'll need to use app-crypt/gnupg-1.9 or better ... but we dont have that in the tree atm :x
Comment 6 Tavis Ormandy (RETIRED) gentoo-dev 2004-01-05 11:37:03 UTC
I'll make an ebuild and hardmask it, thanks for the info :)
Comment 7 Tavis Ormandy (RETIRED) gentoo-dev 2004-01-06 09:50:49 UTC
added and hardmasked, i'm considering slotting it, but as it uses the same configuration directory/keyrings and there are some strong warning about using it with your production keyring i decided against it for now. (of course you can configure these things on the command line, so maybe a wrapper script?). I'll use it for a while and think about it.

if anyone as any thoughts, feel free to add them to this bug :)
Comment 8 SpanKY gentoo-dev 2004-01-07 21:10:11 UTC
i dont believe SLOT-ing it is appropriate since it's just an unstable/dev version of the package

masking is enough
Comment 9 Chuck Brewer 2004-01-08 21:39:55 UTC
Does the 1.9 drop into the old configuration? Or is there a new mess of packages to get? Or is the 1.9 just absorbing newpg only? Basically, what will be the difference in the steps to make it work with Kmail as contrasted by the current howto? (also isnt the current dev release 2.3 or something now?)Help!
Comment 10 SpanKY gentoo-dev 2004-01-31 12:39:26 UTC
*** Bug 39970 has been marked as a duplicate of this bug. ***
Comment 11 SpanKY gentoo-dev 2004-02-02 13:51:22 UTC
*** Bug 40214 has been marked as a duplicate of this bug. ***
Comment 12 SpanKY gentoo-dev 2004-02-04 06:17:28 UTC
*** Bug 40280 has been marked as a duplicate of this bug. ***
Comment 13 SpanKY gentoo-dev 2004-02-13 21:18:58 UTC
*** Bug 41527 has been marked as a duplicate of this bug. ***
Comment 14 Radek Podgorny 2004-02-14 16:52:41 UTC
Come on! Unmask it or hard mask libgcrypt 1.1.91 again, please... I don't consider this bug solved as the things are broken now in the standard (~x86) setup. Can somebody reopen, please? :-(

Radek
Comment 15 Jeff Stuart 2004-02-23 01:05:42 UTC
Welp, I hard masked libgcrypt in /etc/portage/package.mask with the following comment:

#
# OK since these fucking idiots at Gentoo have their heads up their asses and did NOT
# BOTHER TO FUCKING TEST THINGS.... Let's take care of the problem with newpg and libgcrypt.
#

GEE GUESS WHAT... newpg ACTUALLY emerges.  AMAZING.

This bug is over a month old.  The new ebuild is over 1 month old and hard masked still.  There are no comments on here as to if it's a good idea to upgrade gnupg or not.  There are shit pot loads of duplicate bugs filed.  And yet... this bug is still marked as fixed.   FIXED MY ASS.
Comment 16 Tavis Ormandy (RETIRED) gentoo-dev 2004-02-23 01:37:16 UTC
There is _no way_ I am removing the hardmask on an alpha version on something as important as gpg. Users rely on it to protect the integrity of their communications and their privacy. Bugs may still exist that could compromise their keyrings or encrypted messages, or whatever.

I'll REOPEN and reassign to bug-wranglers.
Comment 17 Jon Portnoy (RETIRED) gentoo-dev 2004-02-23 02:05:48 UTC
Jeff, please calm down. Being abusive doesn't help anyone. If this becomes a habit, I will have to suspend your Bugzilla access.

Thanks.
Comment 18 Seemant Kulleen (RETIRED) gentoo-dev 2004-02-23 02:10:31 UTC
I'm sorry, but first of all ~x86 is NOT standard.  x86, however, is.
Second of all, Jeff Stuart -- tone it down, ok?  We're volunteer devs working our asses off to provide you with something for free.  Please keep it civilised, and minimise the abuse you give the developers, it's not necessary.

Having said all that, I apologise for the kerfuffle caused by this, and I'll see to it we find some sort of resolution.
Comment 19 Seemant Kulleen (RETIRED) gentoo-dev 2004-02-23 02:14:08 UTC
Alastair, since you're listed as the maintainer of libgcrypt, can I have you pipe in with an opinion on how best to handle this?
Comment 20 Alastair Tse (RETIRED) gentoo-dev 2004-02-23 03:05:27 UTC
can't we just patch newpg to work with 1.1.91? 

the thing is, i never approved of adding 1libgcrypt-1.1.91, and i had initiated a take over of the package to prevent random people bumping the version without checking whether it breaks other things (in my case it was opencdk and gnutls). 

let me see what's involved first
Comment 21 Jeff Stuart 2004-02-23 03:37:06 UTC
Ok, let me make a few comments here.

A) While my comments were inappropriate... it should NOT have taken comments like that to get the response(s) from Seemant and Alastair.  (And yes, I DO UNDERSTAND volunteering stuff, etc.  I help track bugs for kopete and I KNOW how time consuming that is.)

B) The thing that annoyed me was the fact that this bug essentially sat at fixed status for over 1 month while it was OBVIOUS there were problems with this.  I am also annoyed because this explains why gpg-agent had broken on me a while ago without me even realizing it.  Yet another case of emerge -U world biting me in the ass. :(  Frankly, I had thought it was a problem with KDE and not GPG.
Comment 22 SpanKY gentoo-dev 2004-02-23 19:46:54 UTC
file a new bug to track this properly, i dont want to look at crap like that

if that doesnt suit you, well i dont care, my head is up my ass
Comment 23 SpanKY gentoo-dev 2004-02-29 17:21:29 UTC
*** Bug 43332 has been marked as a duplicate of this bug. ***
Comment 24 Shiva Persaud 2005-04-15 06:59:15 UTC
I'd like to ask that you consider slotting gnupg 1.9*. My reason is simple. Later versions contain gpgsm which KMail and other apps can use for S/MIME cert. management, etc. These tools are not available in earlier versions of gnupg. You can ever configure gunpg 1.9 not to install gpg... just gpgsm. It would be nice if I could use gpg 1.4 and gpgsm 1.9.

I see that you've considered this before but I thought I'd ask anyway.