Build failure on 'buntu 16.04 LTS

classic Classic list List threaded Threaded
10 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Build failure on 'buntu 16.04 LTS

Stevethefiddle
Build fails on Ubuntu / Xubuntu 16.04 (the current long term support version).

1) Ubuntu 16.04 uses g++ 5 by default, which worked fine last week,
but is now too new for Audacity.

2) Even after downgrading to g++ 4.9, I get the build error:
audacity-AudioIO.o: In function `AudioIO::MidiTime()':
/audacity/build/src/../../src/AudioIO.cpp:3984: undefined reference to
`PaUtil_GetTime'
collect2: error: ld returned 1 exit status
Makefile:2350: recipe for target 'audacity' failed

Steve

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
audacity-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/audacity-devel
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Build failure on 'buntu 16.04 LTS

Henric Jungheim

Is your "configure" finding a portaudio library in the
system or is it using the one from the Audacity source?

Compare the bit on your box with what is around line 584 and
616:
   https://travis-ci.org/audacity/audacity/builds/251767786


On Mon, Jul 10, 2017 at 10:10:59AM +0100, Steve the Fiddle wrote:

> Build fails on Ubuntu / Xubuntu 16.04 (the current long term support version).
>
> 1) Ubuntu 16.04 uses g++ 5 by default, which worked fine last week,
> but is now too new for Audacity.
>
> 2) Even after downgrading to g++ 4.9, I get the build error:
> audacity-AudioIO.o: In function `AudioIO::MidiTime()':
> /audacity/build/src/../../src/AudioIO.cpp:3984: undefined reference to
> `PaUtil_GetTime'
> collect2: error: ld returned 1 exit status
> Makefile:2350: recipe for target 'audacity' failed
>
> Steve
>
> ------------------------------------------------------------------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> _______________________________________________
> audacity-devel mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/audacity-devel

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
audacity-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/audacity-devel
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Build failure on 'buntu 16.04 LTS

Stevethefiddle
I'm not really wanting to mess up my build environment. Audacity
'should' (and previously did) build without downgrading gcc on Ubuntu
LTS.

Steve

On 10 July 2017 at 11:11, Henric Jungheim <[hidden email]> wrote:

>
> Is your "configure" finding a portaudio library in the
> system or is it using the one from the Audacity source?
>
> Compare the bit on your box with what is around line 584 and
> 616:
>    https://travis-ci.org/audacity/audacity/builds/251767786
>
>
> On Mon, Jul 10, 2017 at 10:10:59AM +0100, Steve the Fiddle wrote:
>> Build fails on Ubuntu / Xubuntu 16.04 (the current long term support version).
>>
>> 1) Ubuntu 16.04 uses g++ 5 by default, which worked fine last week,
>> but is now too new for Audacity.
>>
>> 2) Even after downgrading to g++ 4.9, I get the build error:
>> audacity-AudioIO.o: In function `AudioIO::MidiTime()':
>> /audacity/build/src/../../src/AudioIO.cpp:3984: undefined reference to
>> `PaUtil_GetTime'
>> collect2: error: ld returned 1 exit status
>> Makefile:2350: recipe for target 'audacity' failed
>>
>> Steve
>>
>> ------------------------------------------------------------------------------
>> Check out the vibrant tech community on one of the world's most
>> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
>> _______________________________________________
>> audacity-devel mailing list
>> [hidden email]
>> https://lists.sourceforge.net/lists/listinfo/audacity-devel
>
> ------------------------------------------------------------------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> _______________________________________________
> audacity-devel mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/audacity-devel

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
audacity-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/audacity-devel
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Build failure on 'buntu 16.04 LTS

Stevethefiddle
On 10 July 2017 at 11:18, Steve the Fiddle <[hidden email]> wrote:

> I'm not really wanting to mess up my build environment. Audacity
> 'should' (and previously did) build without downgrading gcc on Ubuntu
> LTS.
>
> Steve
>
> On 10 July 2017 at 11:11, Henric Jungheim <[hidden email]> wrote:
>>
>> Is your "configure" finding a portaudio library in the
>> system or is it using the one from the Audacity source?

It's using the system library.

Steve

