Bug#837012: tachyon: FTBFS: ld: tachyon_ogl-glwin.o: undefined reference to symbol 'XNextEvent'

Alastair McKinstry alastair.mckinstry at sceal.ie
Tue Sep 13 05:27:21 UTC 2016


Hi,

I've uploaded an NMU of tachyon that fixes this to DELAYED/5.

The debdiff is:

dpkg-source: warning: extracting unsigned source package
(/srv/build/tachyon/tachyon_0.99~b6+dsx-5.1.dsc)
diff -Nru tachyon-0.99~b6+dsx/debian/changelog
tachyon-0.99~b6+dsx/debian/changelog
--- tachyon-0.99~b6+dsx/debian/changelog    2016-08-01
02:23:29.000000000 +0100
+++ tachyon-0.99~b6+dsx/debian/changelog    2016-09-12
14:12:26.000000000 +0100
@@ -1,3 +1,10 @@
+tachyon (0.99~b6+dsx-5.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTBFS: Needs to link against libX11 explicitly. Closes: #837012.
+
+ -- Alastair McKinstry <mckinstry at debian.org>  Mon, 12 Sep 2016
14:12:26 +0100
+
 tachyon (0.99~b6+dsx-5) unstable; urgency=medium

   * Debianization:
diff -Nru tachyon-0.99~b6+dsx/debian/patches/series
tachyon-0.99~b6+dsx/debian/patches/series
--- tachyon-0.99~b6+dsx/debian/patches/series    2016-08-01
02:12:39.000000000 +0100
+++ tachyon-0.99~b6+dsx/debian/patches/series    2016-09-12
14:12:26.000000000 +0100
@@ -10,3 +10,4 @@
 upstream-rationalization-autotools.patch
 debianization.patch
 debianization-documentation.patch
+x11.patch
diff -Nru tachyon-0.99~b6+dsx/debian/patches/x11.patch
tachyon-0.99~b6+dsx/debian/patches/x11.patch
--- tachyon-0.99~b6+dsx/debian/patches/x11.patch    1970-01-01
01:00:00.000000000 +0100
+++ tachyon-0.99~b6+dsx/debian/patches/x11.patch    2016-09-12
14:12:26.000000000 +0100
@@ -0,0 +1,19 @@
+Author: Alastair McKinstry <mckinstry at debian.org>
+Description: X11 lib is needed for linking
+Bug-Debian: https://bugs.debian.org/837012
+Last-Update: 2016-09-12
+Forwarded: no
+
+Index: tachyon-0.99~b6+dsx/demosrc/Makefile.am
+===================================================================
+--- tachyon-0.99~b6+dsx.orig/demosrc/Makefile.am
++++ tachyon-0.99~b6+dsx/demosrc/Makefile.am
+@@ -5,7 +5,7 @@ bin_PROGRAMS += tachyon-nox tachyon-ogl
+ man_MANS += tachyon-nox.1 tachyon-ogl.1
+ endif
+
+-
++X_LIBS= -lX11
+ AM_CFLAGS = -Wno-unused-result
+
+ tachyon_SOURCES = \

regards
Alastair


On 13/09/2016 01:50, Jerome BENOIT wrote:
> Hello Lucas, thanks for the report.
>
>
>
> On 07/09/16 23:18, Lucas Nussbaum wrote:
> > Source: tachyon
> > Version: 0.99~b6+dsx-5
> > Severity: serious
> > Tags: stretch sid
> > User: debian-qa at lists.debian.org
> > Usertags: qa-ftbfs-20160906 qa-ftbfs
> > Justification: FTBFS on amd64
>
> > Hi,
>
> > During a rebuild of all packages in sid, your package failed to build on
> > amd64.
>
> > Relevant part (hopefully):
> >> /bin/bash ../libtool  --tag=CC   --mode=link gcc -Wno-unused-result
> -I/usr/include/libdrm -I/usr/include/libdrm -g -O3
> -fdebug-prefix-map=/<<BUILDDIR>>/tachyon-0.99~b6+dsx=. -fPIE
> -fstack-protector-strong -Wformat -Werror=format-security -D_REENTRANT
> -ffast-math -fomit-frame-pointer   -o tachyon-ogl tachyon_ogl-main.o
> tachyon_ogl-getargs.o tachyon_ogl-parse.o tachyon_ogl-nffparse.o
> tachyon_ogl-mgfparse.o tachyon_ogl-ac3dparse.o tachyon_ogl-glwin.o
> tachyon_ogl-spaceball.o tachyon_ogl-trackball.o ../src/libtachyon.la
> -lm -lGL  -lGL
> >> libtool: link: gcc -Wno-unused-result -I/usr/include/libdrm
> -I/usr/include/libdrm -g -O3
> "-fdebug-prefix-map=/<<BUILDDIR>>/tachyon-0.99~b6+dsx=." -fPIE
> -fstack-protector-strong -Wformat -Werror=format-security -D_REENTRANT
> -ffast-math -fomit-frame-pointer -o .libs/tachyon-ogl
> tachyon_ogl-main.o tachyon_ogl-getargs.o tachyon_ogl-parse.o
> tachyon_ogl-nffparse.o tachyon_ogl-mgfparse.o tachyon_ogl-ac3dparse.o
> tachyon_ogl-glwin.o tachyon_ogl-spaceball.o tachyon_ogl-trackball.o 
> ../src/.libs/libtachyon.so -lm -lGL
> >> /usr/bin/ld: tachyon_ogl-glwin.o: undefined reference to symbol
> 'XNextEvent'
> >> //usr/lib/x86_64-linux-gnu/libX11.so.6: error adding symbols: DSO
> missing from command line
> >> collect2: error: ld returned 1 exit status
>
> > The full build log is available from:
> >   
> http://people.debian.org/~lucas/logs/2016/09/06/tachyon_0.99~b6+dsx-5_unstable.log
>
> I could reproduce the issue in a chroot environment.
> I am working on it.
>
>
>
> > A list of current common problems and possible solutions is available at
> > http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to
> contribute!
>
> > About the archive rebuild: The rebuild was done on EC2 VM instances from
> > Amazon Web Services, using a clean, minimal and up-to-date chroot. Every
> > failed build was retried once to eliminate random failures.
>
>
> Thanks,
> Jerome
>
>

-- 
Alastair McKinstry, <alastair at sceal.ie>, <mckinstry at debian.org>,
https://diaspora.sceal.ie/u/amckinstry
Misentropy: doubting that the Universe is becoming more disordered.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/debian-science-maintainers/attachments/20160913/b6d2fead/attachment-0001.html>


More information about the debian-science-maintainers mailing list