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

Bug 258572

Summary: net-misc/wso2-wsf-c-1.2.0 requires sys/sockio.h
Product: Gentoo Linux Reporter: Javi Ruiz <jruizmail>
Component: [OLD] DevelopmentAssignee: Caleb Tennis (RETIRED) <caleb>
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Package list:
Runtime testing required: ---

Description Javi Ruiz 2009-02-11 08:55:40 UTC

I can't emerge wso2-wsf-c-1.2.0 on my system. It fails just after the configure script complaining it can't find sys/sockio.h :

mkdir .libs
 x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../../include -I../../../include/platforms -I../../../include/platforms/unix -march=nocona -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
 x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../../include -I../../../include/platforms -I../../../include/platforms/unix -march=nocona -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
 x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../../include -I../../../include/platforms -I../../../include/platforms/unix -march=nocona -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
 x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../../include -I../../../include/platforms -I../../../include/platforms/unix -march=nocona -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
 x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../../include -I../../../include/platforms -I../../../include/platforms/unix -march=nocona -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
uuid_gen_unix.c:36:26: error: sys/sockio.h: No such file or directory
make[7]: *** [uuid_gen_unix.lo] Error 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
 * ERROR: net-misc/wso2-wsf-c-1.2.0 failed.
 * Call stack:
 *     , line   49:  Called src_compile
 *             environment, line 2157:  Called die
 * The specific snippet of code:
 *       emake || die "emake failed"
 *  The die message:
 *   emake failed

I searched but can't find any reference about sockio.h, I don't know what package provides this file...

TIA! regards,

Javi Ruiz

Reproducible: Always

Steps to Reproduce:
1. emerge wso2-wsf-c

Actual Results:  
fails to compile
Comment 1 Javi Ruiz 2009-02-11 08:58:05 UTC
My emerge --info (had to remove the CONFIG_MASK value, it's larger than the post limit, if it's needed please tell me and I can attach it as a file)

Portage (default/linux/amd64/2008.0, gcc-4.3.3, glibc-2.9_p20081201-r1, 2.6.28-gentoo-r1 x86_64)
System uname: Linux-2.6.28-gentoo-r1-x86_64-Intel-R-_Core-TM-2_Duo_CPU_E8200_@_2.66GHz-with-glibc2.2.5
Timestamp of tree: Wed, 11 Feb 2009 01:45:02 +0000
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p48-r1
dev-java/java-config: 1.3.7-r1, 2.1.7
dev-lang/python:     2.4.4-r13, 2.5.4-r2
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r8
dev-util/cmake:      2.6.2-r1
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.4.2
sys-apps/sandbox:    1.3.6
sys-devel/autoconf:  2.13, 2.63
sys-devel/automake:  1.4_p6, 1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.19.1
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.28-r1
ACCEPT_KEYWORDS="amd64 ~amd64"
CFLAGS="-march=nocona -O2 -pipe"
CXXFLAGS="-march=nocona -O2 -pipe"
FEATURES="ccache distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
LINGUAS="en es"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTDIR_OVERLAY="/usr/local/portage/layman/java-overlay /usr/local/portage/layman/jokey"
USE="X a52 aac aalib acl acpi aim alsa amd64 animgif apache2 apm automount avahi bash-completion berkdb bluetooth bzip2 cairo cdda cli cracklib crypt cups cvs cxx dbus divx divx4linux dri dvd examples exif fam fat fbcon festival ffmpeg firefox flac fluidsynth fortran freetds freetts ftp fuse gd gdbm gedit gif git gmedia gnome gnome-keyring gnome-print gnutls gphoto2 gpm gstreamer gtk hal hfs iconv id3 ieee1394 isdnlog ithreads jabber java java6 javascript jpeg jpeg2k kqemu lame libcaca libnotify libwww lzma mad mbrola midi mmx mng mono mp3 mpeg mplayer msn mudflap multilib mysql nano nano-syntax nautilus ncurses nls nptl nptlonly nsplugin ntfs obex odbc ogg opengl openmp pam pcre pda pdf perl php png pnp ppds pppd python qt4 quicktime quotas rar readline realmedia reflection reiserfs rss rtf samba sata sdl session smp sndfile soap sound speex spell spl sql sqlite sse sse2 ssh ssl ssse3 subversion svg svn sysfs syslog tcpd threads tiff truetype unicode usb userlocales vhosts vorbis wavpack wma wmp xcomposite xfs xine xml xorg xpm xulrunner 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="proxy proxy_http alias actions auth_basic authz_host authz_default                  autoindex cache dir disk_cache env expires ext_filter file_cache                  headers include info log_config mem_cache mime mime_magic negotiation                  rewrite speling status unique_id userdir vhost_alias filter" APACHE2_MPMS="worker" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en es" USERLAND="GNU" VIDEO_CARDS="intel vesa"
Comment 2 Javi Ruiz 2009-04-17 10:28:30 UTC
Some more info...

After a while I had to come back to evaluate wsf-c and I found that the package needs the "-D_GNU_SOURCE" gcc flag. Then it compiles well. But now the problem is that the src_install script is looking for the directory "/usr/samples/axis2c" which doesn't exist, and creating it manually, fires "ACCESS DENIED" errors in the sandbox.

It can be compiled from source (no portage), but it would be cool to "emerge" it :-D


Javi Ruiz.
Comment 3 Diego Elio Pettenò (RETIRED) gentoo-dev 2009-06-13 11:43:52 UTC

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