Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 502596 - gnome-base/gnome-keyring-2.32.1-r1 build fails due to lack of asn1x definitions
Summary: gnome-base/gnome-keyring-2.32.1-r1 build fails due to lack of asn1x definitions
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-02-27 05:08 UTC by Cody Schafer
Modified: 2014-05-31 07:15 UTC (History)
1 user (show)

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


Attachments
egg-asn1x.patch (egg-asn1x.patch,2.58 KB, patch)
2014-02-27 05:09 UTC, Cody Schafer
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Cody Schafer 2014-02-27 05:08:36 UTC
Excerpt of build log:

/bin/sh ../libtool  --tag=CC   --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I..     -I/usr/inclu
de/glib-2.0 -I/usr/lib64/glib-2.0/include  -Wall      -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes 
    -Wnested-externs -Wpointer-arith        -Wcast-align -Wsign-compare     -march=corei7-avx -mcx16 -msahf -mno-mov
be -maes -mpclmul -mpopcnt -mno-abm -mno-lwp -mno-fma -mno-fma4 -mno-xop -mno-bmi -mno-bmi2 -mno-tbm -mavx -mno-avx2
 -msse4.2 -msse4.1 -mno-lzcnt -mno-rdrnd -mno-f16c -mno-fsgsbase --param l1-cache-size=32 --param l1-cache-line-size
=64 --param l2-cache-size=3072 -mtune=corei7-avx -O2 -pipe -g -Wno-strict-aliasing -Wno-sign-compare -c -o libegg_la
-egg-mkdtemp.lo `test -f 'egg-mkdtemp.c' || echo './'`egg-mkdtemp.c
distcc[10319] ERROR: compile /var/tmp/portage/ccache/tmp/egg-asn1x.tmp.zero.10286.i on localhost failed
egg-asn1x.c: In function 'anode_encode_build':
egg-asn1x.c:1280:7: warning: variable 'type' set but not used [-Wunused-but-set-variable]
egg-asn1x.c: In function 'traverse_and_prepare':
egg-asn1x.c:3354:3: warning: passing argument 1 of 'egg_asn1x_create' from incompatible pointer type [enabled by def
ault]
In file included from egg-asn1x.c:50:0:
egg-asn1x.h:38:8: note: expected 'const struct static_struct_asn *' but argument is of type 'const struct asn1_stati
c_node *'
egg-asn1x.c: At top level:
egg-asn1x.c:3509:1: error: conflicting types for 'egg_asn1x_create'
In file included from egg-asn1x.c:50:0:
egg-asn1x.h:38:8: note: previous declaration of 'egg_asn1x_create' was here
egg-asn1x.c:3572:1: error: conflicting types for 'egg_asn1x_create_quark'
In file included from egg-asn1x.c:50:0:
egg-asn1x.h:41:8: note: previous declaration of 'egg_asn1x_create_quark' was here
egg-asn1x.c:3579:1: error: conflicting types for 'egg_asn1x_create_and_decode'
In file included from egg-asn1x.c:50:0:
egg-asn1x.h:44:8: note: previous declaration of 'egg_asn1x_create_and_decode' was here
Makefile:778: recipe for target 'libegg_la-egg-asn1x.lo' failed
make[4]: *** [libegg_la-egg-asn1x.lo] Error 1
make[4]: *** Waiting for unfinished jobs....


Reproducible: Always





A mention of the issue with a patch to fix it:
http://lists.openembedded.org/pipermail/openembedded-devel/2013-June/091029.html