>>
>> Compare the bit on your box with what is around line 584 and
>> 616:
>>    https://travis-ci.org/audacity/audacity/builds/251767786
>>
>>
>> On Mon, Jul 10, 2017 at 10:10:59AM +0100, Steve the Fiddle wrote:
>>> Build fails on Ubuntu / Xubuntu 16.04 (the current long term support version).
>>>
>>> 1) Ubuntu 16.04 uses g++ 5 by default, which worked fine last week,
>>> but is now too new for Audacity.
>>>
>>> 2) Even after downgrading to g++ 4.9, I get the build error:
>>> audacity-AudioIO.o: In function `AudioIO::MidiTime()':
>>> /audacity/build/src/../../src/AudioIO.cpp:3984: undefined reference to
>>> `PaUtil_GetTime'
>>> collect2: error: ld returned 1 exit status
>>> Makefile:2350: recipe for target 'audacity' failed
>>>
>>> Steve
>>>
>>> ------------------------------------------------------------------------------
>>> Check out the vibrant tech community on one of the world's most
>>> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
>>> _______________________________________________
>>> audacity-devel mailing list
>>> [hidden email]
>>> https://lists.sourceforge.net/lists/listinfo/audacity-devel
>>
>> ------------------------------------------------------------------------------
>> Check out the vibrant tech community on one of the world's most
>> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
>> _______________________________________________
>> audacity-devel mailing list
>> [hidden email]
>> https://lists.sourceforge.net/lists/listinfo/audacity-devel

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
audacity-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/audacity-devel
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Build failure on 'buntu 16.04 LTS

Stevethefiddle
On 10 July 2017 at 13:25, Steve the Fiddle <[hidden email]> wrote:

> On 10 July 2017 at 11:18, Steve the Fiddle <[hidden email]> wrote:
>> I'm not really wanting to mess up my build environment. Audacity
>> 'should' (and previously did) build without downgrading gcc on Ubuntu
>> LTS.
>>
>> Steve
>>
>> On 10 July 2017 at 11:11, Henric Jungheim <[hidden email]> wrote:
>>>
>>> Is your "configure" finding a portaudio library in the
>>> system or is it using the one from the Audacity source?
>
> It's using the system library.

After uninstalling PortAudio and PortMidi and reverting back to
4e68df5 Audacity will build, but does not see any MIDI devices (a
working MIDI device is present).

Steve

>
> Steve
>
>>>
>>> Compare the bit on your box with what is around line 584 and
>>> 616:
>>>    https://travis-ci.org/audacity/audacity/builds/251767786
>>>
>>>
>>> On Mon, Jul 10, 2017 at 10:10:59AM +0100, Steve the Fiddle wrote:
>>>> Build fails on Ubuntu / Xubuntu 16.04 (the current long term support version).
>>>>
>>>> 1) Ubuntu 16.04 uses g++ 5 by default, which worked fine last week,
>>>> but is now too new for Audacity.
>>>>
>>>> 2) Even after downgrading to g++ 4.9, I get the build error:
>>>> audacity-AudioIO.o: In function `AudioIO::MidiTime()':
>>>> /audacity/build/src/../../src/AudioIO.cpp:3984: undefined reference to
>>>> `PaUtil_GetTime'
>>>> collect2: error: ld returned 1 exit status
>>>> Makefile:2350: recipe for target 'audacity' failed
>>>>
>>>> Steve
>>>>
>>>> ------------------------------------------------------------------------------
>>>> Check out the vibrant tech community on one of the world's most
>>>> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
>>>> _______________________________________________
>>>> audacity-devel mailing list
>>>> [hidden email]
>>>> https://lists.sourceforge.net/lists/listinfo/audacity-devel
>>>
>>> ------------------------------------------------------------------------------
>>> Check out the vibrant tech community on one of the world's most
>>> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
>>> _______________________________________________
>>> audacity-devel mailing list
>>> [hidden email]
>>> https://lists.sourceforge.net/lists/listinfo/audacity-devel

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
audacity-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/audacity-devel
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Build failure on 'buntu 16.04 LTS

Paul Licameli


