Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 97805 - x11-misc/lineak-xosdplugin-0.8.3 fails to emerge with compilation error.
Summary: x11-misc/lineak-xosdplugin-0.8.3 fails to emerge with compilation error.
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Desktop Misc. Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-07-03 03:39 UTC by Jason McGuiness
Modified: 2005-07-16 04:25 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 Jason McGuiness 2005-07-03 03:39:08 UTC
When attempting to emerge this package, the emerge stops with a compilation 
error:

xosdplugin.cpp: In function `displayCtrl* get_display()':
xosdplugin.cpp:95: error: `vmsg' undeclared (first use this function)
x

I tried just running the compile command directly, after "cd"ing into the 
correct directory, and that showed the same prblem, so it is possible that it is 
not the distcc nor ccache that is causing the problem.

Reproducible: Always
Steps to Reproduce:
1. Type "emerge -a lineak-xosdplugin" <CR>.
Actual Results:  
Here's the output from the emerge:

eddie ~ # emerge -a lineak-xosdplugin

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild     U ] x11-misc/lineak-xosdplugin-0.8.3 [0.8.2]

Do you want me to merge these packages? [Yes/No] y
>>> emerge (1 of 1) x11-misc/lineak-xosdplugin-0.8.3 to /
>>> md5 files   ;-) ChangeLog
>>> md5 files   ;-) metadata.xml
>>> md5 files   ;-) lineak-xosdplugin-0.8.2.ebuild
>>> md5 files   ;-) lineak-xosdplugin-0.8.3.ebuild
>>> md5 files   ;-) files/digest-lineak-xosdplugin-0.8.2
>>> md5 files   ;-) files/do-not-depend-on-kde.patch
>>> md5 files   ;-) files/digest-lineak-xosdplugin-0.8.3
>>> md5 src_uri ;-) lineak_xosdplugin-0.8.3.tar.gz
>>> Unpacking source...
>>> Unpacking lineak_xosdplugin-0.8.3.tar.gz to /dev/shm/portage/tmp/portage/lineak-
xosdplugin-0.8.3/work
>>> Source unpacked.
 * econf: updating lineak_xosdplugin-0.8.3/admin/config.sub with /usr/share/gnuconfig/
config.sub
 * econf: updating lineak_xosdplugin-0.8.3/admin/config.guess with /usr/share/gnuconfig/