$ emerge --info
Portage 2.2.8-r1 (default/linux/amd64/13.0, gcc-4.7.3, glibc-2.18-r1, 3.11.2-gentoo x86_64)
=================================================================
System uname: Linux-3.11.2-gentoo-x86_64-Intel-R-_Core-TM-_i5-2410M_CPU_@_2.30GHz-with-gentoo-2.2
KiB Mem:    16313748 total,   1631356 free
KiB Swap:    5242876 total,   5037988 free
Timestamp of tree: Thu, 27 Feb 2014 03:30:01 +0000
ld GNU ld (GNU Binutils) 2.23.1
distcc 3.1 x86_64-pc-linux-gnu [enabled]
ccache version 3.1.9 [enabled]
app-shells/bash:          4.2_p45-r1
dev-java/java-config:     2.2.0
dev-lang/python:          2.7.6, 3.1.5-r1000::progress, 3.2.5-r3, 3.3.4
dev-util/ccache:          3.1.9-r3
dev-util/cmake:           2.8.12.2
dev-util/pkgconfig:       0.28
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.12.4
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.4_p6-r1, 1.9.6-r3, 1.10.3, 1.11.6, 1.12.6, 1.13.4, 1.14.1
sys-devel/binutils:       2.23.1, 2.23.2, 2.24-r2
sys-devel/gcc:            4.4.5, 4.5.4, 4.6.3, 4.7.3, 4.8.1
sys-devel/gcc-config:     1.8
sys-devel/libtool:        2.4.2
sys-devel/make:           4.0-r1
sys-kernel/linux-headers: 3.13 (virtual/os-headers)
sys-libs/glibc:           2.18-r1
Repositories: gentoo local zugaina jmesmon x11 sunrise zx2c4 spring sigrok toolchain
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=corei7-avx -mcx16 -msahf -mno-movbe -maes -mpclmul -mpopcnt -mno-abm -mno-lwp -mno-fma -mno-fma4 -mno-xop -mno-bmi -mno-bmi2 -mno-tbm -mavx -mno-avx2 -msse4.2 -msse4.1 -mno-lzcnt -mno-rdrnd -mno-f16c -mno-fsgsbase --param l1-cache-size=32 --param l1-cache-line-size=64 --param l2-cache-size=3072 -mtune=corei7-avx -O2 -pipe -g"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/maven-bin-3.0/conf /usr/share/maven-bin-3.1/conf /usr/share/polkit-1/actions /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.5/ext-active/ /etc/php/cgi-php5.5/ext-active/ /etc/php/cli-php5.5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=corei7-avx -mcx16 -msahf -mno-movbe -maes -mpclmul -mpopcnt -mno-abm -mno-lwp -mno-fma -mno-fma4 -mno-xop -mno-bmi -mno-bmi2 -mno-tbm -mavx -mno-avx2 -msse4.2 -msse4.1 -mno-lzcnt -mno-rdrnd -mno-f16c -mno-fsgsbase --param l1-cache-size=32 --param l1-cache-line-size=64 --param l2-cache-size=3072 -mtune=corei7-avx -O2 -pipe -g"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--jobs 3 --load-average 3.5"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs ccache compress-build-logs compressdebug config-protect-if-modified distcc distlocks ebuild-locks fakeroot fixlafiles merge-sync news parallel-fetch parallel-install preserve-libs protect-owned sandbox sfperms splitdebug strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://gentoo.llarian.net/ ftp://gentoo.llarian.net/pub/gentoo http://gentoo.gossamerhost.com ftp://mirrors.tera-byte.com/pub/gentoo http://gentoo.mirrors.tera-byte.com/"
LANG="en_US.UTF8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--build-id"
MAKEOPTS="-j6 --load-average 4.2"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage /var/lib/layman/zugaina /var/lib/layman/jmesmon /var/lib/layman/x11 /var/lib/layman/sunrise /var/lib/layman/zx2c4 /var/lib/layman/Spring /var/lib/layman/sigrok /var/lib/layman/toolchain"
USE="X aac aacplus acl acpi alac alsa amd64 amr apng ass avahi avx bash-completion berkdb bittorrent bl bluetooth bluray bs2b bzip2 cairo caps cdda cddb cdr celt clang cli colord cracklib crypt cscope cups curl cvs cxx dbus device-mapper dia dirac djvu dmx doc dri drm dvb dvd dvi egl exif fasttrack ffmpeg flac fontconfig fortran ftdi ftp fuse g3dvl gadu gallium gbm gcj gd gdbm geoip gif gimp glamor gles gles1 gles2 gmp gnome-keyring gnutella gnutls go gold gpg gphoto2 graphite groupwise gstreamer gtk gudev hdri hwdb iconv icu imlib ipv6 jack java javascript jbig jit jpeg jpeg2k kdrive kerberos keymap kpathsea lame laptop latex lcms libass libkms libnotify libsamplerate llvm-shared-libs lto lua lvm lzma mac mad magic maildir meanwhile mmap mmx mmxext mng mod modplug modules mp3 mpeg multilib multitarget ncurses network nls nptl objc ocr ogg opengl openmp openvg opus osmesa pam parted pcap pcre pdf pdfimport perl pgo plot png pnm policykit postgres prediction pypy python qemu qt3support readline real rtmp ruby samba scanner schroedinger scsi session shorten silc slang smime smp sna sndfile snmp sox speex spell sqlite sse sse2 sse4 sse4_1 sse4_2 ssh ssl ssse3 startup-notification subversion svg system-sqlite tcpd theora tiff tk tokyocabinet tools transparent-proxy truetype udev uml unicode unwind upnp usb uxa v4l v4l2 vaapi vala vdpau vim-pager vim-syntax virt-network virtualbox vorbis vpx wavpack webkit wifi winbind wmf x264 xattr xcb xcomposite xetex xft xinerama xml xmp xnest xorg xpm xv xvfb xvid xvmc zephyr zlib zsh-completion" ABI_X86="64" 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" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="keyboard mouse evdev synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en_US.UTF-8" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_3" RUBY_TARGETS="ruby19 ruby20 ruby18 ruby21" USERLAND="GNU" VIDEO_CARDS="radeon intel i915 i965" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, SYNC, USE_PYTHON
Comment 1 Cody Schafer 2014-02-27 05:09:34 UTC
Created attachment 371368 [details, diff]
egg-asn1x.patch

The extracted patch to gnome from the prior mentioned link. I have tested it to work.
Comment 2 Guy 2014-03-01 11:29:25 UTC
Patch worked for me as well. [amd64 and x86]
Comment 3 Pacho Ramos gentoo-dev 2014-05-31 07:15:37 UTC
This is solved in 3.x series (and 2.x is not supported and will be removed soon)