Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 80255 - gtkglarea-1.99.0 fails to compile
Summary: gtkglarea-1.99.0 fails to compile
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-01-31 13:53 UTC by Benjamin Judas (RETIRED)
Modified: 2005-02-01 08:35 UTC (History)
0 users

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


Attachments
config.log (config.log,18.30 KB, text/x-log)
2005-01-31 14:10 UTC, Benjamin Judas (RETIRED)
Details
build-log (2531-gtkglarea-1.99.0.log,21.51 KB, text/x-log)
2005-01-31 14:10 UTC, Benjamin Judas (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Benjamin Judas (RETIRED) gentoo-dev 2005-01-31 13:53:17 UTC
Building the i386 GRP-set for 2005.0. gtkglarea-1.99.0 fails to compile:

gtkglarea.c:161: warning: return makes pointer from integer without a cast
gtkglarea.c: At top level:
gtkglarea.c:166: error: parse error before '*' token
gtkglarea.c: In function `gtk_gl_area_destroy':
gtkglarea.c:170: error: `object' undeclared (first use in this function)
gtkglarea.c:173: error: parse error before "GtkGLArea"
gtkglarea.c:174: error: dereferencing pointer to incomplete type
gtkglarea.c:176: error: invalid type argument of `->'
gtkglarea.c:177: error: invalid type argument of `->'
gtkglarea.c: At top level:
gtkglarea.c:185: error: parse error before "gtk_gl_area_make_current"
gtkglarea.c: In function `gtk_gl_area_make_current':
gtkglarea.c:187: error: `FALSE' undeclared (first use in this function)
gtkglarea.c:191: error: invalid type argument of `->'
gtkglarea.c:191: error: dereferencing pointer to incomplete type
gtkglarea.c: At top level:
gtkglarea.c:195: error: parse error before "gtk_gl_area_begingl"
gtkglarea.c: In function `gtk_gl_area_swap_buffers':
gtkglarea.c:219: error: invalid type argument of `->'
gtkglarea.c: At top level:
gtkglarea.c:222: error: parse error before "gint"
gtkglarea.c: In function `gtk_gl_area_size':
gtkglarea.c:224: error: `glarea' undeclared (first use in this function)
gtkglarea.c:227: error: `width' undeclared (first use in this function)
gtkglarea.c:227: error: `height' undeclared (first use in this function)
make[1]: *** [gtkglarea.lo] Error 1
make[1]: Leaving directory `/var/tmp/portage/gtkglarea-1.99.0/work/gtkglarea-1.99.0/gtkgl'
make: *** [all-recursive] Error 1

!!! ERROR: x11-libs/gtkglarea-1.99.0 failed.
!!! Function src_compile, Line 23, Exitcode 2
!!! (no error message)
!!! If you need support, post the topmost build error, NOT this status message.


Reproducible: Always
Steps to Reproduce:
1. emerge x11-libs/gtkglarea
2.
3.

Actual Results:  
it fails to compile

Expected Results:  
it should have compiled cleanly

emerge --info from inside the build-chroot

Portage 2.0.51-r15 (default-linux/x86/2005.0, gcc-3.3.5,
glibc-2.3.4.20040808-r1, 2.6.8-gentoo-r4 x86_64)
=================================================================
System uname: 2.6.8-gentoo-r4 x86_64 
Gentoo Base System version 1.4.16
Python:              dev-lang/python-2.3.4 [2.3.4 (#1, Jan 24 2005, 01:43:11)]
dev-lang/python:     2.3.4
sys-devel/autoconf:  2.59-r5
sys-devel/automake:  1.8.5-r1
sys-devel/binutils:  2.15.92.0.2-r1
sys-devel/libtool:   1.5.2-r7
virtual/os-headers:  2.6.8.1-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -mcpu=i686 -fomit-frame-pointer"
CHOST="i386-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /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 -mcpu=i686 -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms"
GENTOO_MIRRORS="http://distfiles.gentoo.org
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X apm arts avi berkdb bindlist bitmap-fonts bonobo cdr crypt cups
directfb encode esd f77 fam foomaticdb fortran gdbm gif gnome gpm gstreamer gtk
gtk2 gtkhtml imlib ipv6 jpeg kde ldap libg++ libwww mad mikmod motif mozilla
mpeg mysql ncurses nls oggvorbis opengl oss pam pdflib perl png python qt
quicktime readline ruby sdl slang spell ssl tcltk tcpd tiff truetype
truetype-fonts type1-fonts xml2 xmms xv zlib"
Unset:  LDFLAGS, PORTDIR_OVERLAY
Comment 1 Benjamin Judas (RETIRED) gentoo-dev 2005-01-31 14:10:22 UTC
Created attachment 50076 [details]
config.log

config.log
Comment 2 Benjamin Judas (RETIRED) gentoo-dev 2005-01-31 14:10:55 UTC
Created attachment 50077 [details]
build-log

build-log
Comment 3 foser (RETIRED) gentoo-dev 2005-01-31 14:24:46 UTC
as discussed on irc probably missing pkgconfig dep (duh, though it's not directly noted in configure.in ...)

waiting on confirmation by beejay
Comment 4 Benjamin Judas (RETIRED) gentoo-dev 2005-02-01 07:49:45 UTC
Confirmed.

A manual installation of pkgconfig before the packages in question worked. gtkglarea built fine.
Comment 5 foser (RETIRED) gentoo-dev 2005-02-01 08:35:07 UTC
added pkgconfig as buildtime dep to 1.99.0