Bug 130992 - app-crypt/gpgme-1.1.2 segfaults while compiling
|
Bug#:
130992
|
Product: Gentoo Linux
|
Version: unspecified
|
Platform: AMD64
|
|
OS/Version: Linux
|
Status: RESOLVED
|
Severity: normal
|
Priority: P2
|
|
Resolution: FIXED
|
Assigned To: dragonheart@gentoo.org
|
Reported By: maedhros@gentoo.org
|
|
Component: Applications
|
|
|
URL:
|
|
Summary: app-crypt/gpgme-1.1.2 segfaults while compiling
|
|
Keywords:
|
|
Status Whiteboard:
|
|
Opened: 2006-04-23 10:31 0000
|
gpgme-1.1.2 gives the following while compiling:
--[snip]--
x86_64-pc-linux-gnu-gcc -march=athlon64 -O2 -pipe -fno-ident -I../assuan/ -o
.libs/t-encrypt-large t-encrypt-large.o ../../gpgme/.libs/libgpgme.so
creating t-encrypt-large
/bin/sh ../../libtool --tag=CC --mode=link x86_64-pc-linux-gnu-gcc
-march=athlon64 -O2 -pipe -fno-ident -I../assuan/ -o t-genkey t-genkey.o
../../gpgme/libgpgme.la
x86_64-pc-linux-gnu-gcc -march=athlon64 -O2 -pipe -fno-ident -I../assuan/ -o
.libs/t-file-name t-file-name.o ../../gpgme/.libs/libgpgme.so
creating t-file-name
x86_64-pc-linux-gnu-gcc -march=athlon64 -O2 -pipe -fno-ident -I../assuan/ -o
.libs/t-genkey t-genkey.o ../../gpgme/.libs/libgpgme.so
/usr/bin/gpg2 --homedir . --import ./pubdemo.asc
ERROR: ld.so: object 'libsandbox.so' from LD_PRELOAD cannot be preloaded:
ignored.
gpg: WARNING: unsafe permissions on homedir "."
gpg: NOTE: THIS IS A DEVELOPMENT VERSION!
gpg: It is only intended for test purposes and should NOT be
gpg: used in a production environment or with production keys!
gpg: WARNING: This version of gpg is not very matured and
gpg: WARNING: only intended for testing. Please keep using
gpg: WARNING: gpg 1.2.x, 1.3.x or 1.4.x for OpenPGP
gpg: keyring `./secring.gpg' created
gpg: keyring `./pubring.gpg' created
gpg: signal Segmentation fault caught ... exiting
make[3]: *** [pubring.gpg] Segmentation fault
make[3]: *** Deleting file `pubring.gpg'
make[3]: *** Waiting for unfinished jobs....
creating t-genkey
make[3]: Leaving directory
`/var/tmp/portage/gpgme-1.1.2/work/gpgme-1.1.2/tests/gpg'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory
`/var/tmp/portage/gpgme-1.1.2/work/gpgme-1.1.2/tests'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/gpgme-1.1.2/work/gpgme-1.1.2'
make: *** [all] Error 2
--[snip]--
$ emerge --info
Portage 2.1_pre9-r4 (default-linux/amd64/2005.1, gcc-3.4.6, glibc-2.4-r1,
2.6.16-gentoo-r3 x86_64)
=================================================================
System uname: 2.6.16-gentoo-r3 x86_64 AMD Athlon(tm) 64 Processor 3200+
Gentoo Base System version 1.12.0_pre18
dev-lang/python: 2.3.5-r2, 2.4.2-r1
sys-apps/sandbox: 1.2.17
sys-devel/autoconf: 2.13, 2.59-r7
sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils: 2.16.1-r2
sys-devel/libtool: 1.5.22
virtual/os-headers: 2.6.11-r3
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=athlon64 -O2 -pipe -fno-ident"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/share/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/eselect/compiler /etc/gconf /etc/revdep-rebuild
/etc/terminfo /etc/texmf/web2c /etc/env.d"
CXXFLAGS="-march=athlon64 -O2 -pipe -fno-ident"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks sandbox sfperms splitdebug strict
userpriv usersandbox"
GENTOO_MIRRORS="http://gentoo.blueyonder.co.uk
http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/
http://ftp.heanet.ie/pub/gentoo/ http://pandemonium.tiscali.de/pub/gentoo/"
LANG="en_GB.UTF-8"
LC_ALL="en_GB.UTF-8"
LDFLAGS="-Wl,-O1"
LINGUAS="en_GB"
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="amd64 X alsa audiofile berkdb bitmap-fonts bzip2 cairo cdparanoia cdr
chroot crypt ctype curl dri dvd dvdr dvdread emul-linux-x86 encode exif expat
fam ffmpeg firefox flac ftp gd gdbm gif glut gpm gtk gtk2 iconv imlib jpeg
jpeg2k kqemu lesstif libwww mad maildir mbox mng mono mp3 mpeg msn musepack
ncurses nls nptl offensive ogg oggvorbis opengl pam pam_chroot pcre pdflib php
png python readline sdl spell ssl svg tcpd tetex threads truetype
truetype-fonts type1-fonts udev unicode usb userlocales vorbis xml2 xpm xv xvid
zlib elibc_glibc input_devices_keyboard input_devices_mouse kernel_linux
linguas_en_GB userland_GNU video_cards_radeon video_cards_vesa
video_cards_fbdev"
Unset: ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK
$ emerge -pv gpg
[ebuild R ] app-crypt/gnupg-1.9.20-r1 USE="X nls -caps -ldap -smartcard
-smime" 0 kB
sorry, I cannot reproduce this.
Almost the same, but no error with 'libsandbox.so'.
--snip--
x86_64-pc-linux-gnu-gcc -O2 -pipe -march=athlon64 -fomit-frame-pointer
-I../assuan/ -o .libs/t-file-name t-file-name.o ../../gpgme/.libs/libgpgme.so
creating t-file-name
/usr/bin/gpg2 --homedir . --import ./pubdemo.asc
gpg: WARNING: unsafe permissions on homedir "."
gpg: NOTE: THIS IS A DEVELOPMENT VERSION!
gpg: It is only intended for test purposes and should NOT be
gpg: used in a production environment or with production keys!
gpg: WARNING: This version of gpg is not very matured and
gpg: WARNING: only intended for testing. Please keep using
gpg: WARNING: gpg 1.2.x, 1.3.x or 1.4.x for OpenPGP
gpg: keyring `./secring.gpg' created
gpg: keyring `./pubring.gpg' created
gpg: signal Segmentation fault caught ... exiting
make[3]: *** [pubring.gpg] Segmentation fault
make[3]: *** Deleting file `pubring.gpg'
make[3]: *** Waiting for unfinished jobs....
x86_64-pc-linux-gnu-gcc -O2 -pipe -march=athlon64 -fomit-frame-pointer
-I../assuan/ -o .libs/t-genkey t-genkey.o ../../gpgme/.libs/libgpgme.so
creating t-genkey
make[3]: Leaving directory
`/var/tmp/portage/gpgme-1.1.2/work/gpgme-1.1.2/tests/gpg'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory
`/var/tmp/portage/gpgme-1.1.2/work/gpgme-1.1.2/tests'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/gpgme-1.1.2/work/gpgme-1.1.2'
make: *** [all] Error 2
--snip--
----------------Emerge info:
Portage 2.1_pre9-r4 (default-linux/amd64/2006.0, gcc-3.4.6, glibc-2.4-r1,
2.6.15-gentoo-r7tripleseven x86_64)
=================================================================
System uname: 2.6.15-gentoo-r7tripleseven x86_64 AMD Athlon(tm) 64 Processor
3000+
Gentoo Base System version 1.12.0_pre18
dev-lang/python: 2.4.2-r1
sys-apps/sandbox: 1.2.17
sys-devel/autoconf: 2.13, 2.59-r7
sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils: 2.16.1-r2
sys-devel/libtool: 1.5.22
virtual/os-headers: 2.6.11-r3
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=athlon64 -fomit-frame-pointer"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.5/env
/usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config
/usr/share/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/eselect/compiler /etc/gconf /etc/revdep-rebuild
/etc/splash /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -pipe -march=athlon64 -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://mirror.gentoo.no/ http://ftp.du.se/pub/os/gentoo
http://ftp.snt.utwente.nl/pub/os/linux/gentoo
http://pandemonium.tiscali.de/pub/gentoo/
http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/"
LINGUAS="nb"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="amd64 X a52 aac alsa apache2 arts asf avi bash-completition berkdb
bitmap-fonts bzip2 cdparanoia cdr clamav cli crypt cups directfb dri dv dvd
dvdr eds emboss emul-linux-x86 encode exif ffmpeg foomaticdb fortran ftp gd gif
glut gphoto2 gpm gtk2 hal ieee1394 imlib isdnlog jpeg jpeg2k kde libcaca lirc
lzw lzw-tiff mad matroska mmap mng mp3 mpeg msn ncurses nls nptl nptlonly
offensive ogg oggvorbis openal opengl pam pcre pda pdf pdflib perl png posix
pppd python qt quicktime readline reflection samba sdl session speex spell spl
ssl tcpd theora tiff truetype-fonts type1-fonts usb v4l vcd videos vorbis xine
xorg xpm xv xvid zlib elibc_glibc input_devices_keyboard input_devices_mouse
input_devices_evdev kernel_linux linguas_nb userland_GNU video_cards_ati
video_cards_fglrx"
Unset: ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL,
LDFLAGS, PORTDIR_OVERLAY
Same over here. Even with sandbox error.
$ emerge --info
Portage 2.1_pre9-r4 (default-linux/amd64/2006.0, gcc-3.4.6, glibc-2.4-r1,
2.6.16-gentoo-r3 x86_64)
=================================================================
System uname: 2.6.16-gentoo-r3 x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor
3800+
Gentoo Base System version 1.12.0_pre18
ccache version 2.4 [enabled]
dev-lang/python: 2.3.5, 2.4.2-r1
sys-apps/sandbox: 1.2.17
sys-devel/autoconf: 2.13, 2.59-r7
sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils: 2.16.1-r2
sys-devel/libtool: 1.5.22
virtual/os-headers: 2.6.11-r3
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=athlon64 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env
/usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3.5/env
/usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config
/usr/lib/fax /usr/share/X11/xkb /usr/share/config /var/qmail/control
/var/spool/fax/etc"
CONFIG_PROTECT_MASK="/etc/eselect/compiler /etc/gconf /etc/revdep-rebuild
/etc/terminfo /etc/texmf/web2c /etc/env.d"
CXXFLAGS="-march=athlon64 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks metadata-transfer notitles sandbox
sfperms strict test userpriv usersandbox"
GENTOO_MIRRORS="ftp://sunsite.informatik.rwth-aachen.de/pub/comp/Linux/gentoo
http://gentoo.oregonstate.edu/
http://www.ibiblio.org/pub/Linux/distributions/gentoo"
LINGUAS="de"
MAKEOPTS="-j4"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="amd64 X a52 aac acpi alsa amd amr arts avi berkdb bitmap-fonts bzip2
cdparanoia cli cpudetection crypt cups dga dri dv dvd dvdr dvdread eds emboss
encode faad fam fame ffmpeg font-server foomaticdb fortran freetype ftp gcc gcj
gif gimp glibc-omitfp gtk gtk2 hal imlib isdnlog jp2 jpeg jpeg2k kde
kdeenablefinal lcd lm_sensors logitech-mouse lzw lzw-tiff mad maildir mozilla
mp3 mpeg mplayer ncurses nls nodrm nomalloccheck nptl nptlonly nsplugin ntlm
offensive opengl pam pam_chroot pam_console pam_timestamp pcre pdf pdflib perl
pic png ppds pppd python qt quicktime readline reflection rtc samba sasl
scanner server session smime smp spell spl sse3 ssl subtitles symlink tcpd
tetex threads tiff transparent-proxy truetype truetype-fonts type1-fonts usb
vim-with-x vorbis wxgtk1 x11vnc xine xml xorg xpm xv zlib elibc_glibc
input_devices_evdev input_devices_keyboard input_devices_mouse
input_devices_vmmouse kernel_linux linguas_de userland_GNU video_cards_ati
video_cards_fglrx video_cards_radeon video_cards_v4l video_cards_vesa
video_cards_vga video_cards_vmware"
Unset: ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL,
LDFLAGS
seems rather amd64 specific, maybe amd64 wants to take out the keyword
temporarily?
I get this too, including sandbox error. Also amd64.
$ emerge --info
Portage 2.1_pre9-r4 (default-linux/amd64/2005.1, gcc-3.4.6, glibc-2.3.6-r3,
2.6.15-gentoo-r5.0 x86_64)
=================================================================
System uname: 2.6.15-gentoo-r5.0 x86_64 AMD Athlon(tm) 64 Processor 3500+
Gentoo Base System version 1.12.0_pre18
distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632)
[disabled]
ccache version 2.4 [enabled]
dev-lang/python: 2.3.5, 2.4.2-r1
sys-apps/sandbox: 1.2.17
sys-devel/autoconf: 2.13, 2.59-r7
sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils: 2.16.1-r2
sys-devel/libtool: 1.5.22
virtual/os-headers: 2.6.11-r3
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=athlon64 -pipe -O2"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.5/env
/usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config
/usr/share/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/eselect/compiler /etc/gconf /etc/revdep-rebuild
/etc/splash /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon64 -pipe -O2"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks metadata-transfer parallel-fetch sandbox
sfperms strict userpriv usersandbox"
GENTOO_MIRRORS="http://mirror.datapipe.net/gentoo
http://mirror.espri.arizona.edu/gentoo/ http://cudlug.cudenver.edu/gentoo/
http://gentoo.cites.uiuc.edu/pub/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="amd64 X a52 aac alsa apache2 avi berkdb bitmap-fonts bzip2 cli crypt cups
curl dbus divx4linux dts dv dvd dvdread eds emboss encode exif expat fame
ffmpeg fftw flac foomaticdb fortran gd gdbm gif gpm gstreamer gtk gtk2 hal
ieee1394 imagemagick imlib isdnlog java jpeg kde kdeenablefinal lcms lzw
lzw-tiff mad mng mozilla mp3 mpeg mpeg4 mysql ncurses nls nptl ogg oggvorbis
pam pcre pdflib perl php png pppd python qt quicktime readline reflection samba
sdl server session spell spl sql sqlite ssl subtitles tcpd theora tidy tiff
transcode truetype truetype-fonts type1-fonts usb v4l vorbis x264 xine xml xml2
xorg xpm xv xvid zeroconf zlib elibc_glibc input_devices_keyboard
input_devices_mouse kernel_linux userland_GNU video_cards_savage"
Unset: ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL,
LDFLAGS, LINGUAS
Same here.
emerge --info
Portage 2.1_pre9-r4 (default-linux/amd64/2006.0, gcc-3.4.6, glibc-2.4-r1,
2.6.16-gentoo-r3 x86_64)
=================================================================
System uname: 2.6.16-gentoo-r3 x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor
3800+
Gentoo Base System version 1.12.0_pre18
distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632)
[enabled]
dev-lang/python: 2.3.5, 2.4.2-r1
sys-apps/sandbox: 1.2.17
sys-devel/autoconf: 2.13, 2.59-r7
sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils: 2.16.1-r2
sys-devel/libtool: 1.5.22
virtual/os-headers: 2.6.11-r3
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-mtune=k8 -march=k8 -O3 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.5/env
/usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config
/usr/share/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/eselect/compiler /etc/gconf /etc/revdep-rebuild
/etc/terminfo /etc/env.d"
CXXFLAGS="-mtune=k8 -march=k8 -O3 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distcc distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="ftp://ftp.du.se/pub/os/gentoo http://ds.thn.htu.se/linux/gentoo
http://mirror.gentoo.no/ ftp://trumpetti.atm.tut.fi/gentoo/
ftp://mirror.pudas.net/gentoo"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="7zip X aac acl alsa amarok amd64 artworkextra automount avi berkdb
bitmap-fonts bl bluetooth browserplugin bzip2 cdparanoia cdr cdrecord cli
cpudetection crypt cups dbus dri dts dvd dvdr dvdread eds emboss encode
exscalibar ffmpeg firefox flac foomaticdb fortran freetype gif glibc-omitfp gpm
gstreamer gtk gtk2 hal imagemagick imlib ipv6 isdnlog jpeg jpeg2k kde live
lm_sensors logitech-mouse lzo lzw lzw-tiff mad matroska mikmod mng modplug
mozilla mozsvg mp3 mp4 mpeg mplayer musepack musicbrainz nas ncurses nls nptl
nptlonly nsplugin nvidia nvidia-glx offensive ogg openal openexr opengl pam
pcre pdf pdflib perl png pppd python qt quicktime readline reflection samba sdl
session smp speex spell spl sse3 ssl svg tcpd theora tiff truetype
truetype-fonts type1-fonts udev unicode usb vcd visualization vorbis vorbis-psy
x264 xcomposite xine xorg xpm xv xvid xvmc yv12 zlib elibc_glibc
input_devices_keyboard input_devices_mouse kernel_linux userland_GNU
video_cards_nvidia"
Unset: ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL,
LDFLAGS, LINGUAS, PORTDIR_OVERLAY
I changed the ebuild to use only "gpg" for compiling and not the new "gpg2",
that should solve these segfault problems you are having.
*** Bug 132955 has been marked as a duplicate of this bug. ***
This problem also persists with gpgme-1.0.2 on AMD64. Is this also going to be
addressed or do I have to move to ~arch?
as per bug 132343 later gpgme-1.1.2 is getting stablised soon. Sorry for the
inconvience. Adding ~app-crypt/gpgme-1.1.2 to /etc/portage/package.keywords is
probably a solution to the immediate problem.