On Mon, Jul 10, 2017 at 9:36 AM, Steve the Fiddle <[hidden email]> wrote:
On 10 July 2017 at 13:25, Steve the Fiddle <[hidden email]> wrote:
> On 10 July 2017 at 11:18, Steve the Fiddle <[hidden email]> wrote:
>> I'm not really wanting to mess up my build environment. Audacity
>> 'should' (and previously did) build without downgrading gcc on Ubuntu
>> LTS.
>>
>> Steve
>>
>> On 10 July 2017 at 11:11, Henric Jungheim <[hidden email]> wrote:
>>>
>>> Is your "configure" finding a portaudio library in the
>>> system or is it using the one from the Audacity source?
>
> It's using the system library.

After uninstalling PortAudio and PortMidi and reverting back to
4e68df5 Audacity will build, but does not see any MIDI devices (a
working MIDI device is present).

Steve

That is strange.  Nothing since that commit is related to MIDI playback or affected anything in lib-src.  That commit is after the changes Pokechu22 made that fixed the link errors.
 

>
> Steve
>
>>>
>>> Compare the bit on your box with what is around line 584 and
>>> 616:
>>>    https://travis-ci.org/audacity/audacity/builds/251767786
>>>
>>>
>>> On Mon, Jul 10, 2017 at 10:10:59AM +0100, Steve the Fiddle wrote:
>>>> Build fails on Ubuntu / Xubuntu 16.04 (the current long term support version).
>>>>
>>>> 1) Ubuntu 16.04 uses g++ 5 by default, which worked fine last week,
>>>> but is now too new for Audacity.
>>>>
>>>> 2) Even after downgrading to g++ 4.9, I get the build error:
>>>> audacity-AudioIO.o: In function `AudioIO::MidiTime()':
>>>> /audacity/build/src/../../src/AudioIO.cpp:3984: undefined reference to
>>>> `PaUtil_GetTime'
>>>> collect2: error: ld returned 1 exit status
>>>> Makefile:2350: recipe for target 'audacity' failed
>>>>
>>>> Steve
>>>>
>>>> ------------------------------------------------------------------------------
>>>> Check out the vibrant tech community on one of the world's most
>>>> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
>>>> _______________________________________________
>>>> audacity-devel mailing list
>>>> [hidden email]
>>>> https://lists.sourceforge.net/lists/listinfo/audacity-devel
>>>
>>> ------------------------------------------------------------------------------
>>> Check out the vibrant tech community on one of the world's most
>>> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
>>> _______________________________________________
>>> audacity-devel mailing list
>>> [hidden email]
>>> https://lists.sourceforge.net/lists/listinfo/audacity-devel

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
audacity-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/audacity-devel


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
audacity-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/audacity-devel
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Build failure on 'buntu 16.04 LTS

Stevethefiddle
I've now got it to build with 9489fed (current head) using local
PortAudio and PortMidi, but still not recognising MIDI devices.

Steve

On 10 July 2017 at 15:31, Paul Licameli <[hidden email]> wrote:

