Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 103059 - wvstreams-4.0.2 has invalid link to xplc
Summary: wvstreams-4.0.2 has invalid link to xplc
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Gentoo Dialup Developers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-08-19 06:46 UTC by Michael Williamson
Modified: 2005-09-07 13:31 UTC (History)
0 users

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 Michael Williamson 2005-08-19 06:46:40 UTC
When you compile a program that uses wvstreams, you get the error.

In file included from /usr/include/wvstreams/iwvstream.h:15,
                 from /usr/include/wvstreams/wvstream.h:10,
                 from /usr/include/wvstreams/wvfdstream.h:10,
                 from /usr/include/wvstreams/wvtcp.h:27,
...
/usr/include/wvstreams/wvxplc.h:17:26: xplc/IObject.h: No such file or directory
/usr/include/wvstreams/wvxplc.h:23:23: xplc/xplc.h: No such file or directory
/usr/include/wvstreams/wvxplc.h:24:22: xplc/ptr.h: No such file or directory
/usr/include/wvstreams/wvxplc.h:25:26: xplc/uuidops.h: No such file or directory

This is because the xplc ebuild installs it to /usr/lib/xplc-0.3.11. Either the 
wvstreams code or the xplc ebuild should be corrected so this compiled correctly. I 
fixed by doing 

orion include # ln -s xplc-0.3.11/xplc

from /usr/include.



Reproducible: Always
Steps to Reproduce:
1. Install wvstreams.
2. Try to compile a program that uses wvstreams.
3. Notice the errors.

Actual Results:  
In file included from /usr/include/wvstreams/iwvstream.h:15,
                 from /usr/include/wvstreams/wvstream.h:10,
                 from /usr/include/wvstreams/wvfdstream.h:10,
                 from /usr/include/wvstreams/wvtcp.h:27,
...
/usr/include/wvstreams/wvxplc.h:17:26: xplc/IObject.h: No such file or directory
/usr/include/wvstreams/wvxplc.h:23:23: xplc/xplc.h: No such file or directory
/usr/include/wvstreams/wvxplc.h:24:22: xplc/ptr.h: No such file or directory
/usr/include/wvstreams/wvxplc.h:25:26: xplc/uuidops.h: No such file or directory

Expected Results:  
The program should compile.

orion include # emerge --info
Portage 2.0.51.22-r2 (default-linux/x86/2005.0, gcc-3.4.4, glibc-2.3.5-r1, 2.6.12-
gentoo-r6 i686)
=================================================================
System uname: 2.6.12-gentoo-r6 i686 Pentium II (Deschutes)
Gentoo Base System version 1.6.13
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled]
ccache version 2.3 [enabled]
dev-lang/python:     2.3.5
sys-apps/sandbox:    1.2.11
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.5
sys-devel/binutils:  2.15.92.0.2-r10
sys-devel/libtool:   1.5.18-r1
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium2 -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config 
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=pentium2 -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distcc distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/Linux/
distributions/gentoo"
MAKEOPTS="-j4"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 alsa apache2 apm arts authdaemond avi berkdb bitmap-fonts cgi crypt eds emboss 
encode fam foomaticdb gd gdbm gif gpm gstreamer gtk2 imagemagick imlib jpeg kde libg++ 
libwww mad mikmod motif mp3 mpeg ncurses nls nptl ogg oggvorbis opengl oss pam pdflib 
perl plotutils png python quicktime readline sasl sdl sensord shaper spell ssl tcpd 
tiff truetype truetype-fonts type1-fonts usb xml2 xmms xv zlib userland_GNU 
kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY
Comment 1 Alin Năstac (RETIRED) gentoo-dev 2005-09-07 13:31:41 UTC
I've found a bug in configure script regarding usage of dev-libs/xplc.
net-libs/wvstreams-4.0.2-r1 fixes this problem.

--with-xplc didn't do exactly what was expected, so I've patched configure.ac
and set the proper xplc version using sed.

however, since the old version installed its own copy of xplc library, I guess
the makefile or configure.ac of the program that use wvstreams should be fixed.
every package that use wvstreams should use pkg-config to proper set its CFLAGS
and LDFLAGS.
therefore, I think this bug is invalid, but since I've found a real bug, I will
close it as fixed.