Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 124093 - ddccontrol 0.3-r1 fails to compile
Summary: ddccontrol 0.3-r1 fails to compile
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: Robin Johnson
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-02-25 11:17 UTC by trefoil
Modified: 2006-02-26 16:17 UTC (History)
1 user (show)

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


Attachments
ddccontrol-0.3-fix-libpanelapplet-dep.patch (ddccontrol-0.3-fix-gnome-2.12.patch,690 bytes, patch)
2006-02-25 15:50 UTC, Nicolas Boichat
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description trefoil 2006-02-25 11:17:07 UTC
0.03 compiled and works fine for me. 0.03-r1 fails to compile as below:

make[3]: Leaving directory
`/var/tmp/portage/ddccontrol-0.3-r1/work/ddccontrol-0.3/src/ddccontrol'
Making all in gnome-ddcc-applet
make[3]: Entering directory
`/var/tmp/portage/ddccontrol-0.3-r1/work/ddccontrol-0.3/src/gnome-ddcc-applet'
if i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../../src -I../lib -I..
-DLOCALEDIR=\"/usr/share/locale\"   -I/usr/include/libxml2 -pthread
-I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0
-I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include   '-DPKGDATADIR="/usr/share/ddccontrol"' -O2
-march=athlon-xp -pipe -Wall  -DDATADIR="\"/usr/share/ddccontrol-db\""
-DBINDIR="\"/usr/bin\"" -MT ddcc-applet.o -MD -MP -MF ".deps/ddcc-applet.Tpo"
-c -o ddcc-applet.o ddcc-applet.c; \
then mv -f ".deps/ddcc-applet.Tpo" ".deps/ddcc-applet.Po"; else rm -f
".deps/ddcc-applet.Tpo"; exit 1; fi
sed -e "s|\@PKGLIBDIR\@|/usr/lib/ddccontrol|" GNOME_ddcc-applet.server.in.in >
GNOME_ddcc-applet.server.in
LC_ALL=C ../../intltool-merge -o -u -c ../../po/.intltool-merge-cache ../../po
GNOME_ddcc-applet.server.in GNOME_ddcc-applet.server
ddcc-applet.c:34:26: panel-applet.h: No such file or directory
Generating and caching the translation database
WARNING: ../../po/fr.po is not in UTF-8 but ISO-8859-1, converting...
Merging translations into GNOME_ddcc-applet.server.
In file included from ddcc-applet.c:39:
ddcc-applet.h:52: error: parse error before "PanelApplet"
ddcc-applet.h:52: warning: no semicolon at end of struct or union
ddcc-applet.h:63: error: parse error before '}' token
ddcc-applet.h:63: warning: type defaults to `int' in declaration of
`DdccApplet'
ddcc-applet.h:63: warning: data definition has no type or storage class
ddcc-applet.h:71: error: parse error before '*' token
ddcc-applet.h:74: error: parse error before '*' token
ddcc-applet.h:79: error: parse error before '*' token
ddcc-applet.h:84: error: parse error before '*' token
ddcc-applet.c:53: error: parse error before "ddccapplet_applet_menu_verbs"
ddcc-applet.c:53: warning: type defaults to `int' in declaration of
`ddccapplet_applet_menu_verbs'
ddcc-applet.c:55: warning: implicit declaration of function
`BONOBO_UI_UNSAFE_VERB'
ddcc-applet.c:55: error: initializer element is not constant
ddcc-applet.c:55: error: (near initialization for
`ddccapplet_applet_menu_verbs[0]')
ddcc-applet.c:56: error: initializer element is not constant
ddcc-applet.c:56: error: (near initialization for
`ddccapplet_applet_menu_verbs[1]')
ddcc-applet.c:57: error: initializer element is not constant
ddcc-applet.c:57: error: (near initialization for
`ddccapplet_applet_menu_verbs[2]')
ddcc-applet.c:59: error: `BONOBO_UI_VERB_END' undeclared here (not in a
function)
ddcc-applet.c:59: error: initializer element is not constant
ddcc-applet.c:59: error: (near initialization for
`ddccapplet_applet_menu_verbs[3]')
ddcc-applet.c:59: warning: data definition has no type or storage class
ddcc-applet.c:153: error: parse error before '*' token
ddcc-applet.c: In function `menu_properties_cb':
ddcc-applet.c:157: error: `applet' undeclared (first use in this function)
ddcc-applet.c:157: error: (Each undeclared identifier is reported only once
ddcc-applet.c:157: error: for each function it appears in.)
ddcc-applet.c: At top level:
ddcc-applet.c:162: error: parse error before '*' token
ddcc-applet.c:172: error: parse error before '*' token
ddcc-applet.c:201: error: parse error before "DdccApplet"
ddcc-applet.c: In function `applet_button_cb':
ddcc-applet.c:203: error: `event' undeclared (first use in this function)
ddcc-applet.c:205: error: `applet' undeclared (first use in this function)
ddcc-applet.c: At top level:
ddcc-applet.c:225: error: parse error before "DdccApplet"
ddcc-applet.c: In function `change_profile_cb':
ddcc-applet.c:229: error: `item' undeclared (first use in this function)
ddcc-applet.c:230: error: `applet' undeclared (first use in this function)
ddcc-applet.c: At top level:
ddcc-applet.c:242: error: parse error before "DdccApplet"
ddcc-applet.c: In function `dialog_delete_cb':
ddcc-applet.c:244: error: `applet' undeclared (first use in this function)
ddcc-applet.c: At top level:
ddcc-applet.c:251: error: parse error before "DdccApplet"
ddcc-applet.c: In function `dialog_close_button_cb':
ddcc-applet.c:253: error: `applet' undeclared (first use in this function)
ddcc-applet.c: At top level:
ddcc-applet.c:261: error: parse error before "DdccApplet"
ddcc-applet.c: In function `monitor_combo_cb':
ddcc-applet.c:265: error: `widget' undeclared (first use in this function)
ddcc-applet.c:268: error: `applet' undeclared (first use in this function)
ddcc-applet.c: At top level:
ddcc-applet.c:285: error: parse error before "DdccApplet"
ddcc-applet.c: In function `destroy_cb':
ddcc-applet.c:287: error: `applet' undeclared (first use in this function)
ddcc-applet.c: At top level:
ddcc-applet.c:302: error: parse error before '*' token
ddcc-applet.c: In function `fill_profiles_menu':
ddcc-applet.c:307: error: `applet' undeclared (first use in this function)
ddcc-applet.c: At top level:
ddcc-applet.c:325: error: parse error before '*' token
ddcc-applet.c: In function `fill_monitor_combo':
ddcc-applet.c:334: error: `applet' undeclared (first use in this function)
ddcc-applet.c: At top level:
ddcc-applet.c:359: error: parse error before '*' token
ddcc-applet.c: In function `ddcc_applet_init':
ddcc-applet.c:380: error: `applet' undeclared (first use in this function)
ddcc-applet.c: At top level:
ddcc-applet.c:424: error: parse error before '*' token
ddcc-applet.c: In function `create_properties_dialog':
ddcc-applet.c:432: error: `applet' undeclared (first use in this function)
ddcc-applet.c: At top level:
ddcc-applet.c:471: error: parse error before '*' token
ddcc-applet.c: In function `ddcc_applet_main':
ddcc-applet.c:473: error: `applet' undeclared (first use in this function)
ddcc-applet.c:482: error: `root_applet' undeclared (first use in this function)
ddcc-applet.c:498: warning: implicit declaration of function
`panel_applet_setup_menu_from_file'
ddcc-applet.c: At top level:
ddcc-applet.c:531: error: parse error before '*' token
ddcc-applet.c: In function `ddcc_applet_factory':
ddcc-applet.c:535: error: `iid' undeclared (first use in this function)
ddcc-applet.c:538: error: `applet' undeclared (first use in this function)
ddcc-applet.c: At top level:
ddcc-applet.c:540: error: parse error before string constant
ddcc-applet.c:534: warning: 'ddcc_applet_factory' defined but not used
make[3]: *** [ddcc-applet.o] Error 1
make[3]: Leaving directory
`/var/tmp/portage/ddccontrol-0.3-r1/work/ddccontrol-0.3/src/gnome-ddcc-applet'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory
`/var/tmp/portage/ddccontrol-0.3-r1/work/ddccontrol-0.3/src'
make[1]: *** [all] Error 2
make[1]: Leaving directory
`/var/tmp/portage/ddccontrol-0.3-r1/work/ddccontrol-0.3/src'
make: *** [all-recursive] Error 1

!!! ERROR: app-misc/ddccontrol-0.3-r1 failed.
!!! Function src_compile, Line 50, Exitcode 2
!!! emake failed
!!! If you need support, post the topmost build error, NOT this status message.

Portage 2.0.54 (default-linux/x86/2005.1, gcc-3.4.4, glibc-2.3.5-r2,
2.6.15-gentoo-r5 i686)
=================================================================
System uname: 2.6.15-gentoo-r5 i686 AMD Athlon(tm) XP 2500+
Gentoo Base System version 1.6.14
dev-lang/python:     2.3.5-r2, 2.4.2
sys-apps/sandbox:    1.2.12
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.6-r1
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=athlon-xp -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /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/lib/mozilla/defaults/pref /usr/share/config
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=athlon-xp -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://gentoo.chem.wisc.edu/gentoo/
http://cudlug.cudenver.edu/gentoo/ http://gentoo.mirrors.pair.com/
http://mirrors.acm.cs.rpi.edu/gentoo/ http://gentoo.cs.lewisu.edu/gentoo/
http://prometheus.cs.wmich.edu/gentoo http://mirror.usu.edu/mirrors/gentoo/
http://mirror.phy.olemiss.edu/mirror/gentoo"
LDFLAGS="-Wl,-O1"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 3dnow 3dnowext X a52 aac acpi alsa apm arts asf audiofile avi berkdb
bitmap-fonts bzip2 cairo cdparanoia cdr cgi cli crypt cups curl dba dvd dvdr
eds emboss encode exif expat fam ffmpeg flac foomaticdb fortran gd gdbm gif
glut gnome gpm gstreamer gtk gtk2 gtkhtml guile idn imagemagick imap imlib ipv6
joystick jpeg kde kdeenablefinal kdexdeltas lcms libg++ libwww lua mad mikmod
mmx mmxext mng motif mozilla mp3 mpeg musicbrainz ncurses nls nptl ogg
oggvorbis openal opengl oss pam pcre pdflib perl php png python qt quicktime
readline sdl sox speex spell sqlite sse ssl tcpd tidy tiff truetype
truetype-fonts type1-fonts udev usb vorbis win32codecs wxwindows xine xml xml2
xmms xv xvid zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LINGUAS, PORTDIR_OVERLAY
Comment 1 Nicolas Boichat 2006-02-25 15:50:15 UTC
Created attachment 80725 [details, diff]
ddccontrol-0.3-fix-libpanelapplet-dep.patch

CVS diff fixing this compile error, which did not occur with Gnome < 2.12. Please note it modifies configure.ac, so automake/autoconf must be run again on the patched sources (I think the ebuild already do this (eautoreconf)).
Comment 2 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2006-02-26 16:17:28 UTC
-r2 in CVS with patch now.
Thanks Nicolas.