>
>
> On Mon, Jul 10, 2017 at 9:36 AM, Steve the Fiddle <[hidden email]>
> wrote:
>>
>> On 10 July 2017 at 13:25, Steve the Fiddle <[hidden email]>
>> wrote:
>> > On 10 July 2017 at 11:18, Steve the Fiddle <[hidden email]>
>> > wrote:
>> >> I'm not really wanting to mess up my build environment. Audacity
>> >> 'should' (and previously did) build without downgrading gcc on Ubuntu
>> >> LTS.
>> >>
>> >> Steve
>> >>
>> >> On 10 July 2017 at 11:11, Henric Jungheim <[hidden email]> wrote:
>> >>>
>> >>> Is your "configure" finding a portaudio library in the
>> >>> system or is it using the one from the Audacity source?
>> >
>> > It's using the system library.
>>
>> After uninstalling PortAudio and PortMidi and reverting back to
>> 4e68df5 Audacity will build, but does not see any MIDI devices (a
>> working MIDI device is present).
>>
>> Steve
>
>
> That is strange.  Nothing since that commit is related to MIDI playback or
> affected anything in lib-src.  That commit is after the changes Pokechu22
> made that fixed the link errors.
>
>>
>>
>> >
>> > Steve
>> >
>> >>>
>> >>> Compare the bit on your box with what is around line 584 and
>> >>> 616:
>> >>>    https://travis-ci.org/audacity/audacity/builds/251767786
>> >>>
>> >>>
>> >>> On Mon, Jul 10, 2017 at 10:10:59AM +0100, Steve the Fiddle wrote:
>> >>>> Build fails on Ubuntu / Xubuntu 16.04 (the current long term support
>> >>>> version).
>> >>>>
>> >>>> 1) Ubuntu 16.04 uses g++ 5 by default, which worked fine last week,
>> >>>> but is now too new for Audacity.
>> >>>>
>> >>>> 2) Even after downgrading to g++ 4.9, I get the build error:
>> >>>> audacity-AudioIO.o: In function `AudioIO::MidiTime()':
>> >>>> /audacity/build/src/../../src/AudioIO.cpp:3984: undefined reference
>> >>>> to
>> >>>> `PaUtil_GetTime'
>> >>>> collect2: error: ld returned 1 exit status
>> >>>> Makefile:2350: recipe for target 'audacity' failed
>> >>>>
>> >>>> Steve
>> >>>>
>> >>>>
>> >>>> ------------------------------------------------------------------------------
>> >>>> Check out the vibrant tech community on one of the world's most
>> >>>> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
>> >>>> _______________________________________________
>> >>>> audacity-devel mailing list
>> >>>> [hidden email]
>> >>>> https://lists.sourceforge.net/lists/listinfo/audacity-devel
>> >>>
>> >>>
>> >>> ------------------------------------------------------------------------------
>> >>> Check out the vibrant tech community on one of the world's most
>> >>> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
>> >>> _______________________________________________
>> >>> audacity-devel mailing list
>> >>> [hidden email]
>> >>> https://lists.sourceforge.net/lists/listinfo/audacity-devel
>>
>>
>> ------------------------------------------------------------------------------
>> Check out the vibrant tech community on one of the world's most
>> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
>> _______________________________________________
>> audacity-devel mailing list
>> [hidden email]
>> https://lists.sourceforge.net/lists/listinfo/audacity-devel
>
>
>
> ------------------------------------------------------------------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> _______________________________________________
> audacity-devel mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/audacity-devel
>

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
audacity-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/audacity-devel
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Build failure on 'buntu 16.04 LTS

Paul Licameli


On Mon, Jul 10, 2017 at 11:47 AM, Steve the Fiddle <[hidden email]> wrote:
I've now got it to build with 9489fed (current head) using local
PortAudio and PortMidi, but still not recognising MIDI devices.

Steve

Did it ever succeed in recognizing the devices, after 5d15974 ?  Is the failure to find devices a recent regression?

PRL

 

