Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 158675 - media-video/totem-2.16.4 fails to compile
Summary: media-video/totem-2.16.4 fails to compile
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: All Linux
: High normal
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-12-20 11:19 UTC by Chris Gianelloni (RETIRED)
Modified: 2008-11-02 00:44 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 Chris Gianelloni (RETIRED) gentoo-dev 2006-12-20 11:19:26 UTC
I'm trying to build a new LiveCD to begin testing some new functionality for the upcoming 2007.0 release, and totem is failing to build.

 i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I./../plparse -D
ORBIT2=1 -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/inc
lude/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/ca
iro -I/usr/include/pango-1.0 -I/usr/include/libgnomeui-2.0 -I/usr/include/libgno
me-2.0 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/libart-2.0 -I/usr/includ
e/gconf/2 -I/usr/include/libbonoboui-2.0 -I/usr/include/gnome-vfs-2.0 -I/usr/lib
/gnome-vfs-2.0/include -I/usr/include/gnome-keyring-1 -I/usr/include/orbit-2.0 -
I/usr/include/libbonobo-2.0 -I/usr/include/bonobo-activation-2.0 -I/usr/include/
freetype2 -I/usr/include/libxml2 -I/usr/include/libglade-2.0 -I/usr/include/gnom
e-vfs-module-2.0 -I/usr/include/gnome-desktop-2.0 -I/usr/include/startup-notific
ation-1.0 -I/usr/include/gstreamer-0.10 -D_REENTRANT -DGCONF_PREFIX=\"/apps/tote
m\" -Wall -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes -Wnested
-externs -Wpointer-arith -Wcast-align -Wsign-compare -fno-strict-aliasing -O2 -m
arch=i686 -pipe -MT libbaconvideowidget_la-bacon-resize.lo -MD -MP -MF .deps/lib
baconvideowidget_la-bacon-resize.Tpo -c bacon-resize.c  -fPIC -DPIC -o .libs/lib
baconvideowidget_la-bacon-resize.o
bacon-resize.c:32:38: error: X11/extensions/xf86vmode.h: No such file or directo
ry
bacon-resize.c:37: error: expected '=', ',', ';', 'asm' or '__attribute__' befor
e '*' token
bacon-resize.c: In function 'bacon_resize_init':
bacon-resize.c:58: warning: implicit declaration of function 'XF86VidModeQueryExtension'
bacon-resize.c:58: warning: nested extern declaration of 'XF86VidModeQueryExtension'
bacon-resize.c:65: warning: implicit declaration of function 'XF86VidModeGetAllModeLines'
bacon-resize.c:65: warning: nested extern declaration of 'XF86VidModeGetAllModeLines'
bacon-resize.c:65: error: 'modelines' undeclared (first use in this function)
bacon-resize.c:65: error: (Each undeclared identifier is reported only once
bacon-resize.c:65: error: for each function it appears in.)
bacon-resize.c: In function 'bacon_resize':
bacon-resize.c:90: error: 'modelines' undeclared (first use in this function)
make[5]: *** [libbaconvideowidget_la-bacon-resize.lo] Error 1
make[5]: Leaving directory `/var/tmp/portage/totem-2.16.4/work/totem-2.16.4/src/backend'
make[4]: *** [all] Error 2
make[4]: Leaving directory `/var/tmp/portage/totem-2.16.4/work/totem-2.16.4/src/backend'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/var/tmp/portage/totem-2.16.4/work/totem-2.16.4/src'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/var/tmp/portage/totem-2.16.4/work/totem-2.16.4/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/totem-2.16.4/work/totem-2.16.4'
make: *** [all] Error 2

!!! ERROR: media-video/totem-2.16.4 failed.
Call stack:
  ebuild.sh, line 1546:   Called dyn_compile
  ebuild.sh, line 937:   Called src_compile
  totem-2.16.4.ebuild, line 149:   Called gnome2_src_compile
  gnome2.eclass, line 71:   Called die

!!! compile failure
!!! If you need support, post the topmost build error, and the call stack if relevant.

Of course, adding x11-proto/xf86vidmodeproto to DEPEND resolves the issue.
Comment 1 Saleem Abdulrasool (RETIRED) gentoo-dev 2006-12-20 11:35:29 UTC
nice one, fixed in place.
Comment 2 asteriskk 2008-11-01 22:41:24 UTC
(In reply to comment #1)
> nice one, fixed in place.
> 
Could you explain how to add x11-proto/xf86vidmodeproto to DEPEND?
Thanks :)
Comment 3 Mart Raudsepp gentoo-dev 2008-11-02 00:41:54 UTC
So this one is still a bug, because proto depends haven't been added - only libraries, and protos are only build-time deps so currently aren't guaranteed to exist on the system if user uses binary packages or depcleans build-time only deps.
Comment 4 Mart Raudsepp gentoo-dev 2008-11-02 00:42:54 UTC
Ah, actually it was fixed, but got lost again for totem-2.18
Comment 5 Mart Raudsepp gentoo-dev 2008-11-02 00:44:19 UTC
Closing again as 2.16.4 was fixed and bug 239568 covers missing proto depends in modern totem ebuilds, which I'll fix up in a moment.