Bug#352619: FTBFS: undefined reference to `XF86VidModeQueryVersion'

2006-02-13 Thread Christopher Martin
On Sunday 12 February 2006 19:24, Paul Brook wrote:
 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

kdegraphics certainly builds here, and the most recent upload built fine on 
the buildds. We depend on libxxf86vm-dev, so everything should be 
available. I'm not sure why you would get a different result on your 
machine. Are you running X.Org from experimental?

Cheers,
Christopher Martin


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#352619: FTBFS: undefined reference to `XF86VidModeQueryVersion'

2006-02-13 Thread Paul Brook
  The missing symbols are defined in libXxf86vm.a

 kdegraphics certainly builds here, and the most recent upload built fine on
 the buildds. We depend on libxxf86vm-dev, so everything should be
 available. I'm not sure why you would get a different result on your
 machine. Are you running X.Org from experimental?

I'm running unstable last updated yesterday. I do have libxxf86vm-dev 
installed, but for some reason kpovmodeller is not trying to link against it.

ii  libxxf86vm-dev 6.9.0.dfsg.1-4 X Video Mode selection library development f
ii  xserver-xorg   6.9.0.dfsg.1-4 the X.Org X server

Paul


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#352619: FTBFS: undefined reference to `XF86VidModeQueryVersion'

2006-02-12 Thread Paul Brook
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.0 
+0100
+++ kdegraphics-fixed/kpovmodeler/Makefile.am   2006-02-12 23:39:11.0 
+
@@ -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.0 
+
+++ kdegraphics-fixed/kpovmodeler/Makefile.in   2006-02-12 23:39:40.0 
+
@@ -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++64.0.2-8The GNU Standard C++ Library v3
ii  libx11-6  6.9.0.dfsg.1-4 X Window System protocol client li
ii  libxi66.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  zlib1g1:1.2.3-9  compression library - runtime

kpovmodeler recommends no packages.

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]