Build failure on Ubuntu 16.04 LTS

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

Build failure on Ubuntu 16.04 LTS

Stevethefiddle
Ubuntu 16.04.2 LTS
g++ (Ubuntu 5.4.0-6ubuntu1~16.04.4) 5.4.0

../configure --with-lib-preference="local system" 2>&1 | tee build.log
make -j 8 2>&1 | tee -a build.log

build.log attached,

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

build.log (908K) Download Attachment
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Build failure on Ubuntu 16.04 LTS

Paul Licameli


On Sun, Jul 30, 2017 at 6:48 PM, Steve the Fiddle <[hidden email]> wrote:
Ubuntu 16.04.2 LTS
g++ (Ubuntu 5.4.0-6ubuntu1~16.04.4) 5.4.0

../configure --with-lib-preference="local system" 2>&1 | tee build.log
make -j 8 2>&1 | tee -a build.log

build.log attached,

Steve

It looks like the build fails in libsoxr, but nothing changed in our lib-src/libsoxr since May 2016.  I don't undestand either.

PRL

 

------------------------------------------------------------------------------
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 Ubuntu 16.04 LTS

Darrell Walisser
There is a problem with the (cmake generated) Makefile in libsoxr. You can find the log line where libsoxr/configure is invoked, which in turn calls cmake. There are several warnings, these should not be there. Perhaps it chokes on the argument list.

<<<<<<<<<<<<<<<<<<<<<<

=== configuring in lib-src/libsoxr (/home/steve/Sourcecode/audacity/build/lib-src/libsoxr)
configure: running /bin/bash ../../../lib-src/libsoxr/configure --disable-option-checking '--prefix=/usr/local/'  '--with-lib-preference=local system' '--with-wx-config=/usr/bin/wx-config' '--enable-static=yes' '--enable-shared=no' '--disable-xmms-plugin' '--disable-doxygen-docs' '--disable-thorough-tests' '--disable-programs' '--disable-sqlite' '--disable-external-libs' '--disable-alsa' '--disable-programs' '--disable-programs' '--disable-oggtest' 'OGG_CFLAGS=-I/home/steve/Sourcecode/audacity/build/lib-src/libogg/include -I/home/steve/Sourcecode/audacity/build/../lib-src/libogg/include' 'OGG_LIBS=/home/steve/Sourcecode/audacity/build/lib-src/libogg/src/libogg.la' '--with-ogg-includes=/home/steve/Sourcecode/audacity/build/lib-src/libogg/include -I/home/steve/Sourcecode/audacity/build/../lib-src/libogg/include' '--with-ogg-libraries=/home/steve/Sourcecode/audacity/build/lib-src/libogg/src/.libs' 'PORTAUDIO_CFLAGS=-I/home/steve/Sourcecode/audacity/build/../lib-src/portaudio-v19/include' 'PORTAUDIO_LIBS=/home/steve/Sourcecode/audacity/build/../lib-src/portaudio-v19/lib/libportaudio.la' --cache-file=/dev/null --srcdir=../../../lib-src/libsoxr
CMake Warning (dev) at cmake/Modules/TestBigEndian.cmake:9 (if):
  Policy CMP0054 is not set: Only interpret if() arguments as variables or
  keywords when unquoted.  Run "cmake --help-policy CMP0054" for policy
  details.  Use the cmake_policy command to set the policy and suppress this
  warning.

  Quoted variables like "HAVE_WORDS_BIGENDIAN" will no longer be dereferenced
  when the policy is set to NEW.  Since the policy is not set the OLD
  behavior will be used.
Call Stack (most recent call first):
  CMakeLists.txt:110 (test_big_endian)
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) at src/CMakeLists.txt:96 (get_property):
  Policy CMP0026 is not set: Disallow use of the LOCATION target property.
  Run "cmake --help-policy CMP0026" for policy details.  Use the cmake_policy
  command to set the policy and suppress this warning.

  The LOCATION property should not be read from target "soxr".  Use the
  target name directly with add_custom_command, or use the generator
  expression $<TARGET_FILE>, as appropriate.

This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) at src/CMakeLists.txt:102 (get_property):
  Policy CMP0026 is not set: Disallow use of the LOCATION target property.
  Run "cmake --help-policy CMP0026" for policy details.  Use the cmake_policy
  command to set the policy and suppress this warning.

  The LOCATION property should not be read from target "soxr-lsr".  Use the
  target name directly with add_custom_command, or use the generator
  expression $<TARGET_FILE>, as appropriate.

This warning is for project developers.  Use -Wno-dev to suppress it.

-- Configuring done
-- Generating done

>>>>>>>>>>>>>>>>>>>>>>>>>>>


On Sun, Jul 30, 2017 at 10:08 PM, Paul Licameli <[hidden email]> wrote:


On Sun, Jul 30, 2017 at 6:48 PM, Steve the Fiddle <[hidden email]> wrote:
Ubuntu 16.04.2 LTS
g++ (Ubuntu 5.4.0-6ubuntu1~16.04.4) 5.4.0

../configure --with-lib-preference="local system" 2>&1 | tee build.log
make -j 8 2>&1 | tee -a build.log

build.log attached,

Steve

It looks like the build fails in libsoxr, but nothing changed in our lib-src/libsoxr since May 2016.  I don't undestand either.

