Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 512670 - dev-cpp/commoncpp2-1.8.0 - ssl.cpp:128:2: error: too many initializers for 'gcry_thread_cbs'
Summary: dev-cpp/commoncpp2-1.8.0 - ssl.cpp:128:2: error: too many initializers for 'g...
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Other
: Normal normal (vote)
Assignee: C++ Team [disbanded]
URL:
Whiteboard:
Keywords:
: 524908 (view as bug list)
Depends on:
Blocks:
 
Reported: 2014-06-07 17:03 UTC by 3PO
Modified: 2015-11-25 12:53 UTC (History)
2 users (show)

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


Attachments
emerge --info =dev-cpp/commoncpp2-1.8.0::gentoo (file_512670.txt,6.77 KB, text/plain)
2014-06-07 17:03 UTC, 3PO
Details
full build log (file_512670.txt,64.15 KB, text/plain)
2014-06-07 17:08 UTC, 3PO
Details

Note You need to log in before you can comment on or make changes to this bug.
Description 3PO 2014-06-07 17:03:02 UTC
Created attachment 378432 [details]
emerge --info =dev-cpp/commoncpp2-1.8.0::gentoo

Compiler breaks while compiling dev-cpp:commoncpp2-1.8.0

....
libtool: compile:  x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I../inc -I../src -DCCXX_EXPORT_LIBRARY -D_GNU_SOURCE -I../inc -march=corei7 -O2 -pipe -MT mime.lo -MD -MP -MF .deps/mime.Tpo -c mime.cpp -o mime.o >/dev/null 2>&1
mv -f .deps/mime.Tpo .deps/mime.Plo
/bin/sh ../libtool  --tag=CXX   --mode=compile x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I../inc    -I../src -DCCXX_EXPORT_LIBRARY  -D_GNU_SOURCE -I../inc  -march=corei7 -O2 -pipe -MT ssl.lo -MD -MP -MF .deps/ssl.Tpo -c -o ssl.lo ssl.cpp
libtool: compile:  x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I../inc -I../src -DCCXX_EXPORT_LIBRARY -D_GNU_SOURCE -I../inc -march=corei7 -O2 -pipe -MT ssl.lo -MD -MP -MF .deps/ssl.Tpo -c ssl.cpp  -fPIC -DPIC -o .libs/ssl.o
In file included from ssl.cpp:51:0:
../inc/cc++/ssl.h:61:18: warning: 'gnutls_session' is deprecated (declared at /usr/include/gnutls/compat.h:78) [-Wdeprecated-declarations]
../inc/cc++/ssl.h:62:33: warning: 'gnutls_certificate_credentials' is deprecated (declared at /usr/include/gnutls/compat.h:95) [-Wdeprecated-declarations]
ssl.cpp:123:31: warning: 'gcry_thread_cbs' is deprecated (declared at /usr/include/gcrypt.h:213) [-Wdeprecated-declarations]
ssl.cpp:128:2: error: too many initializers for 'gcry_thread_cbs'
ssl.cpp: In member function 'bool ost::SSLStream::getSession()':
ssl.cpp:365:2: warning: 'int gnutls_certificate_type_set_priority(gnutls_session_t, const int*)' is deprecated (declared at /usr/include/gnutls/compat.h:306) [-Wdeprecated-declarations]
ssl.cpp:365:66: warning: 'int gnutls_certificate_type_set_priority(gnutls_session_t, const int*)' is deprecated (declared at /usr/include/gnutls/compat.h:306) [-Wdeprecated-declarations]
ssl.cpp:367:42: warning: 'gnutls_transport_ptr' is deprecated (declared at /usr/include/gnutls/compat.h:113) [-Wdeprecated-declarations]
ssl.cpp:367:63: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
make[2]: *** [ssl.lo] Error 1
make[2]: Leaving directory `/tmp/portage/dev-cpp/commoncpp2-1.8.0/work/commoncpp2-1.8.0/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/portage/dev-cpp/commoncpp2-1.8.0/work/commoncpp2-1.8.0'
make: *** [all] Error 2
emake failed
 * ERROR: dev-cpp/commoncpp2-1.8.0::gentoo failed (compile phase):
 *   emake failed
 *
 * Call stack:
 *     ebuild.sh, line  93:  Called src_compile
 *   environment, line 2742:  Called die
 * The specific snippet of code:
 *       emake -j1 || die "emake failed"
 *
 * If you need support, post the output of `emerge --info '=dev-cpp/commoncpp2-1.8.0::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=dev-cpp/commoncpp2-1.8.0::gentoo'`.
 * The complete build log is located at '/log/portage/dev-cpp:commoncpp2-1.8.0:20140607-133145.log'.
 * For convenience, a symlink to the build log is located at '/tmp/portage/dev-cpp/commoncpp2-1.8.0/temp/build.log'.
 * The ebuild environment file is located at '/tmp/portage/dev-cpp/commoncpp2-1.8.0/temp/environment'.
 * Working directory: '/tmp/portage/dev-cpp/commoncpp2-1.8.0/work/commoncpp2-1.8.0'
 * S: '/tmp/portage/dev-cpp/commoncpp2-1.8.0/work/commoncpp2-1.8.0'

>>> Failed to emerge dev-cpp/commoncpp2-1.8.0, Log file:

>>>  '/log/portage/dev-cpp:commoncpp2-1.8.0:20140607-133145.log'
server01 ~ #
Comment 1 3PO 2014-06-07 17:08:37 UTC
Created attachment 378434 [details]
full build log
Comment 2 Joerg Neikes 2014-08-13 14:03:08 UTC
By the way, if gnutls is disabled the commoncpp2 builds.

echo "dev-cpp/commoncpp2 -gnutls" >> /etc/portage/package.use
Comment 3 Martin Gysel (bearsh) 2014-09-09 13:17:28 UTC
dev-cpp/commoncpp2-1.8.1-r1 also fails in the same way
Comment 4 Jeroen Roovers (RETIRED) gentoo-dev 2014-10-10 06:59:27 UTC
*** Bug 524908 has been marked as a duplicate of this bug. ***
Comment 5 Sergey Popov gentoo-dev 2015-04-06 11:14:38 UTC
1.8.1 builds fine
Comment 6 Petr Pisar 2015-09-08 18:04:33 UTC
I'm sorry it does not works for me. Having these to packages installed:

# qlist -IUv dev-cpp/commoncpp2 dev-libs/libgcrypt
dev-cpp/commoncpp2-1.8.1-r1 (gnutls ipv6 ssl)
dev-libs/libgcrypt-1.6.3-r4 (abi_x86_64 threads)

I cannot rebuild the =dev-cpp/commoncpp2-1.8.1-r1 because it results to the above mentioned error message. Both ebuilds are stable on x86_64. I can reproduce it on another host too.
Comment 7 Petr Pisar 2015-09-08 18:26:25 UTC
The commoncpp2 code is:

    static struct gcry_thread_cbs _gcry_threads =
    {   
        GCRY_THREAD_OPTION_PTHREAD, NULL,
        _wrap_mutex_init, _wrap_mutex_destroy,
        _wrap_mutex_lock, _wrap_mutex_unlock
    };

libgcrypt-1.6.3 declaration is:

struct gcry_thread_cbs
{ 
  /* The OPTION field encodes the thread model and the version number
     of this structure.
       Bits  7 - 0  are used for the thread model
       Bits 15 - 8  are used for the version number.  */
  unsigned int option;
} _GCRY_ATTR_INTERNAL;

Thus the error.

My last commoncpp2 build was against =dev-libs/libgcrypt-1.5.4-r1. The declaration there is:

/* Wrapper for struct ath_ops.  */
struct gcry_thread_cbs
{
  /* The OPTION field encodes the thread model and the version number
     of this structure.
       Bits  7 - 0  are used for the thread model
       Bits 15 - 8  are used for the version number.
  */
  unsigned int option;

  int (*init) (void);
  int (*mutex_init) (void **priv);
  int (*mutex_destroy) (void **priv);
  int (*mutex_lock) (void **priv);
  int (*mutex_unlock) (void **priv);
  [...]
};

Clearly dev-libs/libgcrypt changed API. I think =dev-libs/libgrypt-1.6.3-r4 has wrong slot definition:

$ eshowkw libgcrypt
Keywords for dev-libs/libgcrypt:
              |                                 | u       |  
              | a a   a         n   p r     s   | n       |  
              | l m   r h i m m i   p i s   p   | u s     | r
              | p d a m p a 6 i o p c s 3   a x | s l     | e
              | h 6 r 6 p 6 8 p s p 6 c 9 s r 8 | e o     | p
              | a 4 m 4 a 4 k s 2 c 4 v 0 h c 6 | d t     | o
--------------+---------------------------------+---------+-------
   1.5.4-r1   | + + + + + + + ~ o + + o + + + + | o 0/11  | gentoo
--------------+---------------------------------+---------+-------
   1.5.4-r100 | ~ ~ ~ ~ ~ ~ ~ ~ o ~ ~ o ~ ~ ~ ~ | o 11/11 | gentoo
--------------+---------------------------------+---------+-------
[I]1.6.3-r4   | ~ + + ~ + ~ ~ ~ o + + o ~ ~ ~ + | o 0/20  | gentoo
   1.6.3-r5   | ~ ~ ~ ~ ~ ~ ~ ~ o ~ ~ o ~ ~ ~ ~ | #       | gentoo
   1.6.4      | ~ ~ ~ ~ ~ ~ ~ ~ o ~ ~ o ~ ~ ~ ~ | o       | gentoo

This bug demonstrates 1.5.4-r1 and 1.6.3-r4 have different API, yet the main slot is the same (0).
Comment 8 Gerry Gauthier 2015-11-23 20:55:21 UTC
emerge --info
Portage 2.2.20.1 (python 2.7.10-final-0, default/linux/amd64/13.0/desktop, gcc-4.9.3, glibc-2.21-r1, 4.0.5-gentoo x86_64)
=================================================================
System uname: Linux-4.0.5-gentoo-x86_64-AMD_FX-tm-6300_Six-Core_Processor-with-gentoo-2.2
KiB Mem:     8069152 total,   1624684 free
KiB Swap:    2097148 total,   1794236 free
Timestamp of repository gentoo: Mon, 23 Nov 2015 15:30:01 +0000
sh bash 4.3_p39
ld GNU ld (Gentoo 2.25.1 p1.1) 2.25.1
app-shells/bash:          4.3_p39::gentoo
dev-java/java-config:     2.2.0::gentoo
dev-lang/perl:            5.20.2::gentoo
dev-lang/python:          2.7.10-r1::gentoo, 3.3.5-r1::gentoo, 3.4.3::gentoo
dev-util/cmake:           3.3.1-r1::gentoo
dev-util/pkgconfig:       0.28-r2::gentoo
sys-apps/baselayout:      2.2::gentoo
sys-apps/openrc:          0.17::gentoo
sys-apps/sandbox:         2.6-r1::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69::gentoo
sys-devel/automake:       1.10.3-r1::gentoo, 1.11.6-r1::gentoo, 1.13.4::gentoo, 1.14.1::gentoo, 1.15::gentoo
sys-devel/binutils:       2.25.1-r1::gentoo
sys-devel/gcc:            4.9.3::gentoo
sys-devel/gcc-config:     1.7.3::gentoo
sys-devel/libtool:        2.4.6::gentoo
sys-devel/make:           4.1-r1::gentoo
sys-kernel/linux-headers: 3.18::gentoo (virtual/os-headers)
sys-libs/glibc:           2.21-r1::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000

brother-overlay
    location: /usr/local/overlay/brother-overlay
    sync-type: git
    sync-uri: git://github.com/stefan-langenmaier/brother-overlay.git
    masters: gentoo

local_overlay
    location: /usr/local/portage
    masters: gentoo
    priority: 0

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=x86-64 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /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="-O2 -march=x86-64 -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--with-bdeps y"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org/"
LANG="fr_CA.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j7 -l7"
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"
USE="X a52 aac aalib accessibility acl acpi aiglx aim alsa amd64 artswrappersuid artworkextra audiofile avahi avi bash-completion berkdb bidi bluetooth bzip2 cairo cdda cddb cdr cjk cli consolekit cpudetection cracklib crypt css cups cxx dbus device-mapper dga djvu dri dts dv dvb dvd dvdr dvdread dvi dxr3 emacs emboss encode exif extensions extras fam fame fat ffmpeg firefox flac foomatic-db fortran freetype fuse galago gcj gdbm gdu gif gimpprint git glamor gmp gmplayer gphoto2 gpm gsm gstreamer gtk gtk3 hal hfs iconv icq ieee1394 imagemagick imap inotify introspection iphone iplayer ipv6 irc irda jabber jack java jfs joystick jpeg jpeg2k kdeenablefinal kdehiddenvisibility kdrive kerberos lame lcd lcms ldap libnotify libv4l libv4l2 live lm_sensors lzo mad mail matroska mdnsresponder-compat midi mjpeg mmx mmxext mng modplug modules mozdevelop mp3 mp3rtp mp4 mpeg msn multilib musepack musicbrainz mysql mythtv ncurses network networkmanager nls nptl nsplugin ntfs ogg openal openexr opengl openmp pam pango pcmcia pcre pda pdf png podcast policykit ppds profile pulseaudio qt3support qt4 quicktime radio rar raw rdesktop readline real reiserfs rss samba scanner sdl seccomp sensord session sip skins slp speex spell sqlite sse sse2 ssl ssse3 startup-notification stream subversion svg sysfs tcpd theora tiff truetype udev udisks unicode upower usb userlocales v4l v4l2 vdpau vdr visualization vorbis wav wifi win32codecs wma-fixed wmf wxwidgets x264 xattr xcb xfs xine xinerama xml xpm xprint xrandr xulrunner xv xvid xvmc yahoo youtube zeroconf zlib" ABI_X86="64" ALSA_CARDS="emu10k1x emu10k1 usbusx2y usb-usx2y hdsp ice1712" 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="agfa_cl20 casio_qv dimagev dimera3500 kodak_dc120 kodak_dc210 kodak_dc240 kodak_dc3200 kodak_ez200 konica_qm150 panasonic_coolshot panasonic_dc1000 panasonic_dc1580 panasonic_l859 polaroid_pdc320 polaroid_pdc640 polaroid_pdc700 ricoh_g3 sipix_blink sipix_blink2 sipix_web2 sony_dscf1 sony_dscf55 toshiba_pdrm11 adc65 aox barbie canon clicksmart310 digigr8 digita directory enigma13 fuji gsmart300 hp215 iclick jamcam jd11 konica largan lg_gsm mars mustek pccam300 pccam600 ptp2 ricoh samsung sierra smal sonix soundvision spca50x sq905 stv0674 stv0680 sx330z template" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2" 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="evdev keyboard mouse synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="fr" NETBEANS_MODULES="*" NGINX_MODULES_MAIL="imap pop3 smtp" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_4" QEMU_SOFTMMU_TARGETS="alpha arm i386 mips mips64 mips64el mipsel ppc ppc64 s390x sh4 sh4eb sparc sparc64 x86_64" QEMU_USER_TARGETS="alpha arm armeb i386 mips mipsel ppc ppc64 ppc64abi32 s390x sh4 sh4eb sparc sparc32plus sparc64" RUBY_TARGETS="ruby20" USERLAND="GNU" VIDEO_CARDS="vesa nvidia v4l v4l2" 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:  CC, CPPFLAGS, CTARGET, CXX, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Comment 9 Gerry Gauthier 2015-11-23 21:03:04 UTC
(In reply to Gerry Gauthier from comment #8)

I just want to know if the bug is fix because I don't find the solution to compile dev-cpp/commoncpp2-1.8.1-r1 with the USE= gnutls ,ssl 
together .

> emerge --info
> Portage 2.2.20.1 (python 2.7.10-final-0, default/linux/amd64/13.0/desktop,
> gcc-4.9.3, glibc-2.21-r1, 4.0.5-gentoo x86_64)
> =================================================================
> System uname:
> Linux-4.0.5-gentoo-x86_64-AMD_FX-tm-6300_Six-Core_Processor-with-gentoo-2.2
> KiB Mem:     8069152 total,   1624684 free
> KiB Swap:    2097148 total,   1794236 free
> Timestamp of repository gentoo: Mon, 23 Nov 2015 15:30:01 +0000
> sh bash 4.3_p39
> ld GNU ld (Gentoo 2.25.1 p1.1) 2.25.1
> app-shells/bash:          4.3_p39::gentoo
> dev-java/java-config:     2.2.0::gentoo
> dev-lang/perl:            5.20.2::gentoo
> dev-lang/python:          2.7.10-r1::gentoo, 3.3.5-r1::gentoo, 3.4.3::gentoo
> dev-util/cmake:           3.3.1-r1::gentoo
> dev-util/pkgconfig:       0.28-r2::gentoo
> sys-apps/baselayout:      2.2::gentoo
> sys-apps/openrc:          0.17::gentoo
> sys-apps/sandbox:         2.6-r1::gentoo
> sys-devel/autoconf:       2.13::gentoo, 2.69::gentoo
> sys-devel/automake:       1.10.3-r1::gentoo, 1.11.6-r1::gentoo,
> 1.13.4::gentoo, 1.14.1::gentoo, 1.15::gentoo
> sys-devel/binutils:       2.25.1-r1::gentoo
> sys-devel/gcc:            4.9.3::gentoo
> sys-devel/gcc-config:     1.7.3::gentoo
> sys-devel/libtool:        2.4.6::gentoo
> sys-devel/make:           4.1-r1::gentoo
> sys-kernel/linux-headers: 3.18::gentoo (virtual/os-headers)
> sys-libs/glibc:           2.21-r1::gentoo
> Repositories:
> 
> gentoo
>     location: /usr/portage
>     sync-type: rsync
>     sync-uri: rsync://rsync.gentoo.org/gentoo-portage
>     priority: -1000
> 
> brother-overlay
>     location: /usr/local/overlay/brother-overlay
>     sync-type: git
>     sync-uri: git://github.com/stefan-langenmaier/brother-overlay.git
>     masters: gentoo
> 
> local_overlay
>     location: /usr/local/portage
>     masters: gentoo
>     priority: 0
> 
> ACCEPT_KEYWORDS="amd64"
> ACCEPT_LICENSE="*"
> CBUILD="x86_64-pc-linux-gnu"
> CFLAGS="-O2 -march=x86-64 -pipe"
> CHOST="x86_64-pc-linux-gnu"
> CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt"
> CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d
> /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /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="-O2 -march=x86-64 -pipe"
> DISTDIR="/usr/portage/distfiles"
> EMERGE_DEFAULT_OPTS="--with-bdeps y"
> FCFLAGS="-O2 -pipe"
> FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks
> ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs
> protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs
> unmerge-orphans userfetch userpriv usersandbox usersync xattr"
> FFLAGS="-O2 -pipe"
> GENTOO_MIRRORS="http://distfiles.gentoo.org/"
> LANG="fr_CA.UTF-8"
> LDFLAGS="-Wl,-O1 -Wl,--as-needed"
> MAKEOPTS="-j7 -l7"
> 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"
> USE="X a52 aac aalib accessibility acl acpi aiglx aim alsa amd64
> artswrappersuid artworkextra audiofile avahi avi bash-completion berkdb bidi
> bluetooth bzip2 cairo cdda cddb cdr cjk cli consolekit cpudetection cracklib
> crypt css cups cxx dbus device-mapper dga djvu dri dts dv dvb dvd dvdr
> dvdread dvi dxr3 emacs emboss encode exif extensions extras fam fame fat
> ffmpeg firefox flac foomatic-db fortran freetype fuse galago gcj gdbm gdu
> gif gimpprint git glamor gmp gmplayer gphoto2 gpm gsm gstreamer gtk gtk3 hal
> hfs iconv icq ieee1394 imagemagick imap inotify introspection iphone iplayer
> ipv6 irc irda jabber jack java jfs joystick jpeg jpeg2k kdeenablefinal
> kdehiddenvisibility kdrive kerberos lame lcd lcms ldap libnotify libv4l
> libv4l2 live lm_sensors lzo mad mail matroska mdnsresponder-compat midi
> mjpeg mmx mmxext mng modplug modules mozdevelop mp3 mp3rtp mp4 mpeg msn
> multilib musepack musicbrainz mysql mythtv ncurses network networkmanager
> nls nptl nsplugin ntfs ogg openal openexr opengl openmp pam pango pcmcia
> pcre pda pdf png podcast policykit ppds profile pulseaudio qt3support qt4
> quicktime radio rar raw rdesktop readline real reiserfs rss samba scanner
> sdl seccomp sensord session sip skins slp speex spell sqlite sse sse2 ssl
> ssse3 startup-notification stream subversion svg sysfs tcpd theora tiff
> truetype udev udisks unicode upower usb userlocales v4l v4l2 vdpau vdr
> visualization vorbis wav wifi win32codecs wma-fixed wmf wxwidgets x264 xattr
> xcb xfs xine xinerama xml xpm xprint xrandr xulrunner xv xvid xvmc yahoo
> youtube zeroconf zlib" ABI_X86="64" ALSA_CARDS="emu10k1x emu10k1 usbusx2y
> usb-usx2y hdsp ice1712" 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="agfa_cl20 casio_qv dimagev dimera3500 kodak_dc120
> kodak_dc210 kodak_dc240 kodak_dc3200 kodak_ez200 konica_qm150
> panasonic_coolshot panasonic_dc1000 panasonic_dc1580 panasonic_l859
> polaroid_pdc320 polaroid_pdc640 polaroid_pdc700 ricoh_g3 sipix_blink
> sipix_blink2 sipix_web2 sony_dscf1 sony_dscf55 toshiba_pdrm11 adc65 aox
> barbie canon clicksmart310 digigr8 digita directory enigma13 fuji gsmart300
> hp215 iclick jamcam jd11 konica largan lg_gsm mars mustek pccam300 pccam600
> ptp2 ricoh samsung sierra smal sonix soundvision spca50x sq905 stv0674
> stv0680 sx330z template" COLLECTD_PLUGINS="df interface irq load memory
> rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2" 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="evdev keyboard mouse synaptics" KERNEL="linux"
> LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb
> ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer"
> LINGUAS="fr" NETBEANS_MODULES="*" NGINX_MODULES_MAIL="imap pop3 smtp"
> OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5"
> PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_4"
> QEMU_SOFTMMU_TARGETS="alpha arm i386 mips mips64 mips64el mipsel ppc ppc64
> s390x sh4 sh4eb sparc sparc64 x86_64" QEMU_USER_TARGETS="alpha arm armeb
> i386 mips mipsel ppc ppc64 ppc64abi32 s390x sh4 sh4eb sparc sparc32plus
> sparc64" RUBY_TARGETS="ruby20" USERLAND="GNU" VIDEO_CARDS="vesa nvidia v4l
> v4l2" 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:  CC, CPPFLAGS, CTARGET, CXX, INSTALL_MASK, LC_ALL,
> PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS,
> PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Comment 10 Sergey Popov gentoo-dev 2015-11-25 12:38:00 UTC
You are right, 1.8.1 is broken with new libgcrypt
Comment 11 Sergey Popov gentoo-dev 2015-11-25 12:53:30 UTC
commit b440a90eeeecca2d53d4a7c4f115d9a59117cd7e
Author: Sergey Popov <pinkbyte@gentoo.org>
Date:   Wed Nov 25 15:50:29 2015 +0300

    dev-cpp/commoncpp2: fix building with libgcrypt 1.6 and higher

    Reported-by: 3PO <r2d2@freakmail.de>
    Gentoo-Bug: 512670

    Package-Manager: portage-2.2.23


Please test and report if any issue is still in place