Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 235470 - net-misc/wso2-wsf-c-1.2.0 - uuid_gen_unix.c:218: error: storage size of 'ifr' isn't known
Summary: net-misc/wso2-wsf-c-1.2.0 - uuid_gen_unix.c:218: error: storage size of 'ifr'...
Status: RESOLVED DUPLICATE of bug 241008
Alias: None
Product: Gentoo Infrastructure
Classification: Unclassified
Component: Bugzilla (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Caleb Tennis (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-08-22 18:31 UTC by ack
Modified: 2011-10-30 23:16 UTC (History)
1 user (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 ack 2008-08-22 18:31:24 UTC
emerge fails with this error
 i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../../include -I../../../include/platforms -I../../../include/platforms/unix -O2 -pipe -D_LARGEFILE64_SOURCE -ansi -Wall -Wno-implicit-function-declaration -MT uuid_gen_unix.lo -MD -MP -MF .deps/uuid_gen_unix.Tpo -c uuid_gen_unix.c  -fPIC -DPIC -o .libs/uuid_gen_unix.o
 i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../../include -I../../../include/platforms -I../../../include/platforms/unix -O2 -pipe -D_LARGEFILE64_SOURCE -ansi -Wall -Wno-implicit-function-declaration -MT date_time_util_unix.lo -MD -MP -MF .deps/date_time_util_unix.Tpo -c date_time_util_unix.c  -fPIC -DPIC -o .libs/date_time_util_unix.o
 i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../../include -I../../../include/platforms -I../../../include/platforms/unix -O2 -pipe -D_LARGEFILE64_SOURCE -ansi -Wall -Wno-implicit-function-declaration -MT thread_unix.lo -MD -MP -MF .deps/thread_unix.Tpo -c thread_unix.c  -fPIC -DPIC -o .libs/thread_unix.o
 i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../../include -I../../../include/platforms -I../../../include/platforms/unix -O2 -pipe -D_LARGEFILE64_SOURCE -ansi -Wall -Wno-implicit-function-declaration -MT date_time_util_unix.lo -MD -MP -MF .deps/date_time_util_unix.Tpo -c date_time_util_unix.c -o date_time_util_unix.o >/dev/null 2>&1
uuid_gen_unix.c: In function 'axutil_uuid_get_mac_addr':
uuid_gen_unix.c:218: error: storage size of 'ifr' isn't known
uuid_gen_unix.c:220: error: storage size of 'ifc' isn't known
uuid_gen_unix.c:236: error: invalid application of 'sizeof' to incomplete type 'struct ifreq'
uuid_gen_unix.c:236: error: increment of pointer to unknown structure
uuid_gen_unix.c:236: error: arithmetic on pointer to an incomplete type
uuid_gen_unix.c:238: error: dereferencing pointer to incomplete type
uuid_gen_unix.c:242: error: 'IFF_LOOPBACK' undeclared (first use in this function)
uuid_gen_unix.c:242: error: (Each undeclared identifier is reported only once
uuid_gen_unix.c:242: error: for each function it appears in.)
uuid_gen_unix.c:220: warning: unused variable 'ifc'
uuid_gen_unix.c:218: warning: unused variable 'ifr'
make[7]: *** [uuid_gen_unix.lo] Error 1
make[7]: *** Waiting for unfinished jobs....
 i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../../include -I../../../include/platforms -I../../../include/platforms/unix -O2 -pipe -D_LARGEFILE64_SOURCE -ansi -Wall -Wno-implicit-function-declaration -MT thread_unix.lo -MD -MP -MF .deps/thread_unix.Tpo -c thread_unix.c -o thread_unix.o >/dev/null 2>&1
make[7]: Leaving directory `/var/tmp/portage/net-misc/wso2-wsf-c-1.2.0/work/wso2-wsf-c-src-1.2.0/axis2c/util/src/platforms/unix'
make[6]: *** [all-recursive] Error 1
make[6]: Leaving directory `/var/tmp/portage/net-misc/wso2-wsf-c-1.2.0/work/wso2-wsf-c-src-1.2.0/axis2c/util/src'
make[5]: *** [all-recursive] Error 1
make[5]: Leaving directory `/var/tmp/portage/net-misc/wso2-wsf-c-1.2.0/work/wso2-wsf-c-src-1.2.0/axis2c/util'
make[4]: *** [all] Error 2
make[4]: Leaving directory `/var/tmp/portage/net-misc/wso2-wsf-c-1.2.0/work/wso2-wsf-c-src-1.2.0/axis2c/util'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/var/tmp/portage/net-misc/wso2-wsf-c-1.2.0/work/wso2-wsf-c-src-1.2.0/axis2c'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/var/tmp/portage/net-misc/wso2-wsf-c-1.2.0/work/wso2-wsf-c-src-1.2.0/axis2c'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/net-misc/wso2-wsf-c-1.2.0/work/wso2-wsf-c-src-1.2.0'
make: *** [all] Error 2


Reproducible: Always
Comment 1 ack 2008-08-22 18:38:33 UTC
Portage 2.1.4.4 (default-linux/x86/2007.0, gcc-4.1.2, glibc-2.6.1-r0, 2.6.19-gentoo-r5 i686)
=================================================================
System uname: 2.6.19-gentoo-r5 i686 Intel(R) Xeon(R) CPU 5130 @ 2.00GHz
Timestamp of tree: Fri, 22 Aug 2008 07:00:01 +0000
app-shells/bash:     3.2_p33
dev-lang/python:     2.5.2-r6
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.61-r2
sys-devel/automake:  1.4_p6, 1.5, 1.8.5-r3, 1.10.1
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.17-r2, 2.6.23-r3
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/env.d /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 getbinpkg metadata-transfer sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://mirror.iawnet.sandia.gov/pub/gentoo/"
MAKEOPTS="-j3"
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://hulk.tss/gentoo-portage"
USE="acl berkdb cli cracklib crypt cups dri fortran gdbm gpm iconv isdnlog midi mudflap ncurses nls nptl nptlonly openmp pam pcre perl pppd python readline reflection session spl ssl tcpd unicode x86 xorg zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 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="access actions alias asis auth auth_basic auth_anon auth_digest authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache case_filter case-filter-in cgi cgid cern-meta charset-lite dav dav-fs deflate dir disk-cache echo env expires ext-filter file-cache filter headers imap include info log_config logio mem-cache mime mime-magic negotiation proxy proxy-connect proxy-ftp proxy-http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" APACHE2_MPMS="prefork" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="apm ark chips cirrus cyrix dummy fbdev glint i128 i740 i810 imstt mach64 mga neomagic nsc nv r128 radeon rendition s3 s3virge savage siliconmotion sis sisusb tdfx tga trident tseng v4l vesa vga via vmware voodoo"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY

Comment 2 ack 2008-08-22 18:44:59 UTC
I downgraded to linux-headers-2.6.17-r2 and attempted to emerge again, compiled further but still died with

...

 /usr/bin/install -c -m 644 './include/axis2_transport_out_desc.h' '/var/tmp/portage/net-misc/wso2-wsf-c-1.2.0/image//usr/include/axis2-1.2/axis2_transport_out_desc.h'
 /usr/bin/install -c -m 644 './include/axis2_transport_receiver.h' '/var/tmp/portage/net-misc/wso2-wsf-c-1.2.0/image//usr/include/axis2-1.2/axis2_transport_receiver.h'
 /usr/bin/install -c -m 644 './include/axis2_transport_sender.h' '/var/tmp/portage/net-misc/wso2-wsf-c-1.2.0/image//usr/include/axis2-1.2/axis2_transport_sender.h'
 /usr/bin/install -c -m 644 './include/axis2_util.h' '/var/tmp/portage/net-misc/wso2-wsf-c-1.2.0/image//usr/include/axis2-1.2/axis2_util.h'
make  install-data-hook
make[4]: Entering directory `/var/tmp/portage/net-misc/wso2-wsf-c-1.2.0/work/wso2-wsf-c-src-1.2.0/axis2c'
cp -rf samples/* /usr/samples/axis2c
cp: target `/usr/samples/axis2c' is not a directory
make[4]: *** [install-data-hook] Error 1
make[4]: Leaving directory `/var/tmp/portage/net-misc/wso2-wsf-c-1.2.0/work/wso2-wsf-c-src-1.2.0/axis2c'
make[3]: *** [install-data-am] Error 2
make[3]: Leaving directory `/var/tmp/portage/net-misc/wso2-wsf-c-1.2.0/work/wso2-wsf-c-src-1.2.0/axis2c'
make[2]: *** [install-am] Error 2
make[2]: Leaving directory `/var/tmp/portage/net-misc/wso2-wsf-c-1.2.0/work/wso2-wsf-c-src-1.2.0/axis2c'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/net-misc/wso2-wsf-c-1.2.0/work/wso2-wsf-c-src-1.2.0/axis2c'
make: *** [install-recursive] Error 1
 *
 * ERROR: net-misc/wso2-wsf-c-1.2.0 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_install
 *             environment, line 2021:  Called die
 * The specific snippet of code:
 *       emake DESTDIR="${D}" install || die "emake install failed"
 *  The die message:
 *   emake install failed
Comment 3 Jeroen Roovers (RETIRED) gentoo-dev 2008-08-22 18:56:59 UTC
Reminds me of bug #233848.
Comment 4 ack 2008-08-25 15:19:38 UTC
update, looks like the problem is with install-data-hook in the Makefile.  I commented out the cp -rf statement in the source package and compiled by hand which works.  Here's the emerge errror

make  install-data-hook
make[4]: Entering directory `/var/tmp/portage/net-misc/wso2-wsf-c-1.2.0/work/wso2-wsf-c-src-1.2.0/axis2c'
cp -rf samples/* /usr/samples/axis2c
ACCESS DENIED  open_wr:   /usr/samples/axis2c/AUTHORS
cp: cannot create regular file `/usr/samples/axis2c/AUTHORS': Permission denied
ACCESS DENIED  open_wr:   /usr/samples/axis2c/COPYING
cp: cannot create regular file `/usr/samples/axis2c/COPYING': Permission denied
ACCESS DENIED  open_wr:   /usr/samples/axis2c/ChangeLog
cp: cannot create regular file `/usr/samples/axis2c/ChangeLog': Permission denied
ACCESS DENIED  open_wr:   /usr/samples/axis2c/INSTALL
cp: cannot create regular file `/usr/samples/axis2c/INSTALL': Permission denied
ACCESS DENIED  open_wr:   /usr/samples/axis2c/Makefile.am
cp: cannot create regular file `/usr/samples/axis2c/Makefile.am': Permission denied
ACCESS DENIED  open_wr:   /usr/samples/axis2c/Makefile.in
cp: cannot create regular file `/usr/samples/axis2c/Makefile.in': Permission denied
ACCESS DENIED  open_wr:   /usr/samples/axis2c/NEWS
cp: cannot create regular file `/usr/samples/axis2c/NEWS': Permission denied
ACCESS DENIED  open_wr:   /usr/samples/axis2c/README
cp: cannot create regular file `/usr/samples/axis2c/README': Permission denied
ACCESS DENIED  open_wr:   /usr/samples/axis2c/aclocal.m4
cp: cannot create regular file `/usr/samples/axis2c/aclocal.m4': Permission denied
ACCESS DENIED  open_wr:   /usr/samples/axis2c/autogen.sh
cp: cannot create regular file `/usr/samples/axis2c/autogen.sh': Permission denied
ACCESS DENIED  open_wr:   /usr/samples/axis2c/build.sh
cp: cannot create regular file `/usr/samples/axis2c/build.sh': Permission denied
ACCESS DENIED  mkdir:     /usr/samples/axis2c/client
cp: cannot create directory `/usr/samples/axis2c/client': Permission denied
ACCESS DENIED  mkdir:     /usr/samples/axis2c/codegen
cp: cannot create directory `/usr/samples/axis2c/codegen': Permission denied
ACCESS DENIED  open_wr:   /usr/samples/axis2c/config.h.in
cp: cannot create regular file `/usr/samples/axis2c/config.h.in': Permission denied
ACCESS DENIED  open_wr:   /usr/samples/axis2c/configure
cp: cannot create regular file `/usr/samples/axis2c/configure': Permission denied
ACCESS DENIED  open_wr:   /usr/samples/axis2c/configure.ac
cp: cannot create regular file `/usr/samples/axis2c/configure.ac': Permission denied
ACCESS DENIED  mkdir:     /usr/samples/axis2c/server
cp: cannot create directory `/usr/samples/axis2c/server': Permission denied
ACCESS DENIED  mkdir:     /usr/samples/axis2c/user_guide
cp: cannot create directory `/usr/samples/axis2c/user_guide': Permission denied
make[4]: *** [install-data-hook] Error 1
make[4]: Leaving directory `/var/tmp/portage/net-misc/wso2-wsf-c-1.2.0/work/wso2-wsf-c-src-1.2.0/axis2c'
make[3]: *** [install-data-am] Error 2
make[3]: Leaving directory `/var/tmp/portage/net-misc/wso2-wsf-c-1.2.0/work/wso2-wsf-c-src-1.2.0/axis2c'
make[2]: *** [install-am] Error 2
make[2]: Leaving directory `/var/tmp/portage/net-misc/wso2-wsf-c-1.2.0/work/wso2-wsf-c-src-1.2.0/axis2c'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/net-misc/wso2-wsf-c-1.2.0/work/wso2-wsf-c-src-1.2.0/axis2c'
make: *** [install-recursive] Error 1
 *
 * ERROR: net-misc/wso2-wsf-c-1.2.0 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_install
 *             environment, line 2017:  Called die
 * The specific snippet of code:
 *       emake DESTDIR="${D}" install || die "emake install failed"
 *  The die message:
 *   emake install failed
 *
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/net-misc/wso2-wsf-c-1.2.0/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/net-misc/wso2-wsf-c-1.2.0/temp/environment'.
 *
--------------------------- ACCESS VIOLATION SUMMARY ---------------------------
LOG FILE = "/var/log/sandbox/sandbox-20975.log"

open_wr:   /usr/samples/axis2c/AUTHORS
open_wr:   /usr/samples/axis2c/COPYING
open_wr:   /usr/samples/axis2c/ChangeLog
open_wr:   /usr/samples/axis2c/INSTALL
open_wr:   /usr/samples/axis2c/Makefile.am
open_wr:   /usr/samples/axis2c/Makefile.in
open_wr:   /usr/samples/axis2c/NEWS
open_wr:   /usr/samples/axis2c/README
open_wr:   /usr/samples/axis2c/aclocal.m4
open_wr:   /usr/samples/axis2c/autogen.sh
open_wr:   /usr/samples/axis2c/build.sh
mkdir:     /usr/samples/axis2c/client
mkdir:     /usr/samples/axis2c/codegen
open_wr:   /usr/samples/axis2c/config.h.in
open_wr:   /usr/samples/axis2c/configure
open_wr:   /usr/samples/axis2c/configure.ac
mkdir:     /usr/samples/axis2c/server
mkdir:     /usr/samples/axis2c/user_guide
--------------------------------------------------------------------------------

 * Messages for package net-misc/wso2-wsf-c-1.2.0:

 *
 * ERROR: net-misc/wso2-wsf-c-1.2.0 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_install
 *             environment, line 2017:  Called die
 * The specific snippet of code:
 *       emake DESTDIR="${D}" install || die "emake install failed"
 *  The die message:
 *   emake install failed
 *
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/net-misc/wso2-wsf-c-1.2.0/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/net-misc/wso2-wsf-c-1.2.0/temp/environment'.
 *
Comment 5 ack 2008-08-25 15:23:57 UTC
I should note that it's the Makefile in the axis2s directory

(In reply to comment #4)
> update, looks like the problem is with install-data-hook in the Makefile.  I
> commented out the cp -rf statement in the source package and compiled by hand
> which works.  Here's the emerge errror
> 
Comment 6 Caleb Tennis (RETIRED) gentoo-dev 2008-09-20 16:40:49 UTC
do you have a patch that fixes the issue?  I'm happy to apply it.
Comment 7 Diego Elio Pettenò (RETIRED) gentoo-dev 2009-06-13 11:43:57 UTC

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