PRL

 

------------------------------------------------------------------------------
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 Ubuntu 16.04 LTS

Stevethefiddle
On 31 July 2017 at 04:09, Darrell Walisser <[hidden email]> wrote:

> There is a problem with the (cmake generated) Makefile in libsoxr. You can
> find the log line where libsoxr/configure is invoked, which in turn calls
> cmake. There are several warnings, these should not be there. Perhaps it
> chokes on the argument list.
>
> <<<<<<<<<<<<<<<<<<<<<<
>
> === configuring in lib-src/libsoxr
> (/home/steve/Sourcecode/audacity/build/lib-src/libsoxr)
> configure: running /bin/bash ../../../lib-src/libsoxr/configure
> --disable-option-checking '--prefix=/usr/local/'
> '--with-lib-preference=local system' '--with-wx-config=/usr/bin/wx-config'
> '--enable-static=yes' '--enable-shared=no' '--disable-xmms-plugin'
> '--disable-doxygen-docs' '--disable-thorough-tests' '--disable-programs'
> '--disable-sqlite' '--disable-external-libs' '--disable-alsa'
> '--disable-programs' '--disable-programs' '--disable-oggtest'
> 'OGG_CFLAGS=-I/home/steve/Sourcecode/audacity/build/lib-src/libogg/include
> -I/home/steve/Sourcecode/audacity/build/../lib-src/libogg/include'
> 'OGG_LIBS=/home/steve/Sourcecode/audacity/build/lib-src/libogg/src/libogg.la'
> '--with-ogg-includes=/home/steve/Sourcecode/audacity/build/lib-src/libogg/include
> -I/home/steve/Sourcecode/audacity/build/../lib-src/libogg/include'
> '--with-ogg-libraries=/home/steve/Sourcecode/audacity/build/lib-src/libogg/src/.libs'
> 'PORTAUDIO_CFLAGS=-I/home/steve/Sourcecode/audacity/build/../lib-src/portaudio-v19/include'
> 'PORTAUDIO_LIBS=/home/steve/Sourcecode/audacity/build/../lib-src/portaudio-v19/lib/libportaudio.la'
> --cache-file=/dev/null --srcdir=../../../lib-src/libsoxr
> CMake Warning (dev) at cmake/Modules/TestBigEndian.cmake:9 (if):
>   Policy CMP0054 is not set: Only interpret if() arguments as variables or
>   keywords when unquoted.  Run "cmake --help-policy CMP0054" for policy
>   details.  Use the cmake_policy command to set the policy and suppress this
>   warning.
>
>   Quoted variables like "HAVE_WORDS_BIGENDIAN" will no longer be
> dereferenced
>   when the policy is set to NEW.  Since the policy is not set the OLD
>   behavior will be used.
> Call Stack (most recent call first):
>   CMakeLists.txt:110 (test_big_endian)
> This warning is for project developers.  Use -Wno-dev to suppress it.
>
> CMake Warning (dev) at src/CMakeLists.txt:96 (get_property):
>   Policy CMP0026 is not set: Disallow use of the LOCATION target property.
>   Run "cmake --help-policy CMP0026" for policy details.  Use the
> cmake_policy
>   command to set the policy and suppress this warning.
>
>   The LOCATION property should not be read from target "soxr".  Use the
>   target name directly with add_custom_command, or use the generator
>   expression $<TARGET_FILE>, as appropriate.
>
> This warning is for project developers.  Use -Wno-dev to suppress it.
>
> CMake Warning (dev) at src/CMakeLists.txt:102 (get_property):
>   Policy CMP0026 is not set: Disallow use of the LOCATION target property.
>   Run "cmake --help-policy CMP0026" for policy details.  Use the
> cmake_policy
>   command to set the policy and suppress this warning.
>
>   The LOCATION property should not be read from target "soxr-lsr".  Use the
>   target name directly with add_custom_command, or use the generator
>   expression $<TARGET_FILE>, as appropriate.
>
> This warning is for project developers.  Use -Wno-dev to suppress it.
>
> -- Configuring done
> -- Generating done
>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>

Yes the problem is with building libsoxr.
If I configure to build with local libraries except for libsoxr (use
system library for libsoxr) then Audacity builds.

Have there been any recent changes to how we build libsoxr, or more
generally, libraries written in C?

Steve

>
>
> On Sun, Jul 30, 2017 at 10:08 PM, Paul Licameli <[hidden email]>
> wrote:
>>
>>
>>
>> On Sun, Jul 30, 2017 at 6:48 PM, Steve the Fiddle
>> <[hidden email]> wrote:
>>>
>>> Ubuntu 16.04.2 LTS
>>> g++ (Ubuntu 5.4.0-6ubuntu1~16.04.4) 5.4.0
>>>
>>> ../configure --with-lib-preference="local system" 2>&1 | tee build.log
>>> make -j 8 2>&1 | tee -a build.log
>>>
>>> build.log attached,
>>>
>>> Steve
>>
>>
>> It looks like the build fails in libsoxr, but nothing changed in our
>> lib-src/libsoxr since May 2016.  I don't undestand either.
>>
>> PRL
>>
>>
>>>
>>>
>>>
>>> ------------------------------------------------------------------------------

------------------------------------------------------------------------------
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...