bugGNU Octave - Bugs: bug #49039, build fails when portaudio v18 is...

 
 

bug #49039: build fails when portaudio v18 is installed

Submitted by:  Hartmut <hardy>
Submitted on:  Fri 09 Sep 2016 05:56:32 PM UTC  
 
Category: Configuration and Build SystemSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Regression
Status: FixedAssigned to: Mike Miller <mtmiller>
Originator Name: Open/Closed: Closed
Release: 4.2.0-rc1Operating System: GNU/Linux

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Sat 10 Sep 2016 02:36:42 PM UTC, comment #5:

I have compiled a recent version of the default tree in the Octave repository (hg id b0caa61934fe), this includes Rik's patch.

And now the build process works fine on my (unchanged) Ubuntu 14.04 machine.

So this patch seems to work fine, thanks!

Hartmut <hardy>
Fri 09 Sep 2016 11:36:25 PM UTC, comment #4:

This is now fixed on the default branch (and will be fixed in 4.2.0-rc2). Tested with portaudio v19 from Debian unstable repository and with portaudio v18 from Debian wheezy repository.

http://hg.savannah.gnu.org/hgweb/octave/rev/30002d6568c4

Mike Miller <mtmiller>
Project AdministratorIn charge of this item.
Fri 09 Sep 2016 10:39:27 PM UTC, comment #3:

This might be due to a change I made in configure not too long ago, I'll take a look at this. I should be able to install the old and new versions of portaudio on my system and make sure the build knows the difference.

Mike Miller <mtmiller>
Project AdministratorIn charge of this item.
Fri 09 Sep 2016 06:25:11 PM UTC, comment #2:

The following packages ARE installed on my Ubuntu 14.04 sytem:

  • libportaudio0 18.1-7.1
  • libportaudio-dev 18.1-7.1
  • libportaudio2 19+svn20140130-1
  • libportaudiocpp0 19+svn20140130-1

The following packages ARE NOT installed:

  • portaudio19-dev

Sorry, but I am not enough of an Linux expert to tell why Octave comes to wrong conclusions about my installed portaudio packages.

When I remember right, older Octave versions told me that portaudio was NOT found at all (let me know if you want me to again run the configure script of an older Octave release).

Hartmut <hardy>
Fri 09 Sep 2016 06:04:14 PM UTC, comment #1:

Thanks for your bug report. The relevant library is actually portaudio here, not sndfile. The audiodevinfo.cc file should be guarded by HAVE_PORTAUDIO, which means it is only compiled if the portaudio header files and libraries are present. Since configure did not warn you about portaudio, and is in fact listed as found, can you determine why the header files are not found on your system or why they are incompatible with what Octave expects them to contain?

On Ubuntu the packages should be called portaudio19-dev and libportaudio2.

Mike Miller <mtmiller>
Project AdministratorIn charge of this item.
Fri 09 Sep 2016 05:56:32 PM UTC, original submission:

I have compiled the current Octave-4.2.0-rc1 tarball on my Ubuntu 14.04 linux machine. This worked fine several times before (some months ago) but now the build process fails because of the missing package "sndfile library" that is really not installed on my Ubuntu system.

The details are following:

Those are the commands I used in order to do the compilation:
(I have used the "--disable-docs" option because of a bug in the osmesa package in Ubuntu 14.04.)

This is the final output of the configure command (the very last lines are most interesting):
Despite this "WARNING", Octave used to compile fine before, and also used to pass all tests eventually. It used to only not have the mentioned audio features.

But now the build process FAILs and gives me this output:

Please let me know if you want me to try other things (different configure options?) or need more information on the installed packages on my Ubuntu system.

Hartmut <hardy>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by mtmiller (Posted a comment)
  • -unavailable- added by hardy (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only project members can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 5 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Fri 09 Sep 2016 11:36:25 PM UTCmtmillerStatusNeed Info=>Fixed
      Open/ClosedOpen=>Closed
    Fri 09 Sep 2016 10:39:56 PM UTCmtmillerSummarybuild fails when sndfile library is missing=>build fails when portaudio v18 is installed
    Fri 09 Sep 2016 10:39:27 PM UTCmtmillerAssigned toNone=>mtmiller
    Fri 09 Sep 2016 06:04:14 PM UTCmtmillerStatusNone=>Need Info

    Back to the top


    Powered by Savane 3.1-cleanup1