Bug#344653: electricsheep - FTBFS: cannot find -lX11

2005-12-25 Thread Alexis Sukrieh
tags 344653 + pending
thanks

* Stephen Gran ([EMAIL PROTECTED]) disait :
 The addition of libx11-dev, libxext-dev and x-dev are because the package
 #includes headers from those packages.  I only did a simplistic grep
 test, so it may be over generous in my dependency (for instance, if a
 chunk of source is not actually built or used, my test would miss that
 completely).  The addition of libxt-dev is for the configure test for X
 (it looks for X11/Intrinsic.h from the libxt-dev package) and then fills
 in the autoconf macro X_LIBS=' -L/usr/X11R6/lib'.  Without this bit,
 linking fails.  With it, it succeeds.
 
 The fact that /usr/X11R6/lib is in /etc/ld.so.conf and the linker still
 doesn't look there is a bit mystifying (as I thought that's, er, exactly
 what that file is for) but that's a seperate problem.

Thanks a lot. Your patch fixes that issue. I applied it and built a
2.6.4-2 package successfully in my pbuilder.

My sponsor will upload the new package as soon as he has the time.

Best wishes and merry christmas!

-- 
Alexis Sukrieh [EMAIL PROTECTED]
0x1EE5DD34
Debian   http://www.debian.org
Backup Manager   http://www.backup-manager.org


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



Processed: Re: Bug#344653: electricsheep - FTBFS: cannot find -lX11

2005-12-25 Thread Debian Bug Tracking System
Processing commands for [EMAIL PROTECTED]:

 tags 344653 + pending
Bug#344653: electricsheep - FTBFS: cannot find -lX11
Tags were: confirmed help
Tags added: pending

 thanks
Stopping processing here.

Please contact me if you need assistance.

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


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



Bug#344653: electricsheep - FTBFS: cannot find -lX11

2005-12-24 Thread Bastian Blank
Package: electricsheep
Version: 2.6.4-1
Severity: serious

There was an error while trying to autobuild your package:

 Automatic build of electricsheep_2.6.4-1 on debian01 by sbuild/s390 79
[...]
 Build-Depends: debhelper (= 4.0.0), libjpeg62-dev, libexpat1-dev, 
 libpng12-dev, dpatch, libxv-dev
[...]
 s390-linux-gnu-gcc 
 -DPACKAGE_DATA_DIR=\/build/buildd/electricsheep-2.6.4/debian/electricsheep/usr/share/electricsheep\
  -Wall -g -O2   -o electricsheep-voter  
 electricsheep_voter-electricsheep-voter.o -lX11  -lexpat 
 /usr/bin/ld: cannot find -lX11
 collect2: ld returned 1 exit status
 make[3]: *** [electricsheep-voter] Error 1
 make[3]: Leaving directory `/build/buildd/electricsheep-2.6.4'
 make[2]: *** [all-recursive] Error 1
 make[2]: Leaving directory `/build/buildd/electricsheep-2.6.4'
 make[1]: *** [all] Error 2
 make[1]: Leaving directory `/build/buildd/electricsheep-2.6.4'
 make: *** [build-stamp] Error 2
 **
 Build finished at 20051222-1123
 FAILED [dpkg-buildpackage died]


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



Bug#344653: electricsheep - FTBFS: cannot find -lX11

2005-12-24 Thread Alexis Sukrieh
tags 344653 + help
tags 344653 + confirmed
thanks

* Bastian Blank ([EMAIL PROTECTED]) disait :
 There was an error while trying to autobuild your package:
 
  /usr/bin/ld: cannot find -lX11
  collect2: ld returned 1 exit status

Indeed, I reproduced that with my pbuilder...

I'm a bit confused, because even if I add libx11-6 in my
build-dependencies (which provides libX11.so.6) I still get the error.

I don't know how to solve that build issue, if someone can give me a
hand, that's very welcome...


-- 
Alexis Sukrieh [EMAIL PROTECTED]
0x1EE5DD34
Debian   http://www.debian.org
Backup Manager   http://www.backup-manager.org


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



Processed: Re: Bug#344653: electricsheep - FTBFS: cannot find -lX11

2005-12-24 Thread Debian Bug Tracking System
Processing commands for [EMAIL PROTECTED]:

 tags 344653 + help
Bug#344653: electricsheep - FTBFS: cannot find -lX11
There were no tags set.
Tags added: help

 tags 344653 + confirmed
Bug#344653: electricsheep - FTBFS: cannot find -lX11
Tags were: help
Tags added: confirmed

 thanks
Stopping processing here.

Please contact me if you need assistance.

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


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



Bug#344653: electricsheep - FTBFS: cannot find -lX11

2005-12-24 Thread Steve Langasek
On Sat, Dec 24, 2005 at 03:24:57PM +0100, Alexis Sukrieh wrote:
 tags 344653 + help
 tags 344653 + confirmed
 thanks

 * Bastian Blank ([EMAIL PROTECTED]) disait :
  There was an error while trying to autobuild your package:

   /usr/bin/ld: cannot find -lX11
   collect2: ld returned 1 exit status

 Indeed, I reproduced that with my pbuilder...

 I'm a bit confused, because even if I add libx11-6 in my
 build-dependencies (which provides libX11.so.6) I still get the error.

Er, you need the package that provides *libX11.so*, not libX11.so.6.  You
should be build-depending on libx11-dev, not on libx11-6: you should *never*
need to build-depend on runtime lib packages.

-- 
Steve Langasek   Give me a lever long enough and a Free OS
Debian Developer   to set it on, and I can move the world.
[EMAIL PROTECTED]   http://www.debian.org/


signature.asc
Description: Digital signature


Bug#344653: electricsheep - FTBFS: cannot find -lX11

2005-12-24 Thread Alexis Sukrieh
* Steve Langasek ([EMAIL PROTECTED]) disait :
  I'm a bit confused, because even if I add libx11-6 in my
  build-dependencies (which provides libX11.so.6) I still get the error.
 
 Er, you need the package that provides *libX11.so*, not libX11.so.6.  You
 should be build-depending on libx11-dev, not on libx11-6: you should *never*
 need to build-depend on runtime lib packages.

My package *did* build-depend on libx11-dev, and I got the FTBS even
with that build-dependcy. 

As I was puzzled, I tried to add libx11-6 in my build dependcy, in order
to try. But whatever I did, I get a FTBS in my pbuilder...


-- 
Alexis Sukrieh [EMAIL PROTECTED]
0x1EE5DD34
Debian   http://www.debian.org
Backup Manager   http://www.backup-manager.org


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



Bug#344653: electricsheep - FTBFS: cannot find -lX11

2005-12-24 Thread Stephen Gran
This one time, at band camp, Alexis Sukrieh said:
 * Steve Langasek ([EMAIL PROTECTED]) disait :
   I'm a bit confused, because even if I add libx11-6 in my
   build-dependencies (which provides libX11.so.6) I still get the error.
  
  Er, you need the package that provides *libX11.so*, not libX11.so.6.  You
  should be build-depending on libx11-dev, not on libx11-6: you should *never*
  need to build-depend on runtime lib packages.
 
 My package *did* build-depend on libx11-dev, and I got the FTBS even
 with that build-dependcy. 
 
 As I was puzzled, I tried to add libx11-6 in my build dependcy, in order
 to try. But whatever I did, I get a FTBS in my pbuilder...

This patch fixes it here:

 Section: x11
 Priority: optional
 Maintainer: Alexis Sukrieh [EMAIL PROTECTED]
-Build-Depends: debhelper (= 4.0.0), libjpeg62-dev, libexpat1-dev, 
libpng12-dev, dpatch, libxv-dev
+Build-Depends: debhelper (= 4.0.0), libjpeg62-dev, libexpat1-dev, 
libpng12-dev, dpatch, libxv-dev, libx11-dev, libxext-dev, x-dev, libxt-dev
 Standards-Version: 3.6.1
 
 Package: electricsheep

The addition of libx11-dev, libxext-dev and x-dev are because the package
#includes headers from those packages.  I only did a simplistic grep
test, so it may be over generous in my dependency (for instance, if a
chunk of source is not actually built or used, my test would miss that
completely).  The addition of libxt-dev is for the configure test for X
(it looks for X11/Intrinsic.h from the libxt-dev package) and then fills
in the autoconf macro X_LIBS=' -L/usr/X11R6/lib'.  Without this bit,
linking fails.  With it, it succeeds.

The fact that /usr/X11R6/lib is in /etc/ld.so.conf and the linker still
doesn't look there is a bit mystifying (as I thought that's, er, exactly
what that file is for) but that's a seperate problem.

Take care,
-- 
 -
|   ,''`.Stephen Gran |
|  : :' :[EMAIL PROTECTED] |
|  `. `'Debian user, admin, and developer |
|`- http://www.debian.org |
 -


signature.asc
Description: Digital signature