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

Bug 259571

Summary: dev-libs/openct-0.6.14 - socket.c:298: error: storage size of 'creds' isn't known
Product: Gentoo Linux Reporter: Halil Esen <halil.esen>
Component: New packagesAssignee: Crypto team [DISABLED] <crypto+disabled>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Halil Esen 2009-02-19 08:43:37 UTC
When I emerged dev-libs/openct-0.6.14 packages, it gives errors.

It was succesfully emerged different machine On "Jun 2008". On this machine I try emerged, it gives error. So I install gentoo on new HardDisk, and then I emerged, No changed, same error.


Reproducible: Always

Steps to Reproduce:
1. emerge openct 
2.
3.

Actual Results:  
socket.c: In function 'ct_socket_getcreds':
socket.c:298: error: storage size of 'creds' isn't known
socket.c:298: warning: unused variable 'creds'
make[3]: *** [socket.lo] Error 1
make[3]: *** Waiting for unfinished jobs....
 x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/include -I../../src/include -Wall -O2 -pipe -MT status.lo -MD -MP -MF .deps/status.Tpo -c status.c -o status.o >/dev/null 2>&1
make[3]: Leaving directory `/var/tmp/portage/dev-libs/openct-0.6.14/work/openct-0.6.14/src/ct'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/dev-libs/openct-0.6.14/work/openct-0.6.14/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/dev-libs/openct-0.6.14/work/openct-0.6.14'
make: *** [all] Error 2
 ^[[31;01m*^[[0m
 ^[[31;01m*^[[0m ERROR: dev-libs/openct-0.6.14 failed.
 ^[[31;01m*^[[0m Call stack:
 ^[[31;01m*^[[0m               ebuild.sh, line   49:  Called src_compile
 ^[[31;01m*^[[0m             environment, line 2173:  Called die
 ^[[31;01m*^[[0m The specific snippet of code:
 ^[[31;01m*^[[0m       emake || die
 ^[[31;01m*^[[0m  The die message:
 ^[[31;01m*^[[0m   (no error message)
 ^[[31;01m*^[[0m
 ^[[31;01m*^[[0m If you need support, post the topmost build error, and the call stack if relevant.
 ^[[31;01m*^[[0m A complete build log is located at '/var/tmp/portage/dev-libs/openct-0.6.14/temp/build.log'.
 ^[[31;01m*^[[0m The ebuild environment file is located at '/var/tmp/portage/dev-libs/openct-0.6.14/temp/environment'.
 ^[[31;01m*^[[0m



Portage 2.1.6.4 (default/linux/amd64/2008.0, gcc-4.1.2, glibc-2.8_p20080602-r1, 2.6.27-gentoo-r8 x86_64)
=================================================================
System uname: Linux-2.6.27-gentoo-r8-x86_64-Intel-R-_Pentium-R-_4_CPU_3.00GHz-with-glibc2.2.5
Timestamp of tree: Thu, 19 Feb 2009 05:35:01 +0000
app-shells/bash:     3.2_p39
dev-java/java-config: 2.1.6-r1
dev-lang/python:     2.5.2-r7
dev-util/cmake:      2.4.8
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.63
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.opg/"
LDFLAGS="-Wl,-O1"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.opg/gentoo-portage/"
USE="X a52 aac acl acpi alsa amd64 applet avahi bash-completion berkdb bzip2 cairo cdr cli cracklib crypt cscope ctags ctype cups dbus djvu dri dts dv dvd dvdr dvdread emacs encode epiphany exif fame ffmpeg flac fontconfig fortran fuse gdbm gedit gif glitz gnome gnome-keyring gpm graphviz gstreamer gtk hal iconv imagemagick java javascript jbig jpeg jpeg2k kerberos ldap libnotify logrotate lzma lzo mad matroska midi mjpeg mmx mng mp3 mpeg mplayer mudflap multilib nautilus ncurses nls nptl nptlonly nsplugin ogg openct opengl openmp pam pcre perl php png ppds python quicktime readline recode reflection sasl sdl session slang spl sse sse2 ssl subtitles svg symlink sysfs tcl tcpd theora tiff tk totem truetype unicode usb v4l2 vcd vim-syntax vorbis win32codes wmf xine xml xml2 xorg xosd xprint xv xvid zlib" 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" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="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 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" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="ati r128 radeon mach64 vesa vga vmware"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 1 Rafał Mużyło 2009-02-19 13:58:49 UTC
I'd say, it looks like _GNU_SOURCE related error.
See, if adding 'append-flags -D_GNU_SOURCE' (with correct inherit, if needed)
in the ebuild helps.
Comment 2 Rafał Mużyło 2009-02-19 14:01:23 UTC
I should have checked the ebuild first.
openct-0.6.14-r1 already has that fix,
so this will probably be a stable request.
Comment 3 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2009-03-22 19:13:04 UTC

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