On 10 July 2017 at 15:31, Paul Licameli <[hidden email]> wrote:
>
>
> On Mon, Jul 10, 2017 at 9:36 AM, Steve the Fiddle <[hidden email]>
> wrote:
>>
>> On 10 July 2017 at 13:25, Steve the Fiddle <[hidden email]>
>> wrote:
>> > On 10 July 2017 at 11:18, Steve the Fiddle <[hidden email]>
>> > wrote:
>> >> I'm not really wanting to mess up my build environment. Audacity
>> >> 'should' (and previously did) build without downgrading gcc on Ubuntu
>> >> LTS.
>> >>
>> >> Steve
>> >>
>> >> On 10 July 2017 at 11:11, Henric Jungheim <[hidden email]> wrote:
>> >>>
>> >>> Is your "configure" finding a portaudio library in the
>> >>> system or is it using the one from the Audacity source?
>> >
>> > It's using the system library.
>>
>> After uninstalling PortAudio and PortMidi and reverting back to
>> 4e68df5 Audacity will build, but does not see any MIDI devices (a
>> working MIDI device is present).
>>
>> Steve
>
>
> That is strange.  Nothing since that commit is related to MIDI playback or
> affected anything in lib-src.  That commit is after the changes Pokechu22
> made that fixed the link errors.
>
>>
>>
>> >
>> > Steve
>> >
>> >>>
>> >>> Compare the bit on your box with what is around line 584 and
>> >>> 616:
>> >>>    https://travis-ci.org/audacity/audacity/builds/251767786
>> >>>
>> >>>
>> >>> On Mon, Jul 10, 2017 at 10:10:59AM +0100, Steve the Fiddle wrote:
>> >>>> Build fails on Ubuntu / Xubuntu 16.04 (the current long term support
>> >>>> version).
>> >>>>
>> >>>> 1) Ubuntu 16.04 uses g++ 5 by default, which worked fine last week,
>> >>>> but is now too new for Audacity.
>> >>>>
>> >>>> 2) Even after downgrading to g++ 4.9, I get the build error:
>> >>>> audacity-AudioIO.o: In function `AudioIO::MidiTime()':
>> >>>> /audacity/build/src/../../src/AudioIO.cpp:3984: undefined reference
>> >>>> to
>> >>>> `PaUtil_GetTime'
>> >>>> collect2: error: ld returned 1 exit status
>> >>>> Makefile:2350: recipe for target 'audacity' failed
>> >>>>
>> >>>> Steve
>> >>>>
>> >>>>
>> >>>> ------------------------------------------------------------------------------
>> >>>> Check out the vibrant tech community on one of the world's most
>> >>>> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
>> >>>> _______________________________________________
>> >>>> audacity-devel mailing list
>> >>>> [hidden email]
>> >>>> https://lists.sourceforge.net/lists/listinfo/audacity-devel
>> >>>
>> >>>
>> >>> ------------------------------------------------------------------------------
>> >>> Check out the vibrant tech community on one of the world's most
>> >>> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
>> >>> _______________________________________________
>> >>> audacity-devel mailing list
>> >>> [hidden email]
>> >>> https://lists.sourceforge.net/lists/listinfo/audacity-devel
>>
>>
>> ------------------------------------------------------------------------------
>> Check out the vibrant tech community on one of the world's most
>> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
>> _______________________________________________
>> audacity-devel mailing list
>> [hidden email]
>> https://lists.sourceforge.net/lists/listinfo/audacity-devel
>
>
>
> ------------------------------------------------------------------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> _______________________________________________
> audacity-devel mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/audacity-devel
>

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
audacity-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/audacity-devel


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
audacity-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/audacity-devel
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Build failure on 'buntu 16.04 LTS

