hylafax version 2:6.0.5-5ubuntu1 failed to build on i386

Bug #749061 reported by Matthias Klose
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
hylafax (Ubuntu)
Fix Released
High
Unassigned
Oneiric
Fix Released
High
Unassigned

Bug Description

hylafax version 2:6.0.5-5ubuntu1 failed to build on i386
Link to failed build: https://launchpad.net/ubuntu/+archive/test-rebuild-20110329/+buildjob/2395802

Direct link to the build log: https://launchpad.net/ubuntu/+archive/test-rebuild-20110329/+buildjob/2395802/+files/buildlog_ubuntu-natty-i386.hylafax_2%3A6.0.5-5ubuntu1_FAILEDTOBUILD.txt.gz

This log snippet might be of interest, since it triggered the matcher 'Purging chroot-autobuild'.
Excerpt 1003 lines into the build log:

Configuring HylaFAX (tm) (aka FlexFAX) 6.0.5.

If configure does the wrong thing, check the file config.log for
information that may help you understand what went wrong.

Reading site-wide parameters from ./config.site.
Oh no, not another i686-pc-linux-gnu system...
Using /usr/bin/gcc for a C compiler (set CC to override).
Looks like /usr/bin/gcc supports the -g option.
... but not together with the -O option, not using it.
Looks like /usr/bin/gcc has an ANSI C preprocessor.
... but __ANSI_CPP__ is not automatically defined, will compensate.
Looks like /usr/bin/gcc supports the -M option for generating make dependencies.
Using /usr/bin/g++ for a C++ compiler (set CXX to override).
Looks like /usr/bin/g++ supports the -g option.
Using " -g" for C++ compiler options.
Looks like /usr/bin/g++ has an ANSI C preprocessor.
... but __ANSI_CPP__ is not automatically defined, will compensate.
Using /usr/bin/make to configure the software.
Using "include file" syntax for Makefiles.
Looks like make supports "sinclude" for conditional includes.
make[1]: *** [override_dh_auto_configure] Error 2
make[1]: Leaving directory `/build/buildd/hylafax-6.0.5'
make: *** [build] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2
******************************************************************************
Build finished at 20110403-0925
FAILED [dpkg-buildpackage died]
Purging chroot-autobuild/build/buildd/hylafax-6.0.5

Related branches

tags: added: oneiric
Changed in hylafax (Ubuntu):
milestone: none → oneiric-alpha-1
Changed in hylafax (Ubuntu Oneiric):
milestone: oneiric-alpha-1 → oneiric-alpha-2
Revision history for this message
Michael van der Kolff (mvanderkolff) wrote :

It seems there's a bug in their configure, but it isn't a bashism (forced it to use /bin/bash, and still no dice)... it's not an autoconf one, and definitely hand-baked, down to the strange messages emitted when detecting type of system being built for. One fix might be to use autoconf, though there was probably a reason they didn't in the first place...

Cheers,

Michael

Revision history for this message
Michael van der Kolff (mvanderkolff) wrote :

Basic issue is that GNU make 'helpfully' adds printouts from directories when it is called. This is probably in a form that can be used upstream...

Cheers,

Michael

Revision history for this message
Michael van der Kolff (mvanderkolff) wrote :

Sorry, typo in that patch... Adding one that isn't missing an indirection.

tags: added: patch
Changed in hylafax (Ubuntu Oneiric):
milestone: oneiric-alpha-2 → none
status: New → Confirmed
tags: added: universe
Matthias Klose (doko)
Changed in hylafax (Ubuntu Oneiric):
importance: Undecided → High
Revision history for this message
Michael van der Kolff (mvanderkolff) wrote :

Is there something wrong with the patch I posted? Please let me know if there's something I can do to make it more palatable...

Cheers,

Michael

Revision history for this message
Dave Walker (davewalker) wrote :

Hi Michael,

Thanks for the patch, I actually couldn't quite understand why it resolved the issue - could you explain it please?

Also, note that it makes it easier for sponsors if the patch is debianized, however that is not a blocker.

Thanks.

Revision history for this message
Michael van der Kolff (mvanderkolff) wrote : Re: [Bug 749061] Re: hylafax version 2:6.0.5-5ubuntu1 failed to build on i386

Make adds further output when called from another instance of make (through
the MAKELEVEL environment variable ). This patch takes away that extra
output ).
On 13/09/2011 9:55 AM, "Dave Walker" <email address hidden> wrote:
> Hi Michael,
>
> Thanks for the patch, I actually couldn't quite understand why it
> resolved the issue - could you explain it please?
>
> Also, note that it makes it easier for sponsors if the patch is
> debianized, however that is not a blocker.
>
> Thanks.
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/749061
>
> Title:
> hylafax version 2:6.0.5-5ubuntu1 failed to build on i386
>
> Status in “hylafax” package in Ubuntu:
> Confirmed
> Status in “hylafax” source package in Oneiric:
> Confirmed
>
> Bug description:
> hylafax version 2:6.0.5-5ubuntu1 failed to build on i386
> Link to failed build:
https://launchpad.net/ubuntu/+archive/test-rebuild-20110329/+buildjob/2395802
>
> Direct link to the build log: https://launchpad.net/ubuntu/+archive
> /test-rebuild-20110329/+buildjob/2395802/+files/buildlog_ubuntu-
> natty-i386.hylafax_2%3A6.0.5-5ubuntu1_FAILEDTOBUILD.txt.gz
>
> This log snippet might be of interest, since it triggered the matcher
'Purging chroot-autobuild'.
> Excerpt 1003 lines into the build log:
>
> Configuring HylaFAX (tm) (aka FlexFAX) 6.0.5.
>
> If configure does the wrong thing, check the file config.log for
> information that may help you understand what went wrong.
>
> Reading site-wide parameters from ./config.site.
> Oh no, not another i686-pc-linux-gnu system...
> Using /usr/bin/gcc for a C compiler (set CC to override).
> Looks like /usr/bin/gcc supports the -g option.
> ... but not together with the -O option, not using it.
> Looks like /usr/bin/gcc has an ANSI C preprocessor.
> ... but __ANSI_CPP__ is not automatically defined, will compensate.
> Looks like /usr/bin/gcc supports the -M option for generating make
dependencies.
> Using /usr/bin/g++ for a C++ compiler (set CXX to override).
> Looks like /usr/bin/g++ supports the -g option.
> Using " -g" for C++ compiler options.
> Looks like /usr/bin/g++ has an ANSI C preprocessor.
> ... but __ANSI_CPP__ is not automatically defined, will compensate.
> Using /usr/bin/make to configure the software.
> Using "include file" syntax for Makefiles.
> Looks like make supports "sinclude" for conditional includes.
> make[1]: *** [override_dh_auto_configure] Error 2
> make[1]: Leaving directory `/build/buildd/hylafax-6.0.5'
> make: *** [build] Error 2
> dpkg-buildpackage: error: debian/rules build gave error exit status 2
>
******************************************************************************
> Build finished at 20110403-0925
> FAILED [dpkg-buildpackage died]
> Purging chroot-autobuild/build/buildd/hylafax-6.0.5
>
> To manage notifications about this bug go to:
>
https://bugs.launchpad.net/ubuntu/+source/hylafax/+bug/749061/+subscriptions

Revision history for this message
Chris Coulson (chrisccoulson) wrote :

Looks sensible to me, will upload this. Would you mind forwarding your change to Debian too?

Thanks!

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package hylafax - 2:6.0.5-5ubuntu2

---------------
hylafax (2:6.0.5-5ubuntu2) oneiric; urgency=low

  * Fix LP: #749061 - fix FTBFS caused by a bug in the configure script,
    exposed when being called from make
    - add debian/patches/902_fix_configure_with_recursive_make.patch
    - update debian/patches/series
 -- Michael van der Kolff <email address hidden> Tue, 13 Sep 2011 14:02:21 +0100

Changed in hylafax (Ubuntu Oneiric):
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.