config.guess
./configure --prefix=/usr --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/
usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --libdir=/
usr/lib --with-x
configure: WARNING: If you wanted to set the --build type, don't use --host.
    If a cross compiler is detected then cross compile mode will be used.
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking target system type... x86_64-pc-linux-gnu
checking for a BSD-compatible install... /bin/install -c
checking for -p flag to install... yes
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for x86_64-pc-linux-gnu-strip... x86_64-pc-linux-gnu-strip
checking for style of include used by make... GNU
checking for x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether x86_64-pc-linux-gnu-gcc accepts -g... yes
checking for x86_64-pc-linux-gnu-gcc option to accept ANSI C... none needed
checking dependency style of x86_64-pc-linux-gnu-gcc... gcc3
checking how to run the C preprocessor... x86_64-pc-linux-gnu-gcc -E
checking for x86_64-pc-linux-gnu-g++... x86_64-pc-linux-gnu-g++
checking whether we are using the GNU C++ compiler... yes
checking whether x86_64-pc-linux-gnu-g++ accepts -g... yes
checking dependency style of x86_64-pc-linux-gnu-g++... gcc3
checking whether x86_64-pc-linux-gnu-g++ supports -Wmissing-format-attribute... yes
checking whether x86_64-pc-linux-gnu-gcc supports -Wmissing-format-attribute... yes
checking whether x86_64-pc-linux-gnu-g++ supports -Wundef... yes
checking whether x86_64-pc-linux-gnu-g++ supports -Wno-long-long... yes
checking whether x86_64-pc-linux-gnu-g++ supports -Wnon-virtual-dtor... yes
checking whether x86_64-pc-linux-gnu-g++ supports -fno-exceptions... yes
checking whether x86_64-pc-linux-gnu-g++ supports -fno-check-new... yes
checking whether x86_64-pc-linux-gnu-g++ supports -fno-common... yes
checking whether x86_64-pc-linux-gnu-g++ supports -fexceptions... yes
checking how to run the C++ preprocessor... x86_64-pc-linux-gnu-g++ -E
checking whether x86_64-pc-linux-gnu-g++ supports -O0... yes
checking whether x86_64-pc-linux-gnu-g++ supports -Wl,--no-undefined... yes
checking whether x86_64-pc-linux-gnu-g++ supports -Wl,--allow-shlib-undefined... yes
not using lib directory suffix
checking for a sed that does not truncate output... /bin/sed
checking for egrep... grep -E
checking for ld used by x86_64-pc-linux-gnu-gcc... /usr/x86_64-pc-linux-gnu/bin/ld
checking if the linker (/usr/x86_64-pc-linux-gnu/bin/ld) is GNU ld... yes
checking for /usr/x86_64-pc-linux-gnu/bin/ld option to reload object files... -rchecking 
for BSD-compatible nm... /usr/bin/x86_64-pc-linux-gnu-nm -B
checking whether ln -s works... yes
checking how to recognise dependent libraries... pass_all
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for x86_64-pc-linux-gnu-g77... no
checking for x86_64-pc-linux-gnu-f77... no
checking for x86_64-pc-linux-gnu-xlf... no
checking for x86_64-pc-linux-gnu-frt... no
checking for x86_64-pc-linux-gnu-pgf77... no
checking for x86_64-pc-linux-gnu-fort77... no
checking for x86_64-pc-linux-gnu-fl32... no
checking for x86_64-pc-linux-gnu-af77... no
checking for x86_64-pc-linux-gnu-f90... no
checking for x86_64-pc-linux-gnu-xlf90... no
checking for x86_64-pc-linux-gnu-pgf90... no
checking for x86_64-pc-linux-gnu-epcf90... no
checking for x86_64-pc-linux-gnu-f95... no
checking for x86_64-pc-linux-gnu-fort... no
checking for x86_64-pc-linux-gnu-xlf95... no
checking for x86_64-pc-linux-gnu-ifc... no
checking for x86_64-pc-linux-gnu-efc... no
checking for x86_64-pc-linux-gnu-pgf95... no
checking for x86_64-pc-linux-gnu-lf95... no
checking for x86_64-pc-linux-gnu-gfortran... no
checking for g77... no
checking for f77... no
checking for xlf... no
checking for frt... no
checking for pgf77... no
checking for fort77... no
checking for fl32... no
checking for af77... no
checking for f90... no
checking for xlf90... no
checking for pgf90... no
checking for epcf90... no
checking for f95... no
checking for fort... no
checking for xlf95... no
checking for ifc... no
checking for efc... no
checking for pgf95... no
checking for lf95... no
checking for gfortran... no
checking whether we are using the GNU Fortran 77 compiler... no
checking whether  accepts -g... no
checking the maximum length of command line arguments... 32768
checking command to parse /usr/bin/x86_64-pc-linux-gnu-nm -B output from x86_64-pc-linux-
gnu-gcc object... ok
checking for objdir... .libs
checking for x86_64-pc-linux-gnu-ar... x86_64-pc-linux-gnu-ar
checking for x86_64-pc-linux-gnu-ranlib... x86_64-pc-linux-gnu-ranlib
checking for x86_64-pc-linux-gnu-strip... (cached) x86_64-pc-linux-gnu-strip
checking if x86_64-pc-linux-gnu-gcc static flag  works... yes
checking if x86_64-pc-linux-gnu-gcc supports -fno-rtti -fno-exceptions... no
checking for x86_64-pc-linux-gnu-gcc option to produce PIC... -fPIC
checking if x86_64-pc-linux-gnu-gcc PIC flag -fPIC works... yes
checking if x86_64-pc-linux-gnu-gcc supports -c -o file.o... yes
checking whether the x86_64-pc-linux-gnu-gcc linker (/usr/x86_64-pc-linux-gnu/bin/ld -m 
elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking for shl_load... no
checking for shl_load in -ldld... no
checking for dlopen... no
checking for dlopen in -ldl... yes
checking whether a program can dlopen itself... yes
checking whether a statically linked program can dlopen itself... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
configure: creating libtool
appending configuration tag "CXX" to libtool
checking for ld used by x86_64-pc-linux-gnu-g++... /usr/x86_64-pc-linux-gnu/bin/ld -m 
elf_x86_64
checking if the linker (/usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64) is GNU ld... yes
checking whether the x86_64-pc-linux-gnu-g++ linker (/usr/x86_64-pc-linux-gnu/bin/ld -m 
elf_x86_64) supports shared libraries... yes
checking for x86_64-pc-linux-gnu-g++ option to produce PIC... -fPIC
checking if x86_64-pc-linux-gnu-g++ PIC flag -fPIC works... yes
checking if x86_64-pc-linux-gnu-g++ supports -c -o file.o... yes
checking whether the x86_64-pc-linux-gnu-g++ linker (/usr/x86_64-pc-linux-gnu/bin/ld -m 
elf_x86_64) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking for shl_load... (cached) no
checking for shl_load in -ldld... (cached) no
checking for dlopen... (cached) no
checking for dlopen in -ldl... (cached) yes
checking whether a program can dlopen itself... (cached) yes
checking whether a statically linked program can dlopen itself... (cached) yes
appending configuration tag "F77" to libtool
checking Looking for lineak headers... /usr/include/lineak
checking for X... libraries /usr/lib64, headers
checking for ac_check_lineak in -llineak... yes
checking Looking for the plugin directory... /usr/lib/lineakd/plugins
checking xosd.h usability... yes
checking xosd.h presence... yes
checking for xosd.h... yes
checking for xosd-config... /usr/bin/xosd-config
yes
checking for main in -lxosd... yes
checking if po should be compiled... yes
checking if xosd_plugin should be compiled... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating po/Makefile
config.status: creating xosd_plugin/Makefile
config.status: creating config.h
config.status: executing depfiles commands

Good - your configure finished. Start make now

make  all-recursive
make[1]: Entering directory `/dev/shm/portage/tmp/portage/lineak-xosdplugin-0.8.3/work/
lineak_xosdplugin-0.8.3'
Making all in xosd_plugin
make[2]: Entering directory `/dev/shm/portage/tmp/portage/lineak-xosdplugin-0.8.3/work/
lineak_xosdplugin-0.8.3/xosd_plugin'
source='xosdplugin.cpp' object='xosdplugin.lo' libtool=yes \
depfile='.deps/xosdplugin.Plo' tmpdepfile='.deps/xosdplugin.TPlo' \
depmode=gcc3 /bin/sh ../admin/depcomp \
/bin/sh ../libtool --silent --mode=compile --tag=CXX x86_64-pc-linux-gnu-g++ -
DHAVE_CONFIG_H -I. -I. -I..  -march=opteron -O3 -pipe -momit-leaf-frame-pointer -fomit-
frame-pointer -fprefetch-loop-arrays -I/usr/X11R6/include -Wall -I/usr/include -I.. -I.  -I 
 -I/usr/include/lineak -I/usr/include   -Wnon-virtual-dtor -Wno-long-long -Wundef -ansi -
D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -
Wpointer-arith -Wwrite-strings -O2 -march=opteron -O0 -pipe -g -Wformat-security -Wmissing-
format-attribute -fno-exceptions -fno-check-new -fno-common  -c -o xosdplugin.lo `test -f 
'xosdplugin.cpp' || echo './'`xosdplugin.cpp
source='xosdctrl.cpp' object='xosdctrl.lo' libtool=yes \
depfile='.deps/xosdctrl.Plo' tmpdepfile='.deps/xosdctrl.TPlo' \
depmode=gcc3 /bin/sh ../admin/depcomp \
/bin/sh ../libtool --silent --mode=compile --tag=CXX x86_64-pc-linux-gnu-g++ -
DHAVE_CONFIG_H -I. -I. -I..  -march=opteron -O3 -pipe -momit-leaf-frame-pointer -fomit-
frame-pointer -fprefetch-loop-arrays -I/usr/X11R6/include -Wall -I/usr/include -I.. -I.  -I 
 -I/usr/include/lineak -I/usr/include   -Wnon-virtual-dtor -Wno-long-long -Wundef -ansi -
D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -
Wpointer-arith -Wwrite-strings -O2 -march=opteron -O0 -pipe -g -Wformat-security -Wmissing-
format-attribute -fno-exceptions -fno-check-new -fno-common  -c -o xosdctrl.lo `test -f 
'xosdctrl.cpp' || echo './'`xosdctrl.cpp
distcc[26797] ERROR: compile /root/.ccache/xosdctrl.tmp.eddie.26789.ii on localhost failed
xosdctrl.cpp: In constructor `xosdCtrl::xosdCtrl(LConfig&)':
xosdctrl.cpp:58: error: `vmsg' undeclared (first use this function)
xosdctrl.cpp:58: error: (Each undeclared identifier is reported only once for each function 
it appears in.)
make[2]: *** [xosdctrl.lo] Error 1
make[2]: *** Waiting for unfinished jobs....
distcc[26793] ERROR: compile /root/.ccache/xosdplugin.tmp.eddie.26760.ii on localhost 
failed
xosdplugin.cpp: In function `lineak_plugins::identifier_info* identifier()':
xosdplugin.cpp:61: warning: deprecated conversion from string constant to `char*'
xosdplugin.cpp:62: warning: deprecated conversion from string constant to `char*'
xosdplugin.cpp:63: warning: deprecated conversion from string constant to `char*'
xosdplugin.cpp: In function `displayCtrl* get_display()':
xosdplugin.cpp:95: error: `vmsg' undeclared (first use this function)
xosdplugin.cpp:95: error: (Each undeclared identifier is reported only once for each 
function it appears in.)
make[2]: *** [xosdplugin.lo] Error 1
make[2]: Leaving directory `/dev/shm/portage/tmp/portage/lineak-xosdplugin-0.8.3/work/
lineak_xosdplugin-0.8.3/xosd_plugin'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/dev/shm/portage/tmp/portage/lineak-xosdplugin-0.8.3/work/
lineak_xosdplugin-0.8.3'
make: *** [all] Error 2

!!! ERROR: x11-misc/lineak-xosdplugin-0.8.3 failed.
!!! Function src_compile, Line 26, Exitcode 2
!!! emake failed
!!! If you need support, post the topmost build error, NOT this status message.



Expected Results:  
The package should have successfully emerged.

eddie ~ # emerge info
Portage 2.0.51.19 (default-linux/amd64/2004.3, gcc-3.4.3, glibc-2.3.4.20041102-r1, 2.6.11-
gentoo-r11 x86_64)
=================================================================
System uname: 2.6.11-gentoo-r11 x86_64 AMD Opteron(tm) Processor 250
Gentoo Base System version 1.6.12
Python:              dev-lang/python-2.3.5 [2.3.5 (#1, May 15 2005, 23:35:44)]
distcc 2.18.3 x86_64-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:    [Not Present]
sys-devel/autoconf:  2.59-r6
sys-devel/automake:  1.9.5, 1.8.5-r3, 1.5, 1.7.9-r1, 1.6.3, 1.4_p6
sys-devel/binutils:  2.15.92.0.2-r10
sys-devel/libtool:   1.5.16
virtual/os-headers:  2.6.8.1-r4
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CFLAGS="-march=opteron -O0 -pipe -g"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /
usr/kde/3.3/shutdown /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/
kde/3/share/config /usr/lib/X11/xkb /usr/share/config /usr/share/texmf/dvipdfm/config/ /
usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/
platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=opteron -O0 -pipe -g"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distcc distlocks nostrip sandbox sfperms strict"
GENTOO_MIRRORS="http://gentoo.mirror.sdv.fr http://ftp.easynet.nl/mirror/gentoo/ http://
www.gigaload.org/gentoo.org/ http://distfiles.gentoo.org http://www.ibiblio.org/pub/Linux/
distributions/gentoo"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/dev/shm/portage/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X aalib acpi alsa amd64 bash-completion berkdb bitmap-fonts bzlib cdr crypt cups curl 
dvd dvdread exif fam flac font-server foomaticdb gdbm gif gpm gtk gtk2 imagemagick imlib 
ipv6 jp2 jpeg libwww lm_sensors lzw lzw-tiff mad motif mp3 ncurses network nls nptl 
nptlonly ogg oggvorbis opengl pam pda perl png ppds python qt qtmt readline rtc sdk spell 
ssl sysfs tcpd tetex threads tiff truetype truetype-fonts type1-fonts usb userlocales 
vorbis xfce4 xine xml xml2 xmms xpm xrandr xv zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS
Comment 1 Stefan Schweizer (RETIRED) gentoo-dev 2005-07-03 04:56:36 UTC
Can you please check if you have lineakd installed and upgraded to the latest
version?
I guess you need the same lineakd version for lineak-xosd.
So if you use unstable lineak-xosd use unstable lineakd also ..
Comment 2 Jonathan Smith (RETIRED) gentoo-dev 2005-07-04 08:01:14 UTC
jason: please post emerge logs as attachments next time... it keeps the comment
area clean and organized
Comment 3 Stefan Schweizer (RETIRED) gentoo-dev 2005-07-11 13:52:18 UTC
Please tell me if it works with new lineakd.
Comment 4 Jason McGuiness 2005-07-16 04:25:45 UTC
Thanks for the advice - I installed lineakd v0.8.3 (I didn't have lineakd 
installed). And lineak-xosdplugin v0.8.3 emerged successfully.