Pokechu22
I've seen this once or twice; I'm not exactly sure why it happens.  (It's an issue on my pi, too, but not on other systems).  Probably this would be something that one of the checklib m4 files would be used for (to see if the system one actually includes PaUtil_GetTime).

That said: I'm actually not sure why this is failing, since last time I checked, there actually was a method named PaUtil_GetTime in my system portaudio library (I used nm and it was there; I'm not exactly too skilled with Linux though so I don't know if it being there is everything)

--Poke

On Mon, Jul 10, 2017 at 8:56 AM, Paul Licameli <[hidden email]> wrote:


On Mon, Jul 10, 2017 at 11:47 AM, Steve the Fiddle <[hidden email]> wrote:
I've now got it to build with 9489fed (current head) using local
PortAudio and PortMidi, but still not recognising MIDI devices.

Steve

Did it ever succeed in recognizing the devices, after 5d15974 ?  Is the failure to find devices a recent regression?

PRL

 

On 10 July 2017 at 15:31, Paul Licameli <[hidden email]> wrote:
>
>
> On Mon, Jul 10, 2017 at 9:36 AM, Steve the Fiddle <[hidden email]>
> wrote:
>>
>> On 10 July 2017 at 13:25, Steve the Fiddle <[hidden email]>
>> wrote:
>> > On 10 July 2017 at 11:18, Steve the Fiddle <[hidden email]>
>> > wrote:
>> >> I'm not really wanting to mess up my build environment. Audacity
>> >> 'should' (and previously did) build without downgrading gcc on Ubuntu
>> >> LTS.
>> >>
>> >> Steve
>> >>
>> >> On 10 July 2017 at 11:11, Henric Jungheim <[hidden email]> wrote:
>> >>>
>> >>> Is your "configure" finding a portaudio library in the
>> >>> system or is it using the one from the Audacity source?
>> >
>> > It's using the system library.
>>
>> After uninstalling PortAudio and PortMidi and reverting back to
>> 4e68df5 Audacity will build, but does not see any MIDI devices (a
>> working MIDI device is present).
>>
>> Steve
>
>
> That is strange.  Nothing since that commit is related to MIDI playback or
> affected anything in lib-src.  That commit is after the changes Pokechu22
> made that fixed the link errors.
>
>>
>>
>> >
>> > Steve
>> >
>> >>>
>> >>> Compare the bit on your box with what is around line 584 and
>> >>> 616:
>> >>>    https://travis-ci.org/audacity/audacity/builds/251767786
>> >>>
>> >>>
>> >>> On Mon, Jul 10, 2017 at 10:10:59AM +0100, Steve the Fiddle wrote:
>> >>>> Build fails on Ubuntu / Xubuntu 16.04 (the current long term support
>> >>>> version).
>> >>>>
>> >>>> 1) Ubuntu 16.04 uses g++ 5 by default, which worked fine last week,
>> >>>> but is now too new for Audacity.
>> >>>>
>> >>>> 2) Even after downgrading to g++ 4.9, I get the build error:
>> >>>> audacity-AudioIO.o: In function `AudioIO::MidiTime()':
>> >>>> /audacity/build/src/../../src/AudioIO.cpp:3984: undefined reference
>> >>>> to
>> >>>> `PaUtil_GetTime'
>> >>>> collect2: error: ld returned 1 exit status
>> >>>> Makefile:2350: recipe for target 'audacity' failed
>> >>>>
>> >>>> Steve
>> >>>>
>> >>>>
>> >>>> ------------------------------------------------------------------------------
>> >>>> Check out the vibrant tech community on one of the world's most
>> >>>> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
>> >>>> _______________________________________________
>> >>>> audacity-devel mailing list
>> >>>> [hidden email]
>> >>>> https://lists.sourceforge.net/lists/listinfo/audacity-devel
>> >>>
>> >>>
>> >>> ------------------------------------------------------------------------------
>> >>> Check out the vibrant tech community on one of the world's most
>> >>> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
>> >>> _______________________________________________
>> >>> audacity-devel mailing list
>> >>> [hidden email]
>> >>> https://lists.sourceforge.net/lists/listinfo/audacity-devel
>>
>>
>> ------------------------------------------------------------------------------
>> Check out the vibrant tech community on one of the world's most
>> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
>> _______________________________________________
>> audacity-devel mailing list
>> [hidden email]
>> https://lists.sourceforge.net/lists/listinfo/audacity-devel
>
>
>
> ------------------------------------------------------------------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> _______________________________________________
> audacity-devel mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/audacity-devel
>

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
audacity-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/audacity-devel


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
audacity-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/audacity-devel



------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
audacity-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/audacity-devel
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Build failure on 'buntu 16.04 LTS

Stevethefiddle
In reply to this post by Paul Licameli
On 10 July 2017 at 16:56, Paul Licameli <[hidden email]> wrote:

>
>
> On Mon, Jul 10, 2017 at 11:47 AM, Steve the Fiddle
> <[hidden email]> wrote:
>>
>> I've now got it to build with 9489fed (current head) using local
>> PortAudio and PortMidi, but still not recognising MIDI devices.
>>
>> Steve
>
>
> Did it ever succeed in recognizing the devices, after 5d15974 ?  Is the
> failure to find devices a recent regression?

MIDI has only recently been enabled for Linux builds. Today is the
first time I've managed to build with MIDI enabled, so no, Audacity
has never recognised MIDI devices. There;s nothing relevant in the log
either. Perhaps worth putting some debug messages in ?

Steve

