Discussion:
Build failure on 'buntu 16.04 LTS
(too old to reply)
Steve the Fiddle
2017-07-10 09:10:59 UTC
Permalink
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
Henric Jungheim
2017-07-10 10:11:01 UTC
Permalink
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
Post by Steve the Fiddle
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.
/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
https://lists.sourceforge.net/lists/listinfo/audacity-devel
Steve the Fiddle
2017-07-10 10:18:53 UTC
Permalink
I'm not really wanting to mess up my build environment. Audacity
'should' (and previously did) build without downgrading gcc on Ubuntu
LTS.

Steve
Post by 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
https://travis-ci.org/audacity/audacity/builds/251767786
Post by Steve the Fiddle
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.
/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
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
https://lists.sourceforge.net/lists/listinfo/audacity-devel
Steve the Fiddle
2017-07-10 12:25:44 UTC
Permalink
Post by Steve the Fiddle
I'm not really wanting to mess up my build environment. Audacity
'should' (and previously did) build without downgrading gcc on Ubuntu
LTS.
Steve
Post by Henric Jungheim
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
Post by Steve the Fiddle
Post by Henric Jungheim
Compare the bit on your box with what is around line 584 and
https://travis-ci.org/audacity/audacity/builds/251767786
Post by Steve the Fiddle
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.
/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
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
https://lists.sourceforge.net/lists/listinfo/audacity-devel
Steve the Fiddle
2017-07-10 13:36:58 UTC
Permalink
Post by Steve the Fiddle
Post by Steve the Fiddle
I'm not really wanting to mess up my build environment. Audacity
'should' (and previously did) build without downgrading gcc on Ubuntu
LTS.
Steve
Post by Henric Jungheim
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
Post by Steve the Fiddle
Steve
Post by Steve the Fiddle
Post by Henric Jungheim
Compare the bit on your box with what is around line 584 and
https://travis-ci.org/audacity/audacity/builds/251767786
Post by Steve the Fiddle
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.
/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
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
https://lists.sourceforge.net/lists/listinfo/audacity-devel
Paul Licameli
2017-07-10 14:31:19 UTC
Permalink
Post by Steve the Fiddle
Post by Steve the Fiddle
Post by Steve the Fiddle
I'm not really wanting to mess up my build environment. Audacity
'should' (and previously did) build without downgrading gcc on Ubuntu
LTS.
Steve
Post by Henric Jungheim
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.
Post by Steve the Fiddle
Post by Steve the Fiddle
Steve
Post by Steve the Fiddle
Post by Henric Jungheim
Compare the bit on your box with what is around line 584 and
https://travis-ci.org/audacity/audacity/builds/251767786
Post by Steve the Fiddle
Build fails on Ubuntu / Xubuntu 16.04 (the current long term support
version).
Post by Steve the Fiddle
Post by Steve the Fiddle
Post by Henric Jungheim
Post by Steve the Fiddle
1) Ubuntu 16.04 uses g++ 5 by default, which worked fine last week,
but is now too new for Audacity.
/audacity/build/src/../../src/AudioIO.cpp:3984: undefined reference
to
Post by Steve the Fiddle
Post by Steve the Fiddle
Post by Henric Jungheim
Post by Steve the Fiddle
`PaUtil_GetTime'
collect2: error: ld returned 1 exit status
Makefile:2350: recipe for target 'audacity' failed
Steve
------------------------------------------------------------
------------------
Post by Steve the Fiddle
Post by Steve the Fiddle
Post by Henric Jungheim
Post by Steve the Fiddle
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
https://lists.sourceforge.net/lists/listinfo/audacity-devel
------------------------------------------------------------
------------------
Post by Steve the Fiddle
Post by Steve the Fiddle
Post by Henric Jungheim
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
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
https://lists.sourceforge.net/lists/listinfo/audacity-devel
Steve the Fiddle
2017-07-10 15:47:38 UTC
Permalink
I've now got it to build with 9489fed (current head) using local
PortAudio and PortMidi, but still not recognising MIDI devices.

Steve
Post by Paul Licameli
Post by Steve the Fiddle
Post by Steve the Fiddle
Post by Steve the Fiddle
I'm not really wanting to mess up my build environment. Audacity
'should' (and previously did) build without downgrading gcc on Ubuntu
LTS.
Steve
Post by Henric Jungheim
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.
Post by Steve the Fiddle
Post by Steve the Fiddle
Steve
Post by Steve the Fiddle
Post by Henric Jungheim
Compare the bit on your box with what is around line 584 and
https://travis-ci.org/audacity/audacity/builds/251767786
Post by Steve the Fiddle
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.
/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
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
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
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
https://lists.sourceforge.net/lists/listinfo/audacity-devel
Paul Licameli
2017-07-10 15:56:05 UTC
Permalink
Post by Steve the Fiddle
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
Post by Steve the Fiddle
On Mon, Jul 10, 2017 at 9:36 AM, Steve the Fiddle <
Post by Steve the Fiddle
Post by Steve the Fiddle
Post by Steve the Fiddle
I'm not really wanting to mess up my build environment. Audacity
'should' (and previously did) build without downgrading gcc on Ubuntu
LTS.
Steve
Post by Henric Jungheim
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.
Post by Steve the Fiddle
Post by Steve the Fiddle
Steve
Post by Steve the Fiddle
Post by Henric Jungheim
Compare the bit on your box with what is around line 584 and
https://travis-ci.org/audacity/audacity/builds/251767786
Post by Steve the Fiddle
Build fails on Ubuntu / Xubuntu 16.04 (the current long term
support
Post by Steve the Fiddle
Post by Steve the Fiddle
Post by Steve the Fiddle
Post by Henric Jungheim
Post by Steve the Fiddle
version).
1) Ubuntu 16.04 uses g++ 5 by default, which worked fine last week,
but is now too new for Audacity.
/audacity/build/src/../../src/AudioIO.cpp:3984: undefined
reference
Post by Steve the Fiddle
Post by Steve the Fiddle
Post by Steve the Fiddle
Post by Henric Jungheim
Post by Steve the Fiddle
to
`PaUtil_GetTime'
collect2: error: ld returned 1 exit status
Makefile:2350: recipe for target 'audacity' failed
Steve
------------------------------------------------------------
------------------
Post by Steve the Fiddle
Post by Steve the Fiddle
Post by Steve the Fiddle
Post by Henric Jungheim
Post by Steve the Fiddle
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
https://lists.sourceforge.net/lists/listinfo/audacity-devel
------------------------------------------------------------
------------------
Post by Steve the Fiddle
Post by Steve the Fiddle
Post by Steve the Fiddle
Post by Henric Jungheim
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
https://lists.sourceforge.net/lists/listinfo/audacity-devel
------------------------------------------------------------
------------------
Post by Steve the Fiddle
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
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
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
https://lists.sourceforge.net/lists/listinfo/audacity-devel
Steve the Fiddle
2017-07-10 17:40:12 UTC
Permalink
On Mon, Jul 10, 2017 at 11:47 AM, Steve the Fiddle
Post by Steve the Fiddle
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
Post by Steve the Fiddle
On Mon, Jul 10, 2017 at 9:36 AM, Steve the Fiddle
Post by Steve the Fiddle
Post by Steve the Fiddle
Post by Steve the Fiddle
I'm not really wanting to mess up my build environment. Audacity
'should' (and previously did) build without downgrading gcc on Ubuntu
LTS.
Steve
Post by Henric Jungheim
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.
Post by Steve the Fiddle
Post by Steve the Fiddle
Steve
Post by Steve the Fiddle
Post by Henric Jungheim
Compare the bit on your box with what is around line 584 and
https://travis-ci.org/audacity/audacity/builds/251767786
Post by Steve the Fiddle
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.
/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
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
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
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
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
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
https://lists.sourceforge.net/lists/listinfo/audacity-devel
Loading...