Bug#654319: sarg: FTBFS: Can't exec "cmake": No such file or directory

2012-01-05 Thread Luigi Gangitano

Il giorno 05/gen/2012, alle ore 21:26, peter green ha scritto:
>> Since sarg uses debhelper for all of its building, this should definitely be 
>> a debhelper bug, not a sarg one.
> Debhelper is just a tool to assist you, it can't do everything for you and it 
> is still your responsibility to add build-depends on the tools your build 
> requires and
> to override debhelper in situations where it is not compatible with your 
> source tree. 
> Unfortunately even after installing cmake the build still
> fails for me with. 
>> dh_auto_configure: cmake .. -DCMAKE_INSTALL_PREFIX=/usr 
>> -DCMAKE_VERBOSE_MAKEFILE=ON --prefix=/usr --mandir=${prefix}/share/man 
>> --infodir=${prefix}/share/info --bindir=/usr/bin --sysconfdir=/etc/sarg 
>> --mandir=/usr/share/man/man1 
>> --enable-fontdir=/usr/share/fonts/truetype/ttf-dejavu 
>> --enable-imagedir=/usr/share/sarg/images --enable-sargphp=/usr/share/sarg 
>> returned exit code 1
>> make[1]: *** [override_dh_auto_configure] Error 2


Thanks for your patience. This was indeed a bug in dh automatic build system 
detection which tried to build sarg with cmake instead of common autoconf 
(which should, IMHO, be the preferred choice if present).

Sarg uses cmake for mingw builds on Windows and this is why it does not work 
with cmake in debian.

Strange enough, I don't have cmake installed on my build system and my builds 
gets correctly completed with autoconf, so it took me pretty long to identify 
the source of this bug.

In the 2.3.2-2 version, which I'm uploading right now, the build system is 
manually chosen.

Regards,

L

--
Luigi Gangitano --  -- 
GPG: 1024D/924C0C26: 12F8 9C03 89D3 DB4A 9972  C24A F19B A618 924C 0C26




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



Bug#654319: sarg: FTBFS: Can't exec "cmake": No such file or directory

2012-01-05 Thread peter green

I cannot reproduce this bug,

Most likely that means whatever build environment you used
already had cmake installed.

It is important to use a tool like pbuilder or cowbuilder
with a base environment kept as clean as possible when
trying to reduce this kind of bug. 

can you please check the debhelper version on the box? 
debhelper is not kept permanently installed in mostbuildd 
chroots. Looking at the logs it seems most of the buildds

use 8.9.13. Not that I think it's relavent.

Since sarg uses debhelper for all of its building, 
this should definitely be a debhelper bug, not a sarg one.
Debhelper is just a tool to assist you, it can't do 
everything for you and it is still your responsibility 
to add build-depends on the tools your build requires and
to override debhelper in situations where it is not 
compatible with your source tree. 


Unfortunately even after installing cmake the build still
fails for me with. 


dh_auto_configure: cmake .. -DCMAKE_INSTALL_PREFIX=/usr 
-DCMAKE_VERBOSE_MAKEFILE=ON --prefix=/usr --mandir=${prefix}/share/man 
--infodir=${prefix}/share/info --bindir=/usr/bin --sysconfdir=/etc/sarg 
--mandir=/usr/share/man/man1 
--enable-fontdir=/usr/share/fonts/truetype/ttf-dejavu 
--enable-imagedir=/usr/share/sarg/images --enable-sargphp=/usr/share/sarg 
returned exit code 1
make[1]: *** [override_dh_auto_configure] Error 2








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



Bug#654319: sarg: FTBFS: Can't exec "cmake": No such file or directory

2012-01-03 Thread Christoph Egger
Hi!

Luigi Gangitano  writes:
> I cannot reproduce this bug, can you please check the debhelper
> version on the box? Since sarg uses debhelper for all of its building,
> this should definitely be a debhelper bug, not a sarg one.

  As sarg fails on all 13 buildds I strongly doubt it is a buildd
problem. Have you ever checked to build your package in a clean chroot
(like sbuild or pbuilder)? Are you sure your build-dependencies are
correct? I can, for instance, not see any dependency on cmake.

Regards

Christoph



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



Bug#654319: sarg: FTBFS: Can't exec "cmake": No such file or directory

2012-01-02 Thread Luigi Gangitano
Hi Cristoph,

I cannot reproduce this bug, can you please check the debhelper version on the 
box? Since sarg uses debhelper for all of its building, this should definitely 
be a debhelper bug, not a sarg one.

Regards,

L

--
Luigi Gangitano --  -- 
GPG: 1024D/924C0C26: 12F8 9C03 89D3 DB4A 9972  C24A F19B A618 924C 0C26




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



Bug#654319: sarg: FTBFS: Can't exec "cmake": No such file or directory

2012-01-02 Thread Christoph Egger
Package: src:sarg
Version: 2.3.2-1
Severity: serious
Tags: sid wheezy
Justification: fails to build from source (but built successfully in the past)

Hi!

Your package failed to build on the buildds:
dh_auto_configure -- --prefix=/usr \
--mandir=\${prefix}/share/man \
--infodir=\${prefix}/share/info \
--bindir=/usr/bin \
--sysconfdir=/etc/sarg \
--mandir=/usr/share/man/man1 \
--enable-fontdir=/usr/share/fonts/truetype/ttf-dejavu \
--enable-imagedir=/usr/share/sarg/images \
--enable-sargphp=/usr/share/sarg
Can't exec "cmake": No such file or directory at 
/usr/share/perl5/Debian/Debhelper/Dh_Lib.pm line 215.
dh_auto_configure: cmake .. -DCMAKE_INSTALL_PREFIX=/usr 
-DCMAKE_VERBOSE_MAKEFILE=ON --prefix=/usr --mandir=${prefix}/share/man 
--infodir=${prefix}/share/info --bindir=/usr/bin --sysconfdir=/etc/sarg 
--mandir=/usr/share/man/man1 
--enable-fontdir=/usr/share/fonts/truetype/ttf-dejavu 
--enable-imagedir=/usr/share/sarg/images --enable-sargphp=/usr/share/sarg 
failed to to execute: No such file or directory


Full build log at
https://buildd.debian.org/status/fetch.php?pkg=sarg&arch=kfreebsd-amd64&ver=2.3.2-1&stamp=1324935200

Regards

Christoph



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