Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 193863 - dev-libs/yaz++-1.1.0 version bump (current ebuild fails w/ GCC 4.x + broken autotools handling)
Summary: dev-libs/yaz++-1.1.0 version bump (current ebuild fails w/ GCC 4.x + broken a...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Robin Johnson
URL:
Whiteboard:
Keywords:
: 216030 (view as bug list)
Depends on: 185287
Blocks: 117482 autotools-deps
  Show dependency tree
 
Reported: 2007-09-26 11:08 UTC by Kent Fredric (IRC: kent\n) (RETIRED)
Modified: 2008-04-21 19:13 UTC (History)
4 users (show)

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


Attachments
yaz++-1.0.4.ebuild (yaz++-1.0.4.ebuild,1010 bytes, text/plain)
2007-12-18 14:41 UTC, Jakub Moc (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Kent Fredric (IRC: kent\n) (RETIRED) gentoo-dev 2007-09-26 11:08:22 UTC
<herd>cpp</herd>
<maintainer>
      <email>robbat2@gentoo.org</email>
       <name>Robin H. Johnson</name>
</maintainer>


Im just going through my system and cleaning out stuff thats there, checking for breakages etc.

1: Nothing depends on yaz++
2: Im not using it for anything, so might remove it.
2: Yaz++ fails with 

In file included from yaz-socket-manager.cpp:26:
./../include/yaz++/socket-manager.h:40: error: extra qualification 'Yaz_SocketManager::' on member 'lookupObserver'
./../include/yaz++/socket-manager.h:41: error: extra qualification 'Yaz_SocketManager::' on member 'getEvent'
make[1]: *** [yaz-socket-manager.lo] Error 1
make[1]: *** Waiting for unfinished jobs....
In file included from yaz-pdu-assoc.cpp:13:
./../include/yaz++/pdu-assoc.h:35: error: extra qualification 'Yaz_PDU_Assoc::PDU_Queue::' on member 'PDU_Queue'
./../include/yaz++/pdu-assoc.h:50: error: extra qualification 'Yaz_PDU_Assoc::' on member 'flush_PDU'
make[1]: *** [yaz-pdu-assoc.lo] Error 1
make[1]: Leaving directory `/mnt/rammage/portage/dev-libs/yaz++-0.9/work/yaz++-0.9/src'
make: *** [all-recursive] Error 1


In my experience this error requires a trivial patching to make it work, but considering nobody noticed its broken and its not changed since 2005 ... I'm going to make a recommendation that it be dumped :)


Yaz itself compiles fine, just not yaz++ ( yaz is yaz++'s sole dep )
Comment 1 Kent Fredric (IRC: kent\n) (RETIRED) gentoo-dev 2007-09-26 11:10:54 UTC
Portage 2.1.3.9 (default-linux/x86/2007.0, gcc-4.2.0/default, glibc-2.6.1-r0, 2.6.22-gentoo-r1kz i686)
=================================================================
System uname: 2.6.22-gentoo-r1kz i686 AMD Athlon(TM) XP 2000+
Timestamp of tree: Mon, 24 Sep 2007 08:20:01 +0000
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.4 [disabled]
app-admin/eselect-compiler: 2.0.0_rc2-r1
app-shells/bash:     3.2_p17-r1
dev-java/java-config: 1.3.7, 2.0.33-r1
dev-lang/python:     2.3.6-r2, 2.4.4-r5, 2.5.1-r2
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r7
sys-apps/baselayout: 1.12.10-r4
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.61-r1
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-r1, 2.18, 2.18.50.0.1
sys-devel/gcc-config: 2.0.0_rc1
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.22-r2
ACCEPT_KEYWORDS="x86 ~x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=native -pipe "
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /opt/openjms/config /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/local/kdeextra/share/config /usr/local/kdeextra/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/eselect/compiler /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/splash /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O2 -march=native -pipe "
DISTDIR="/mnt/fission/distfiles/distfiles"
FEATURES="autoaddcvs collision-protect cvs distlocks metadata-transfer parallel-fetch sandbox sfperms splitdebug strict unmerge-orphans userfetch userpriv usersandbox"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_NZ.UTF-8"
LC_ALL="C"
LDFLAGS="-Wl,-O1,-z,combreloc,--sort-common,--enable-new-dtags"
LINGUAS="en_NZ en_GB en en_US"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
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="/mnt/rammage/"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/mysql-testing /usr/portage/local/layman/mysql-experimental /usr/portage/local/layman/enlightenment /usr/portage/local/layman/sunrise /usr/portage/local/layman/kde /usr/portage/local/layman/toolchain /usr/portage/local/layman/php-experimental /usr/portage/local/layman/php-testing /usr/portage/local/layman/armagetron /usr/local/portage /usr/src/musicbrainz-overlay_svn /usr/src/xgl/xgl-coffee"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="3dnow X acl bash-completion berkdb bitmap-fonts cli cracklib crypt cups dbus doc dri examples fortran gdbm gpm gtk iconv ipv6 isdnlog kdeenablefinal kdehiddenvisibility midi mmx mudflap multislot nas ncurses nfs nptl nptlonly opengl openmp pam pcre perl php pppd python readline reflection session socks5 source spl ssl syslog tcpd test threads tiff truetype-fonts type1-fonts unicode x86 xinerama xorg xprint 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 mulaw multi null plug rate route share shm softvol" CAMERAS="directory ptp2 template" ELIBC="glibc" INPUT_DEVICES="evdev keyboard mouse wacom" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en_NZ en_GB en en_US" USERLAND="GNU" VIDEO_CARDS="fbdev nv nvidia vesa vga"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 2 Tiziano Müller (RETIRED) gentoo-dev 2007-09-26 14:15:36 UTC
hmm, how about a version bump? :-)
latest version is 1.3
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2007-12-18 14:40:34 UTC
Ebuild attached; should be commited because current ebuild doesn't compile and has broken autotools handling.

Note that it fails w/ --as-needed, no time to investigate/fix ATM so worked-around by appends-ldflags for now. 

i686-pc-linux-gnu-g++ -I./../include -pthread -DYAZ_POSIX_THREADS=1 -DYAZ_HAVE_XML2=1 -DYAZ_HAVE_XSLT=1 -DYAZ_HAVE_EXSLT=1 -I/usr/include/libxml2 -DYAZ_USE_NEW_LOG=1 -march=athlon-xp -O2 -pipe -fomit-frame-pointer -fforce-addr -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,--hash-style=gnu -o .libs/yaz-my-client yaz-my-client.o  ./.libs/libyazpp.so /usr/lib/libyaz.so -L/usr/lib /usr/lib/libexslt.so -lnsl /usr/lib/libxslt.so /usr/lib/libgcrypt.so /usr/lib/libgpg-error.so /usr/lib/libxml2.so -lz -lm -lssl -lcrypto -ldl -lwrap -lpthread 
./.libs/libyazpp.so: undefined reference to `pthread_create'
./.libs/libyazpp.so: undefined reference to `pthread_detach'
collect2: ld returned 1 exit status
make[1]: *** [yaz-my-server] Error 1
make[1]: *** Waiting for unfinished jobs....
./.libs/libyazpp.so: undefined reference to `pthread_create'
./.libs/libyazpp.so: undefined reference to `pthread_detach'
collect2: ld returned 1 exit status
make[1]: *** [yaz-my-client] Error 1
Comment 4 Jakub Moc (RETIRED) gentoo-dev 2007-12-18 14:41:44 UTC
Created attachment 138829 [details]
yaz++-1.0.4.ebuild
Comment 5 Jakub Moc (RETIRED) gentoo-dev 2008-02-02 09:40:18 UTC
Well, ping...
Comment 6 Kent Fredric (IRC: kent\n) (RETIRED) gentoo-dev 2008-02-02 17:17:52 UTC
(In reply to comment #5)
> Well, ping...
> 

It compiles ok. But like i said, I'm not really using it for anything, so can't test further. 

( yaz-3.0.16 / yaz++-1.0.4 / pecl-yaz-1.0.13 combo all compiling sweetly atm )
Comment 7 Jakub Moc (RETIRED) gentoo-dev 2008-02-02 18:59:15 UTC
Well, I don't use this either. What I meant is that we should either fix this or remove it, leaving broken stuff in the tree sucks.
Comment 8 Jakub Moc (RETIRED) gentoo-dev 2008-03-16 14:35:04 UTC
1.1.0 is out; unless there's some interest from current maintainers, treecleaners will just remove this, current ebuild is useless.
Comment 9 Mark Loeser (RETIRED) gentoo-dev 2008-04-04 00:08:59 UTC
*** Bug 216030 has been marked as a duplicate of this bug. ***
Comment 10 Samuli Suominen (RETIRED) gentoo-dev 2008-04-21 19:13:09 UTC
yaz-3.0.26 with yaz++-1.2.0 in portage, thanks guys..
Comment 11 Samuli Suominen (RETIRED) gentoo-dev 2008-04-21 19:13:46 UTC
(In reply to comment #10)
> yaz-3.0.26 with yaz++-1.2.0 in portage, thanks guys..
> 

I mean yaz++-1.1.0 of course.