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

2016-09-13 Thread Jerome BENOIT
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512

Hi, thanks for your patch.

In fact the issue was not in the Makefile.am as a X_LIBS was already present,
but in the configure.ac where X_LIBS was set up but not SUBSTantiated.

Is there a way to cancel the dealy, given that the revison -6 was accepted.

Thanks,
Jerome

On 13/09/16 06:27, Alastair McKinstry wrote:
> 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/changelog2016-08-01 02:23:29.0 
> +0100
> +++ tachyon-0.99~b6+dsx/debian/changelog2016-09-12 14:12:26.0 
> +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   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/series2016-08-01 
> 02:12:39.0 +0100
> +++ tachyon-0.99~b6+dsx/debian/patches/series2016-09-12 
> 14:12:26.0 +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.patch1970-01-01 
> 01:00:00.0 +0100
> +++ tachyon-0.99~b6+dsx/debian/patches/x11.patch2016-09-12 
> 14:12:26.0 +0100
> @@ -0,0 +1,19 @@
> +Author: Alastair McKinstry 
> +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...@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=/<>/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=/<>/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 rand

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

2016-09-12 Thread Alastair McKinstry
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/changelog2016-08-01
02:23:29.0 +0100
+++ tachyon-0.99~b6+dsx/debian/changelog2016-09-12
14:12:26.0 +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   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/series2016-08-01
02:12:39.0 +0100
+++ tachyon-0.99~b6+dsx/debian/patches/series2016-09-12
14:12:26.0 +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.patch1970-01-01
01:00:00.0 +0100
+++ tachyon-0.99~b6+dsx/debian/patches/x11.patch2016-09-12
14:12:26.0 +0100
@@ -0,0 +1,19 @@
+Author: Alastair McKinstry 
+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...@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=/<>/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=/<>/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, , ,
https://diaspora.sceal.ie/u/amckinstry
Misentropy: doubting that the Universe is becoming more disordered.



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

2016-09-12 Thread Jerome BENOIT
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512

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...@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=/<>/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=/<>/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

- -- 
Jerome BENOIT | calculus+at-rezozer^dot*net
https://qa.debian.org/developer.php?login=calcu...@rezozer.net
AE28 AE15 710D FF1D 87E5  A762 3F92 19A6 7F36 C68B
-BEGIN PGP SIGNATURE-

iQQcBAEBCgAGBQJX101PAAoJED+SGaZ/NsaLFKEf/jJj8WCg4UkPgR577HQQjIEQ
Cf57htSrZ21id9z3WSV5kI56Bd7hr2nP/6gPme5O1RxdhKpCA4G8ZyVpVMgiVV2e
4SYklDUJACj902uDj5//5i9HoOK1S6W6iFc7qAT92q2H9HD56eSw6xaT0//Lfmlp
nStHRFO4AvVg2i1KmvK2YBrW/DDnYRA4SIf2m0ESXIISA6CDzuRiNgk/C6DwKGO1
lusHHwLXStGKnb/A1OYDyz1tyeP4PdxoJiSOYPWdmqlw5Mb13UXuPesAR8YpSPjo
PoItPxPGxkG0lIcxuIVxLWUB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qj92wiI=
=3XQj
-END PGP SIGNATURE-



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

2016-09-07 Thread Lucas Nussbaum
Source: tachyon
Version: 0.99~b6+dsx-5
Severity: serious
Tags: stretch sid
User: debian...@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=/<>/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=/<>/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

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.