Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 179401 - net-libs/wvstreams-4.3-r2 stabilization request
Summary: net-libs/wvstreams-4.3-r2 stabilization request
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Alin Năstac (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-05-22 10:00 UTC by Alin Năstac (RETIRED)
Modified: 2007-06-28 18:22 UTC (History)
1 user (show)

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


Attachments
net-libs:wvstreams-4.3-r1:20070522-150144.log (net-libs:wvstreams-4.3-r1:20070522-150144.log,112.02 KB, text/plain)
2007-05-23 03:02 UTC, Jeroen Roovers (RETIRED)
Details
net-libs:wvstreams-4.3-r2:20070524-045135.log.gz (net-libs:wvstreams-4.3-r2:20070524-045135.log.gz,83.29 KB, text/plain)
2007-05-24 05:13 UTC, Jeroen Roovers (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alin Năstac (RETIRED) gentoo-dev 2007-05-22 10:00:27 UTC
Please mark $subj as stable.
Comment 1 Gustavo Zacarias (RETIRED) gentoo-dev 2007-05-22 14:09:04 UTC
sparc stable.
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2007-05-23 03:02:02 UTC
Created attachment 120047 [details]
net-libs:wvstreams-4.3-r1:20070522-150144.log

Seems to be like a specific version this needs to depend upon. Please advise.
Comment 3 Alin Năstac (RETIRED) gentoo-dev 2007-05-23 05:13:23 UTC
On my box, I have sys-libs/glibc-2.5-r2 which defines sigaction in /usr/include/gentoo-multilib/amd64/bits/sigaction.h as:

struct sigaction
  {
    /* Signal handler.  */
#ifdef __USE_POSIX199309
    union
      {
        /* Used if SA_SIGINFO is not set.  */
        __sighandler_t sa_handler;
        /* Used if SA_SIGINFO is set.  */
        void (*sa_sigaction) (int, siginfo_t *, void *);
      }
    __sigaction_handler;
# define sa_handler     __sigaction_handler.sa_handler
# define sa_sigaction   __sigaction_handler.sa_sigaction
#else
    __sighandler_t sa_handler;
#endif

    /* Additional set of signals to be blocked.  */
    __sigset_t sa_mask;

    /* Special flags.  */
    int sa_flags;

    /* Restore handler.  */
    void (*sa_restorer) (void);
  };

What definition you have?
Comment 4 Jeroen Roovers (RETIRED) gentoo-dev 2007-05-23 15:24:02 UTC
(In reply to comment #3)

> On my box, I have sys-libs/glibc-2.5-r2 which defines sigaction in
> /usr/include/gentoo-multilib/amd64/bits/sigaction.h as:

$ grep -r sa_restorer /usr/include
/usr/include/bits/sigaction.h:# define SA_ONSTACK   0x00000001 /* Use signal stack by using `sa_restorer'. */

So it's the same file here, but a different version:

> What definition you have?

sa_restorer is not defined there. The above grep is the only reference to sa_restorer.

HPPA is currently using sys-kernel/linux-headers-2.6.20-r2, while amd64 is still on 2.6.17. A grep on 2.6.19 and 2.6.20 kernel sources suggests that for different arches, this is defined differently (if at all) and probably should not be used directly.

Oh, and this reminds me why including emerge --info is important, so here we go:

Wed May 23 17:20:26 CEST 2007
Portage 2.1.2.7 (default-linux/hppa/2007.0, gcc-4.1.2, glibc-2.5-r2, 2.6.20.1-hppa-JeR parisc)
=================================================================
System uname: 2.6.20.1-hppa-JeR parisc PA8700 (PCX-W2)
Gentoo Base System release 1.12.9
Timestamp of tree: Wed, 23 May 2007 03:50:01 +0000
distcc 2.18.3 hppa2.0-unknown-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.4 [disabled]
dev-lang/python:     2.3.5-r3, 2.4.4-r4, 2.5.1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r7
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.17.50.0.12
sys-devel/gcc-config: 1.3.16
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.20-r2
ACCEPT_KEYWORDS="hppa"
AUTOCLEAN="yes"
CBUILD="hppa2.0-unknown-linux-gnu"
CFLAGS="-O2 -pipe -mschedule=8000 -march=2.0 -ggdb -Wall"
CHOST="hppa2.0-unknown-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config /usr/spool/PBS /var/bind /var/www/localhost/htdocs/wordpress/wp-config.php"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/php/apache2-php4/ext-active/ /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php4/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php4/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-O2 -pipe -mschedule=8000 -march=2.0 -ggdb -Wall"
DISTDIR="/keeps/gentoo/distfiles"
FEATURES="autoaddcvs buildpkg cvs distlocks fixpackages notitles sandbox sfperms splitdebug strict"
GENTOO_MIRRORS="http://ftp.easynet.nl/mirror/gentoo/ http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/ http://ftp.rhnet.is/pub/gentoo/ http://ftp.snt.utwente.nl/pub/os/linux/gentoo "
LC_ALL="en_US.UTF-8"
LINGUAS="en nl he"
MAKEOPTS="-j2"
PKGDIR="/keeps/gentoo/packages/elmer"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/dev/shm"
PORTDIR="/keeps/gentoo/portage"
PORTDIR_OVERLAY="/keeps/gentoo/local"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="7zip X Xaw3d a52 aac aalib accessibility alsa amr ao aoss apache2 ares arts asf audiofile avahi avfs bash-completion berkdb bidi bitmap-fonts bittorrent bl bzip2 c++ cairo caps catalogs cdb cddb cdparanoia cdr chardet cjk cli cpudetection cracklib crypt cups curl custom-cflags dbus dcraw dga diet directfb doc domainkeys dts dv dvd dvdread dxr3 edl elf enca encode esd examples exif expat fam fame fastbuild fastcgi fbcon ffmpeg firefox flac foomaticdb fortran ftp gadu gd gdbm ggi gif gimpprint glitz glut gmp gnome gnutls gphoto2 gpm gs gtk gtk2 gtkhtml hal hesiod hppa icecast iconv idn imagemagick imlib immqt-bc inquisitio ipv6 isdnlog javascript jingle jpeg jpeg2k kde kdeenablefinal kerberos lcms ldap libcaca libg++ libnotify libsamplerate libwww logrotate lua lzo mad matroska memcache mhash midi mikmod mmap mng modplug motif mozbranding mp3 mudflap musepack mysql nas ncurses netpbm nfconntrack nfs nls nptl nptlonly offensive ogg openexr opengl openmp oss ots pam pango pbs pch pcre pdf perl php pic plotutils plugins png portaudio postgres povray pppd pulseaudio python qt3 qt3support readline recode reflection rpc rrdtool rtc ruby samba sasl scanner scim sdl session sid slang slp sndfile snmp speex spell spl sqlite ssl startup-notification suhosin svg sysfs tcl tcpd tetex tga theora threads thunar-vfs tidy tiff timidity tk truetype truetype-fonts twolame type1-fonts udev unicode unzip usb userlocales utempter utf v4l v4l2 vanim vcd vidix vim-syntax vorbis wavpack webdav webinstall wlan wma wmf xanim xattr xchattext xcomposite xface xml xml2 xmpi xorg xrandr xscreensaver xv xvid xvmc zeroconf zip zlib" ALSA_CARDS="ad1889 usb-audio" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev joystick" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en nl he" USERLAND="GNU" VIDEO_CARDS="stifb fbdev matrox"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 5 Alin Năstac (RETIRED) gentoo-dev 2007-05-23 15:50:39 UTC
sa_restorer is just a struct member, no need for another definition. 
sa_restorer is a pointer to a funtion with no parameters and no result and is set in WvStream::blocking_getline() to the address of the restorer function.

On the other hand, man sigaction specifies that sa_restorer is obsolete and should not be used. I will try to remove the sa_restorer reference in the next revision.
Comment 6 Alin Năstac (RETIRED) gentoo-dev 2007-05-23 17:27:19 UTC
OK, I've removed the reference to sa_restorer.

Arches, please mark net-lib/wvstreams-4.3-r2 as stable.
Comment 7 Gustavo Zacarias (RETIRED) gentoo-dev 2007-05-23 22:37:21 UTC
sparc is at it again!
Comment 8 Jeroen Roovers (RETIRED) gentoo-dev 2007-05-24 05:13:43 UTC
Created attachment 120164 [details]
net-libs:wvstreams-4.3-r2:20070524-045135.log.gz

This time relinking failed. :)

/usr/lib/gcc/hppa2.0-unknown-linux-gnu/4.1.2/../../../../hppa2.0-unknown-linux-gnu/bin/ld: configfile/cfgsection.o: relocation R_PARISC_DPREL21L can not be used when making a shared object; recompile with -fPIC
configfile/cfgsection.o: could not read symbols: Bad value
collect2: ld returned 1 exit status
make: *** [libwvstreams.so] Error 1
make: *** Waiting for unfinished jobs....
ar: creating libwvstreams.a

!!! ERROR: net-libs/wvstreams-4.3-r2 failed.
Call stack:
  ebuild.sh, line 1615:   Called dyn_install
  ebuild.sh, line 1061:   Called qa_call 'src_install'
  ebuild.sh, line 44:   Called src_install
  wvstreams-4.3-r2.ebuild, line 86:   Called die
Comment 9 Alin Năstac (RETIRED) gentoo-dev 2007-05-24 07:33:43 UTC
It should be fixed now. Re-synchronize your working copy and try again.
Comment 10 Jeroen Roovers (RETIRED) gentoo-dev 2007-05-24 15:42:05 UTC
Despite that I couldn't really test it well, but in light of the fact that the previous versions in the tree don't compile at all, stable for HPPA.
Comment 11 Christian Faulhammer (RETIRED) gentoo-dev 2007-05-25 07:07:27 UTC
x86/amd64 stable
Comment 12 nixnut (RETIRED) gentoo-dev 2007-06-01 20:37:38 UTC
stable on ppc.
Comment 13 Raúl Porcel (RETIRED) gentoo-dev 2007-06-28 18:22:53 UTC
alpha stable, closing.