Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 45093 - vdkbuilder won't compile - vdkbuilder-2.0.5
Summary: vdkbuilder won't compile - vdkbuilder-2.0.5
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: High normal
Assignee: Gustavo Zacarias (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-03-18 18:37 UTC by Guy
Modified: 2005-04-15 07:08 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 Guy 2004-03-18 18:37:57 UTC
# emerge vdkbuilder

gives the following error messages.

rm -f .libs/vdkb_calendar.lo
g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I/usr/include/vdk2 -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/X11R6/include -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -s -O2 -I../include -Wall -c vdkb_calendar.cc  -fPIC -DPIC -o .libs/vdkb_calendar.lo
In file included from vdkb_calendar.cc:62:
../include/vdkb2/vdkb_objinspect.h:75: error: syntax error before `*' token
In file included from vdkb_calendar.cc:63:
../include/vdkb2/vdkb_prjman.h:111: error: syntax error before `*' token
make[2]: *** [vdkb_calendar.lo] Error 1
make[2]: *** Waiting for unfinished jobs....
g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I/usr/include/vdk2 -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/X11R6/include -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -s -O2 -I../include -Wall -c vdkdclock.cc -o vdkdclock.o >/dev/null 2>&1
mv -f .libs/vdkdclock.lo vdkdclock.lo
make[2]: Leaving directory `/var/tmp/portage/vdkbuilder-2.0.5/work/vdkbuilder2-2.0.5/plugins'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/vdkbuilder-2.0.5/work/vdkbuilder2-2.0.5'
make: *** [all-recursive-am] Error 2

!!! ERROR: dev-util/vdkbuilder-2.0.5 failed.
!!! Function src_compile, Line 31, Exitcode 2
!!! (no error message)

I've tried changing:

MAKEOPTS="-j1"
CFLAGS="-mcpu=athlon -O2"

Same abort at the same location regardless of settings.

Reproducible: Always
Steps to Reproduce:

Actual Results:  
 


Portage 2.0.50-r1 (default-x86-1.4, gcc-3.3.3, glibc-2.3.3_pre20040207-r0, 
2.6.4) 
================================================================= 
System uname: 2.6.4 i686 AMD Athlon(TM) XP 1900+ 
Gentoo Base System version 1.4.3.13p1 
distcc 2.13 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) 
[disabled] 
Autoconf: sys-devel/autoconf-2.59-r3 
Automake: sys-devel/automake-1.8.2 
ACCEPT_KEYWORDS="x86 ~x86" 
AUTOCLEAN="yes" 
CFLAGS="-march=athlon-xp -Os -pipe" 
CHOST="i686-pc-linux-gnu" 
COMPILER="gcc3" 
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.1/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /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=athlon-xp -Os -pipe" 
DISTDIR="/usr/portage/distfiles" 
FEATURES="autoaddcvs ccache sandbox" 
GENTOO_MIRRORS="http://mirror.clarkson.edu/pub/distributions/gentoo/ 
http://mirrors.tds.net/gentoo ftp://ftp.gtlib.cc.gatech.edu/pub/gentoo 
ftp://gentoo.ccccom.com http://212.219.247.15/sites/www.ibiblio.org/gentoo/ 
http://212.219.247.11/sites/www.ibiblio.org/gentoo/ 
ftp://ftp.easynet.nl/mirror/gentoo/" 
MAKEOPTS="-j2" 
PKGDIR="/usr/portage/packages" 
PORTAGE_TMPDIR="/var/tmp" 
PORTDIR="/usr/portage" 
PORTDIR_OVERLAY="" 
SYNC="rsync://rsync.samerica.gentoo.org/gentoo-portage" 
USE="X alsa apm arts athena avi berkdb bonobo cdr crypt cups encode esd 
foomaticdb gdbm gif gnome gpm gtk gtk2 gtkhtml guile imlib java jpeg kde libg++ 
libwww mad mikmod mozilla mpeg mysql ncurses nls oggvorbis opengl oss pam 
pdflib perl png python qt quicktime readline sdl slang spell ssl svga tcltk 
tcpd tetex truetype x86 xml2 xmms xv zlib"
Comment 1 Chuck Short (RETIRED) gentoo-dev 2004-04-22 05:34:06 UTC
I dont have time for this one. Please re-assign.
Comment 2 Martin Holzer (RETIRED) gentoo-dev 2004-04-27 09:00:34 UTC

*** This bug has been marked as a duplicate of 41687 ***
Comment 3 Guy 2004-04-28 03:53:49 UTC
Hi Mark,

Sorry, this isn't the same problem. I still cannot update to and compile version 2.0.5. Version 2.0.3 is up and currently running for me. If I can provide anymore information, please let me know.

# uname -a
Linux fierywyrme.lamasondufeu.com 2.6.5 #2 Sat Apr 10 19:11:50 EDT 2004 i686 AMD Athlon(TM) XP 1900+ AuthenticAMD GNU/Linux


...
VDKBuilder configure finished succesfully
VDKBuilder configuration:
        - VDKBuilder Version    : 2.0.5
        - Required VDK Version  : 2.0.3
        - Gnome support         : no
        - Xdb support           : no (version )
        - Debug                 : no
        - Optimization          : 2
        * Host                  : i686-pc-linux-gnu
        * Installation Prefix   : /usr
        * Required libs         : -Wl,--export-dynamic -L/usr/lib -lvdk -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm -lpangoxft-1.0 -lpangox-1.0 -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0 -lpthread
make  all-recursive
make[1]: Entering directory `/var/tmp/portage/vdkbuilder-2.0.5/work/vdkbuilder2-2.0.5'
Making all in include
make[2]: Entering directory `/var/tmp/portage/vdkbuilder-2.0.5/work/vdkbuilder2-2.0.5/include'
Making all in vdkb2
make[3]: Entering directory `/var/tmp/portage/vdkbuilder-2.0.5/work/vdkbuilder2-2.0.5/include/vdkb2'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/var/tmp/portage/vdkbuilder-2.0.5/work/vdkbuilder2-2.0.5/include/vdkb2'
make[3]: Entering directory `/var/tmp/portage/vdkbuilder-2.0.5/work/vdkbuilder2-2.0.5/include'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `/var/tmp/portage/vdkbuilder-2.0.5/work/vdkbuilder2-2.0.5/include'
make[2]: Leaving directory `/var/tmp/portage/vdkbuilder-2.0.5/work/vdkbuilder2-2.0.5/include'
Making all in plugins
make[2]: Entering directory `/var/tmp/portage/vdkbuilder-2.0.5/work/vdkbuilder2-2.0.5/plugins'
/bin/sh ../libtool --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I/usr/include/vdk2 -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/X11R6/include -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include    -s -O2 -I../include  -Wall -c vdkdclock.cc
/bin/sh ../libtool --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I/usr/include/vdk2 -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/X11R6/include -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include    -s -O2 -I../include  -Wall -c vdkb_calendar.cc
mkdir .libs
g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I/usr/include/vdk2 -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/X11R6/include -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -s -O2 -I../include -Wall -c vdkdclock.cc  -fPIC -DPIC -o .libs/vdkdclock.lo
rm -f .libs/vdkb_calendar.lo
g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I/usr/include/vdk2 -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/X11R6/include -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -s -O2 -I../include -Wall -c vdkb_calendar.cc  -fPIC -DPIC -o .libs/vdkb_calendar.lo
In file included from vdkb_calendar.cc:62:
../include/vdkb2/vdkb_objinspect.h:75: error: syntax error before `*' token
In file included from vdkb_calendar.cc:63:
../include/vdkb2/vdkb_prjman.h:111: error: syntax error before `*' token
make[2]: *** [vdkb_calendar.lo] Error 1
make[2]: *** Waiting for unfinished jobs....
g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I/usr/include/vdk2 -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/X11R6/include -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -s -O2 -I../include -Wall -c vdkdclock.cc -o vdkdclock.o >/dev/null 2>&1
mv -f .libs/vdkdclock.lo vdkdclock.lo
make[2]: Leaving directory `/var/tmp/portage/vdkbuilder-2.0.5/work/vdkbuilder2-2.0.5/plugins'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/vdkbuilder-2.0.5/work/vdkbuilder2-2.0.5'
make: *** [all-recursive-am] Error 2

!!! ERROR: dev-util/vdkbuilder-2.0.5 failed.
!!! Function src_compile, Line 31, Exitcode 2
!!! (no error message)
Comment 4 Rusty Phillips 2004-08-11 23:06:59 UTC
Look at the output.  It looks like VDKBuilder 2.0.5 requires VDK 2.0.3...which isn't in portage at all.

I was able to compile and install the latest version of both vdk and vdkbuilder (to version 2.4.0) with trivial changes to the ebuilds (just copy them over to the new names and turn off patching).  I am running the latest stable version of all the dependencies.

The patch in vdk is no longer required;  the section of config that had flags hardcoded has been changed to flexibility.
Comment 5 Gustavo Zacarias (RETIRED) gentoo-dev 2005-04-15 07:08:44 UTC
Bumped vdk & vdkbuilder 2.4.0 to x86 stable.
This should fix the issues.