[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#352619: marked as done (FTBFS: undefined reference to `XF86VidModeQueryVersion')



Your message dated Wed, 10 May 2006 13:07:53 +0200
with message-id <20060510110753.GA20948@mad.intersec.fr>
and subject line Lowering severity - kdegraphics builds fine for me...
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--- Begin Message ---
Package: kpovmodeler
Version: 4:3.5.1-2
Severity: serious
Tags: patch
Justification: no longer builds from source


Build fails on i386 with

g++ -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE
-Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith
-DNDEBUG -DNO_DEBUG -O2 -g -Wall -O2 -Wformat-security
-Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions
-fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST
-DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -o .libs/kpovmodeler
main.o  -L/usr/lib -L/usr/share/qt3/lib -L/usr/X11R6/lib
./.libs/libkpovmodeler.so -lm
./.libs/libkpovmodeler.so: undefined reference to
`XF86VidModeQueryVersion'
./.libs/libkpovmodeler.so: undefined reference to
`XF86VidModeGetModeLine'
collect2: ld returned 1 exit status

The missing symbols are defined in libXxf86vm.a

Adding $(LIBVM) to libkpovmodeler_la_LIBADD seems to fix the build.
Patch below.

I'm not sure if this is the correct solution or if this is really an
xlibmesa-gl-dev/autoconf bug.

Paul

diff -urp kdegraphics-3.5.1/kpovmodeler/Makefile.am kdegraphics-fixed/kpovmodeler/Makefile.am
--- kdegraphics-3.5.1/kpovmodeler/Makefile.am	2005-09-10 09:18:54.000000000 +0100
+++ kdegraphics-fixed/kpovmodeler/Makefile.am	2006-02-12 23:39:11.000000000 +0000
@@ -110,7 +110,7 @@ libkpovmodeler_la_SOURCES = pmpart.cpp p
 	pmpartiface.skel
 
 libkpovmodeler_la_LDFLAGS = $(all_libraries) -version-info 0:0:0 -no-undefined $(LIBFREETYPE_RPATH)
-libkpovmodeler_la_LIBADD = $(LIBFREETYPE_LIBS) $(LIB_KPARTS) $(GLLIB) -lXmu -lXi
+libkpovmodeler_la_LIBADD = $(LIBFREETYPE_LIBS) $(LIB_KPARTS) $(GLLIB) $(LIBVM) -lXmu -lXi
 METASOURCES = AUTO
 
 noinst_HEADERS = pmpart.h pmfactory.h pmview.h pmshell.h pmobjectdrag.h \
diff -urp kdegraphics-3.5.1/kpovmodeler/Makefile.in kdegraphics-fixed/kpovmodeler/Makefile.in
--- kdegraphics-3.5.1/kpovmodeler/Makefile.in	2006-02-12 23:40:46.000000000 +0000
+++ kdegraphics-fixed/kpovmodeler/Makefile.in	2006-02-12 23:39:40.000000000 +0000
@@ -857,7 +854,7 @@
 #>- libkpovmodeler_la_LDFLAGS = $(all_libraries) -version-info 0:0:0 -no-undefined $(LIBFREETYPE_RPATH)
 #>+ 1
 libkpovmodeler_la_LDFLAGS = $(all_libraries) -version-info 0:0:0 -no-undefined $(KDE_NO_UNDEFINED) $(LIBFREETYPE_RPATH)
-libkpovmodeler_la_LIBADD = $(LIBFREETYPE_LIBS) $(LIB_KPARTS) $(GLLIB) -lXmu -lXi
+libkpovmodeler_la_LIBADD = $(LIBFREETYPE_LIBS) $(LIB_KPARTS) $(GLLIB) $(LIBVM) -lXmu -lXi
 #>- METASOURCES = AUTO
 noinst_HEADERS = pmpart.h pmfactory.h pmview.h pmshell.h pmobjectdrag.h \
 	pmtreeview.h pmtreeviewitem.h pmmessage.h \

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.15-w64
Locale: LANG=en_GB, LC_CTYPE=en_GB (charmap=ISO-8859-1)

Versions of packages kpovmodeler depends on:
ii  kdelibs4c2a               4:3.5.1-2      core libraries for all KDE applica
ii  libc6                     2.3.5-13       GNU C Library: Shared libraries an
ii  libfreetype6              2.1.10-1       FreeType 2 font engine, shared lib
ii  libgcc1                   1:4.0.2-8      GCC support library
ii  libglu1-xorg [libglu1]    6.9.0.dfsg.1-4 Mesa OpenGL utility library [X.Org
ii  libqt3-mt                 3:3.3.5-3      Qt GUI Library (Threaded runtime v
ii  libstdc++6                4.0.2-8        The GNU Standard C++ Library v3
ii  libx11-6                  6.9.0.dfsg.1-4 X Window System protocol client li
ii  libxi6                    6.9.0.dfsg.1-4 X Window System Input extension li
ii  libxmu6                   6.9.0.dfsg.1-4 X Window System miscellaneous util
ii  xlibmesa-gl [libgl1]      6.9.0.dfsg.1-4 Mesa 3D graphics library [X.Org]
ii  zlib1g                    1:1.2.3-9      compression library - runtime

kpovmodeler recommends no packages.

-- no debconf information


--- End Message ---
--- Begin Message ---
On Mon, Feb 13, 2006 at 03:27:08PM -0500, Christopher Martin wrote:
> tags 352619 unreproducible
> severity 352619 important
> stop
> 
> Well, given the unreproducibility of the problem, I'm lowering this to 
> important, until someone other than the reporter finds that kdegraphics 
> doesn't build.

  kdegraphics builds on autobuilders, no fup in this bug. closing

-- 
·O·  Pierre Habouzit
··O                                                madcoder@debian.org
OOO                                                http://www.madism.org

Attachment: signature.asc
Description: Digital signature


--- End Message ---

Reply to: