Bug#543108: valkyrie: FTBFS: configure: line 5232: syntax error near unexpected token `fi'

2009-09-03 Thread Lucas Nussbaum
On 03/09/09 at 00:23 +0300, Hai Zaar wrote:
> On Wed, Sep 2, 2009 at 12:37 PM, Lucas Nussbaum 
> wrote:
> > On 02/09/09 at 12:20 +0300, Hai Zaar wrote:
> >> On Wed, Sep 2, 2009 at 8:44 AM, Lucas Nussbaum 
> >> wrote:
> >> >
> >> > Have you tried in a clean chroot, maybe?
> >> Ain't got one. If I upload (hopefully) fixed package to
> >> mentors.debian.net, could you try it from there?
> >
> > sorry, ENOTIME. You should really have a clean chroot if you work on
> > debian packaging. Google for pbuilder.
> I'm glad I've had finally no choice but to learn how to use it. Thanks :)
> 
> Anyway, I've fixed the bug. It looks like sid's version of /bin/sh has
> problem with empty else->fi statement.

It's probably because sid switched to dash in /bin/sh.
problems in your patch:
Shall compatability => Shell compatibility
Sid (Lenny+1) => errr :-)

> I've uploaded the fixed package to
> http://mentors.debian.net/debian/pool/main/v/valkyrie/. Can you please
> sponsor an upload?

I run rebuilds of all Debian packages on a regular basis. Last time, I
filed ~100 bugs. If I had to sponsor the fixes for all the bugs I file,
I wouldn't have the time to run the rebuilds.

So I think it's better if you ask your usual sponsor to review and
upload your package.
-- 
| Lucas Nussbaum
| lu...@lucas-nussbaum.net   http://www.lucas-nussbaum.net/ |
| jabber: lu...@nussbaum.fr GPG: 1024D/023B3F4F |



-- 
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#543108: valkyrie: FTBFS: configure: line 5232: syntax error near unexpected token `fi'

2009-09-02 Thread Hai Zaar
On Wed, Sep 2, 2009 at 12:37 PM, Lucas Nussbaum wrote:
> On 02/09/09 at 12:20 +0300, Hai Zaar wrote:
>> On Wed, Sep 2, 2009 at 8:44 AM, Lucas Nussbaum 
>> wrote:
>> >
>> > Have you tried in a clean chroot, maybe?
>> Ain't got one. If I upload (hopefully) fixed package to
>> mentors.debian.net, could you try it from there?
>
> sorry, ENOTIME. You should really have a clean chroot if you work on
> debian packaging. Google for pbuilder.
I'm glad I've had finally no choice but to learn how to use it. Thanks :)

Anyway, I've fixed the bug. It looks like sid's version of /bin/sh has
problem with empty else->fi statement.
I've uploaded the fixed package to
http://mentors.debian.net/debian/pool/main/v/valkyrie/. Can you please
sponsor an upload?

> --
> | Lucas Nussbaum
> | lu...@lucas-nussbaum.net   http://www.lucas-nussbaum.net/ |
> | jabber: lu...@nussbaum.fr             GPG: 1024D/023B3F4F |
>



-- 
Zaar



--
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#543108: valkyrie: FTBFS: configure: line 5232: syntax error near unexpected token `fi'

2009-09-02 Thread Lucas Nussbaum
On 02/09/09 at 12:20 +0300, Hai Zaar wrote:
> On Wed, Sep 2, 2009 at 8:44 AM, Lucas Nussbaum 
> wrote:
> >
> > Have you tried in a clean chroot, maybe?
> Ain't got one. If I upload (hopefully) fixed package to
> mentors.debian.net, could you try it from there?

sorry, ENOTIME. You should really have a clean chroot if you work on
debian packaging. Google for pbuilder.
-- 
| Lucas Nussbaum
| lu...@lucas-nussbaum.net   http://www.lucas-nussbaum.net/ |
| jabber: lu...@nussbaum.fr GPG: 1024D/023B3F4F |



-- 
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#543108: valkyrie: FTBFS: configure: line 5232: syntax error near unexpected token `fi'

2009-09-02 Thread Hai Zaar
On Wed, Sep 2, 2009 at 8:44 AM, Lucas Nussbaum wrote:
>
> Have you tried in a clean chroot, maybe?
Ain't got one. If I upload (hopefully) fixed package to
mentors.debian.net, could you try it from there?


-- 
Zaar



-- 
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#543108: valkyrie: FTBFS: configure: line 5232: syntax error near unexpected token `fi'

2009-09-01 Thread Lucas Nussbaum
On 02/09/09 at 00:42 +0300, Hai Zaar wrote:
> I think I've found the problem - autoreconf was run _before_ patches
> were applied. I've fixed this by changing line in debian/rules files
> from:
> makebuilddir/valkyrie::
> to
> post-patches::
> 
> Now autoreconf is being run properly. But the question is how do I
> check it? - On my Lenny system the issue does not happen (although
> this is a bug indeed). Any advice please?

