audacity will not build.

Kevin Oberman rkoberman at gmail.com
Wed Sep 23 02:59:45 UTC 2015


On Tue, Sep 22, 2015 at 3:28 AM, Bernt Hansson <bah at bananmonarki.se> wrote:

> Hello list!
>
> Trying to build audacity with no success on
> FreeBSD 9.3-RELEASE #0 r278921: Wed Feb 18 01:20:28 CET 2015 root at fqdn:/usr/obj/usr/src/sys/GENERIC
> amd64
>
> Error is below.
>
> mv -f .deps/audacity-Matrix.Tpo .deps/audacity-Matrix.Po
> c++ -DHAVE_CONFIG_H -I.  -D__STDC_CONSTANT_MACROS
> -DLIBDIR=\"/usr/local/lib\" -I/usr/local/include
> -I../lib-src/portaudio-v19/include  -I/usr/local/include
> -I../lib-src/lib-widget-extra
> -I/usr/local/lib/wx/include/gtk2-unicode-release-2.8
> -I/usr/local/include/wx-2.8 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES
> -D__WXGTK__ -pthread -D_THREAD_SAFE   -I../lib-src/ffmpeg -I../lib-src/lame
> -I/usr/local/include    -I/usr/local/include -I../lib-src/libnyquist
> -I/usr/local/include/soundtouch -I/usr/local/include
>  -I/usr/local/include    -I../lib-src/portsmf -I../lib-src/sbsms/include
> -I/usr/ports/audio/audacity/work/audacity-minsrc-2.1.0/lib-src/portsmf
> -I/usr/local/include/ffmpeg -I/usr/local/include  -Wall
> -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0
> -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include
> -I/usr/local/include -I/usr/local/include/cairo
> -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2
> -I/usr/local/include/libpng16 -I/usr/local/include/libdrm
> -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/atk-1.0
> -D_THREAD_SAFE -pthread  -I/usr/local/include/harfbuzz
> -I../lib-src/portmixer/include -O2 -pipe
> -I/usr/ports/audio/audacity/work/audacity-minsrc-2.1.0/lib-src/portsmf
> -I/usr/ports/audio/audacity/work/audacity-minsrc-2.1.0/lib-src/portaudio-v19/include
> -I/usr/ports/audio/audacity/work/audacity-minsrc-2.1.0/lib-src/lame
> -I/usr/local/include -I/usr/local/include/ffmpeg -fstack-protector
> -fno-strict-aliasing
> -I/usr/ports/audio/audacity/work/audacity-minsrc-2.1.0/lib-src/portsmf
> -I/usr/local/include/ffmpeg  -Wall -I../include -I../lib-src/FileDialog
>              -MT audacity-Menus.o -MD -MP -MF .deps/audacity-Menus.Tpo -c
> -o audacity-Menus.o `test -f 'Menus.cpp' || echo './'`Menus.cpp
> In file included from Menus.cpp:81:
> NoteTrack.h:79: error: 'Alg_seq_ptr' does not name a type
> Menus.cpp: In member function 'void AudacityProject::OnPaste()':
> Menus.cpp:4054: warning: unused variable 'bResult'
> Menus.cpp: In member function 'bool
> AudacityProject::HandlePasteNothingSelected()':
> Menus.cpp:4190: warning: unused variable 'bResult'
> gmake[2]: *** [audacity-Menus.o] Error 1
> gmake[2]: Leaving directory
> `/usr/ports/audio/audacity/work/audacity-minsrc-2.1.0/src'
> gmake[1]: *** [all] Error 2
> gmake[1]: Leaving directory
> `/usr/ports/audio/audacity/work/audacity-minsrc-2.1.0/src'
> gmake: *** [all-recursive] Error 1
> *** [do-build] Error code 1
>
> Stop in /usr/ports/audio/audacity.
> *** [stage] Error code 1
>
> Stop in /usr/ports/audio/audacity.
>

Just a guess, but this is sometimes the result of having an old version of
the header file on the system and the compile using the wrong one. This
should not happen and if it does, a bug report should be filed.

Try "locate NoteTrack.h". If you find one, move it aside and try again.

Again, this is a bit of a long shot, but easy to check.
--
Kevin Oberman, Part time kid herder and retired Network Engineer
E-mail: rkoberman at gmail.com
PGP Fingerprint: D03FB98AFA78E3B78C1694B318AB39EF1B055683


More information about the freebsd-ports mailing list