>
> PRL
>
>
>>
>>
>> On 10 July 2017 at 15:31, Paul Licameli <[hidden email]> wrote:
>> >
>> >
>> > On Mon, Jul 10, 2017 at 9:36 AM, Steve the Fiddle
>> > <[hidden email]>
>> > wrote:
>> >>
>> >> On 10 July 2017 at 13:25, Steve the Fiddle <[hidden email]>
>> >> wrote:
>> >> > On 10 July 2017 at 11:18, Steve the Fiddle <[hidden email]>
>> >> > wrote:
>> >> >> I'm not really wanting to mess up my build environment. Audacity
>> >> >> 'should' (and previously did) build without downgrading gcc on
>> >> >> Ubuntu
>> >> >> LTS.
>> >> >>
>> >> >> Steve
>> >> >>
>> >> >> On 10 July 2017 at 11:11, Henric Jungheim <[hidden email]>
>> >> >> wrote:
>> >> >>>
>> >> >>> Is your "configure" finding a portaudio library in the
>> >> >>> system or is it using the one from the Audacity source?
>> >> >
>> >> > It's using the system library.
>> >>
>> >> After uninstalling PortAudio and PortMidi and reverting back to
>> >> 4e68df5 Audacity will build, but does not see any MIDI devices (a
>> >> working MIDI device is present).
>> >>
>> >> Steve
>> >
>> >
>> > That is strange.  Nothing since that commit is related to MIDI playback
>> > or
>> > affected anything in lib-src.  That commit is after the changes
>> > Pokechu22
>> > made that fixed the link errors.
>> >
>> >>
>> >>
>> >> >
>> >> > Steve
>> >> >
>> >> >>>
>> >> >>> Compare the bit on your box with what is around line 584 and
>> >> >>> 616:
>> >> >>>    https://travis-ci.org/audacity/audacity/builds/251767786
>> >> >>>
>> >> >>>
>> >> >>> On Mon, Jul 10, 2017 at 10:10:59AM +0100, Steve the Fiddle wrote:
>> >> >>>> Build fails on Ubuntu / Xubuntu 16.04 (the current long term
>> >> >>>> support
>> >> >>>> version).
>> >> >>>>
>> >> >>>> 1) Ubuntu 16.04 uses g++ 5 by default, which worked fine last
>> >> >>>> week,
>> >> >>>> but is now too new for Audacity.
>> >> >>>>
>> >> >>>> 2) Even after downgrading to g++ 4.9, I get the build error:
>> >> >>>> audacity-AudioIO.o: In function `AudioIO::MidiTime()':
>> >> >>>> /audacity/build/src/../../src/AudioIO.cpp:3984: undefined
>> >> >>>> reference
>> >> >>>> to
>> >> >>>> `PaUtil_GetTime'
>> >> >>>> collect2: error: ld returned 1 exit status
>> >> >>>> Makefile:2350: recipe for target 'audacity' failed
>> >> >>>>
>> >> >>>> Steve
>> >> >>>>
>> >> >>>>
>> >> >>>>
>> >> >>>> ------------------------------------------------------------------------------
>> >> >>>> Check out the vibrant tech community on one of the world's most
>> >> >>>> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
>> >> >>>> _______________________________________________
>> >> >>>> audacity-devel mailing list
>> >> >>>> [hidden email]
>> >> >>>> https://lists.sourceforge.net/lists/listinfo/audacity-devel
>> >> >>>
>> >> >>>
>> >> >>>
>> >> >>> ------------------------------------------------------------------------------
>> >> >>> Check out the vibrant tech community on one of the world's most
>> >> >>> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
>> >> >>> _______________________________________________
>> >> >>> audacity-devel mailing list
>> >> >>> [hidden email]
>> >> >>> https://lists.sourceforge.net/lists/listinfo/audacity-devel
>> >>
>> >>
>> >>
>> >> ------------------------------------------------------------------------------
>> >> Check out the vibrant tech community on one of the world's most
>> >> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
>> >> _______________________________________________
>> >> audacity-devel mailing list
>> >> [hidden email]
>> >> https://lists.sourceforge.net/lists/listinfo/audacity-devel
>> >
>> >
>> >
>> >
>> > ------------------------------------------------------------------------------
>> > Check out the vibrant tech community on one of the world's most
>> > engaging tech sites, Slashdot.org! http://sdm.link/slashdot
>> > _______________________________________________
>> > audacity-devel mailing list
>> > [hidden email]
>> > https://lists.sourceforge.net/lists/listinfo/audacity-devel
>> >
>>
>>
>> ------------------------------------------------------------------------------
>> Check out the vibrant tech community on one of the world's most
>> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
>> _______________________________________________
>> audacity-devel mailing list
>> [hidden email]
>> https://lists.sourceforge.net/lists/listinfo/audacity-devel
>
>
>
> ------------------------------------------------------------------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> _______________________________________________
> audacity-devel mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/audacity-devel
>

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
audacity-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/audacity-devel
Loading...