Have you tried in a clean chroot, maybe?
-- 
| Lucas Nussbaum
| lu...@lucas-nussbaum.net   http://www.lucas-nussbaum.net/ |
| jabber: lu...@nussbaum.fr GPG: 1024D/023B3F4F |



-- 
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#543108: valkyrie: FTBFS: configure: line 5232: syntax error near unexpected token `fi'

2009-09-01 Thread Hai Zaar
I think I've found the problem - autoreconf was run _before_ patches
were applied. I've fixed this by changing line in debian/rules files
from:
makebuilddir/valkyrie::
to
post-patches::

Now autoreconf is being run properly. But the question is how do I
check it? - On my Lenny system the issue does not happen (although
this is a bug indeed). Any advice please?

-- 
Zaar



-- 
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#543108: valkyrie: FTBFS: configure: line 5232: syntax error near unexpected token `fi'

2009-08-22 Thread Lucas Nussbaum
Package: valkyrie
Version: 1.4.0-1
Severity: serious
User: debian...@lists.debian.org
Usertags: qa-ftbfs-20090822 qa-ftbfs
Justification: FTBFS on amd64

Hi,

During a rebuild of all packages in sid, your package failed to build on
amd64.

Relevant part:
> make[1]: Entering directory 
> `/build/user-valkyrie_1.4.0-1-amd64-9B7Ifm/valkyrie-1.4.0'
> make[1]: Nothing to be done for `update-config'.
> make[1]: Leaving directory 
> `/build/user-valkyrie_1.4.0-1-amd64-9B7Ifm/valkyrie-1.4.0'
> touch debian/stamp-autotools-files
> chmod a+x /build/user-valkyrie_1.4.0-1-amd64-9B7Ifm/valkyrie-1.4.0/./configure
> cd . && CC="cc" CXX="g++" CFLAGS="-g -O2 -g -Wall -O2" CXXFLAGS="-g -O2 -g 
> -Wall -O2" CPPFLAGS="" LDFLAGS="" LDFLAGS="-Wl,-z,defs -Wl,-O3 
> -Wl,--as-needed" 
> /build/user-valkyrie_1.4.0-1-amd64-9B7Ifm/valkyrie-1.4.0/./configure 
> --build=x86_64-linux-gnu --prefix=/usr --includedir="\${prefix}/include" 
> --mandir="\${prefix}/share/man" --infodir="\${prefix}/share/info" 
> --sysconfdir=/etc --localstatedir=/var --libexecdir="\${prefix}/lib/valkyrie" 
> --disable-maintainer-mode --disable-dependency-tracking --srcdir=.  
> --with-Qt-dir=/usr/share/qt3 
> configure: WARNING: unrecognized options: --disable-maintainer-mode
> checking for a BSD-compatible install... /usr/bin/install -c
> checking whether build environment is sane... yes
> checking for a thread-safe mkdir -p... /bin/mkdir -p
> checking for gawk... no
> checking for mawk... mawk
> checking whether make sets $(MAKE)... yes
> checking for style of include used by make... GNU
> checking for C++ compiler default output file name... a.out
> checking whether the C++ compiler works... yes
> checking whether we are cross compiling... no
> checking for suffix of executables... 
> checking for suffix of object files... o
> checking whether we are using the GNU C++ compiler... yes
> checking whether g++ accepts -g... yes
> checking dependency style of g++... none
> checking for gcc... cc
> checking whether we are using the GNU C compiler... yes
> checking whether cc accepts -g... yes
> checking for cc option to accept ISO C89... none needed
> checking dependency style of cc... none
> checking how to run the C preprocessor... cc -E
> checking for X... libraries , headers 
> checking for gethostbyname... yes
> checking for connect... yes
> checking for remove... yes
> checking for shmat... yes
> checking for IceConnectionNumber in -lICE... yes
> /build/user-valkyrie_1.4.0-1-amd64-9B7Ifm/valkyrie-1.4.0/./configure: line 
> 5232: syntax error near unexpected token `fi'
> /build/user-valkyrie_1.4.0-1-amd64-9B7Ifm/valkyrie-1.4.0/./configure: line 
> 5232: `fi'
> make: *** [config.status] Error 2

The full build log is available from:
   
http://people.debian.org/~lucas/logs/2009/08/22/valkyrie_1.4.0-1_lsid64.buildlog

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 about 50 AMD64 nodes
of the Grid'5000 platform, using a clean chroot.  Internet was not
accessible from the build systems.

-- 
| Lucas Nussbaum
| lu...@lucas-nussbaum.net   http://www.lucas-nussbaum.net/ |
| jabber: lu...@nussbaum.fr GPG: 1024D/023B3F4F |



-- 
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org