← Back to team overview

ubuntustudio-bugs team mailing list archive

[Bug 629955] Re: audacity 1.3.12-5 FTBFS on maverick

 

Launchpad has imported 10 comments from the remote bug at
http://bugzilla.audacityteam.org/show_bug.cgi?id=221.

If you reply to an imported comment from within Launchpad, your comment
will be sent to the remote bug automatically. Read more about
Launchpad's inter-bugtracker facilities at
https://help.launchpad.net/InterBugTracking.

------------------------------------------------------------------------
On 2010-09-03T21:02:06+00:00 Gale wrote:

See

http://audacity.238276.n2.nabble.com/audacity-trunk-fails-to-build-
tp5417386p5419334.html

and

http://audacity.238276.n2.nabble.com/configure-error-on-
Ubuntu-10-10-td5495951.html#a5495951

(Build logs available there)

configure failed for lib-src/portmixer

Benjamin Drung gets this problem on Ubuntu 10.10 and says there is no
system port audio version nor other portmixer headers installed.

Richard thinks it's an Audacity problem which only shows up with very recent toolchains (maybe GCC-version sensitive). The problem has been reported as a Gentoo bug as well. The speculation there was that some change in recent GCC had broken one of the autoconf macros we use in the portmixer configure script 
(AC_EGREP_HEADERS?).

Reply at:
https://bugs.launchpad.net/ubuntu/+source/audacity/+bug/629955/comments/0

------------------------------------------------------------------------
On 2010-09-20T11:01:54+00:00 G-benjamin wrote:

We have found the reason for the failing AC_EGREP_HEADER: gcc 4.5
changed the behavior: If a header named in a #include directive is not
found, the compiler exits immediately. This avoids a cascade of errors
arising from declarations expected to be found in that header being
missing.

The configure script checks the existence of
PaMacCore_GetStreamInputDevice in pa_mac_core.h, which is used in
src/px_mac_coreaudio.c. Afterwards it checks if src/px_mac_coreaudio.c
should be built.

On Ubuntu, we don't want to build src/px_mac_coreaudio.c and we don't
have the required AudioUnit/AudioUnit.h header, which leads to this bug.

The fix (suggested by Matthias) is to only run the AC_EGREP_HEADER test,
if you build src/px_mac_coreaudio.c. This means to change the order of
AC_CHECK_HEADERS and AC_EGREP_HEADER in configure.ac.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/audacity/+bug/629955/comments/11

------------------------------------------------------------------------
On 2010-09-20T11:02:57+00:00 G-benjamin wrote:

You can find more details in the Ubuntu bug:
https://launchpad.net/bugs/629955

Reply at:
https://bugs.launchpad.net/ubuntu/+source/audacity/+bug/629955/comments/12

------------------------------------------------------------------------
On 2010-09-21T11:37:33+00:00 G-benjamin wrote:

Created attachment 44
configure.ac.patch

Here is my patch for switching the order. After applying the patch you
have to run autoreconf in lib-src/portmixer.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/audacity/+bug/629955/comments/13

------------------------------------------------------------------------
On 2010-09-28T07:59:15+00:00 G-benjamin wrote:

Created attachment 45
configure.ac_v2.patch

Here's the patch made with svn (-p0 instead of -p1).

Reply at:
https://bugs.launchpad.net/ubuntu/+source/audacity/+bug/629955/comments/15

------------------------------------------------------------------------
On 2010-10-01T10:28:57+00:00 Gale wrote:

Fixed by http://code.google.com/p/audacity/source/detail?r=10699. Unless
anyone has any other input I think we can just move it to "RESOLVED -
FIXED".

Reply at:
https://bugs.launchpad.net/ubuntu/+source/audacity/+bug/629955/comments/16

------------------------------------------------------------------------
On 2010-10-01T10:38:35+00:00 G-benjamin wrote:

Created attachment 46
autoreconf.patch

One thing is missing. The configure files needs to be regenerated by
running autoreconf. You can use the attached patch if you don't have
autoreconf installed on your system. I wrote that to the mailing list
two days ago, but I don't find the mail in the archive [1].

[1] http://sourceforge.net/mailarchive/forum.php?forum_name=audacity-
devel

Reply at:
https://bugs.launchpad.net/ubuntu/+source/audacity/+bug/629955/comments/17

------------------------------------------------------------------------
On 2010-10-02T20:04:28+00:00 Vaughan-audacityteam wrote:

(In reply to comment #6)

autoreconf.patch applied.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/audacity/+bug/629955/comments/18

------------------------------------------------------------------------
On 2010-10-09T10:54:30+00:00 Gale wrote:

Benjamin, can we resolve this fixed or do you want to retest (which you
can't do due to the portaudio build problem:
http://audacity.238276.n2.nabble.com/audacity-trunk-fails-to-build-on-
Ubuntu-tp5602646p5602646.html ) ?

Reply at:
https://bugs.launchpad.net/ubuntu/+source/audacity/+bug/629955/comments/19

------------------------------------------------------------------------
On 2010-10-09T11:06:04+00:00 G-benjamin wrote:

Yes, this bug is fixed. I was able to successfully build audacity
revision 10703 on Ubuntu 10.10 (maverick).

Reply at:
https://bugs.launchpad.net/ubuntu/+source/audacity/+bug/629955/comments/20


** Changed in: audacity
       Status: Unknown => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Studio Bugs, which is subscribed to audacity in Ubuntu.
Matching subscriptions: Ubuntu Studio Bugs
https://bugs.launchpad.net/bugs/629955

Title:
  audacity 1.3.12-5 FTBFS on maverick

Status in Audacity:
  Fix Released
Status in audacity package in Ubuntu:
  Fix Released
Status in gcc-4.5 package in Ubuntu:
  Invalid
Status in audacity package in Debian:
  Fix Released
Status in Gentoo Linux:
  Fix Released

Bug description:
  Binary package hint: audacity

  audacity 1.3.12-5 fails to build from source on maverick:

  configure failed for lib-src/portmixer

  Richard thinks it's an Audacity problem which only shows up with very recent
  toolchains (maybe GCC-version sensitive). The problem has been reported as a
  Gentoo bug as well. The speculation there was that some change in recent GCC
  had broken one of the autoconf macros we use in the portmixer configure script
  (AC_EGREP_HEADERS?).

  Full build log: http://launchpadlibrarian.net/53254262
  /buildlog_ubuntu-maverick-amd64.audacity_1.3.12-5_FAILEDTOBUILD.txt.gz

To manage notifications about this bug go to:
https://bugs.launchpad.net/audacity/+bug/629955/+subscriptions