Build from source on Kali fails

I git cloned the project.
installed the prerequisites
reading the install everything works well except:
Configure Audacity using CMake:

$ mkdir build && cd build
$ cmake -G “Unix Makefiles” …/audacity

finally fails with :

Checking whether the ASM_NASM compiler is GNU using “–version” did not match “(GNU assembler)|(GCC)|(Free Software Foundation)”:
NASM version 2.15.05
Checking whether the ASM_NASM compiler is Clang using “–version” did not match “(clang version)”:
NASM version 2.15.05
Checking whether the ASM_NASM compiler is AppleClang using “–version” did not match “(Apple LLVM version)”:
NASM version 2.15.05
Checking whether the ASM_NASM compiler is ARMClang using “–version” did not match “armclang”:
NASM version 2.15.05
Checking whether the ASM_NASM compiler is HP using “-V” did not match “HP C”:
nasm: error: unrecognised option `-V’
Checking whether the ASM_NASM compiler is Intel using “–version” did not match “(ICC)”:
NASM version 2.15.05
Checking whether the ASM_NASM compiler is IntelLLVM using “–version” did not match “(Intel[^
]+oneAPI)”:
NASM version 2.15.05

Checking whether the ASM_NASM compiler is TI using “-h” did not match “Texas Instruments”:
Usage: /usr/bin/nasm [-@ response_file] [options…] [–] filename
/usr/bin/nasm -v (or --v)

Options (values in brackets indicate defaults):

-h show this text and exit (also --help)
-v (or --v) print the NASM version number and exit
-@ file response file; one command line option per line

-o outfile write output to outfile
–keep-all output files will not be removed even if an error happens

-Xformat specifiy error reporting format (gnu or vc)
-s redirect error messages to stdout
-Zfile redirect error messages to file

-M generate Makefile dependencies on stdout
-MG d:o, missing files assumed generated
-MF file set Makefile dependency file
-MD file assemble and generate dependencies
-MT file dependency target name
-MQ file dependency target name (quoted)
-MP emit phony targets

-f format select output file format
bin Flat raw binary (MS-DOS, embedded, …) [default]
ith Intel Hex encoded flat binary

I did check nasm installation

└─# nasm --version
NASM version 2.15.05


not sure what the build script is looking for.

my OS is
└─# lsb_release -a
No LSB modules are available.
Distributor ID: Kali
Description: Kali GNU/Linux Rolling
Release: 2022.3
Codename: kali-rolling

Can someone help?

one further note I notice it’s trying to pass -V to nasm.
the flag is actually -v lowercase

┌──(agrapha㉿saint)-[~/Downloads/PocketSphinx/pocketsphinx]
└─$ nasm -V
nasm: error: unrecognised option `-V’

┌──(agrapha㉿saint)-[~/Downloads/PocketSphinx/pocketsphinx]
└─$ nasm -v
NASM version 2.15.05

┌──(agrapha㉿saint)-[~/Downloads/PocketSphinx/pocketsphinx]
└─$

I doubt that any of the developers have even tried building Audacity on Kali. Is there a particular reason that you’re using Kali?

It’s Debian under the hood just better gui and glues up better.
Im not what would be called new around unix.

The build runs for a long time before it finally fails.

nothing special about the hardware 2Tb mostly free
└─$ cpu-info
Packages:
0: Intel Core i5-3570
Microarchitectures:
4x Ivy Bridge
Cores:
0: 1 processor (0), Intel Ivy Bridge
1: 1 processor (1), Intel Ivy Bridge
2: 1 processor (2), Intel Ivy Bridge
3: 1 processor (3), Intel Ivy Bridge
Logical processors (System ID):
0 (0): APIC ID 0x00000000
1 (1): APIC ID 0x00000002
2 (2): APIC ID 0x00000004
3 (3): APIC ID 0x00000006

intel i5 should still be big enough to build Audacity

So is Ubuntu, and it builds fine for me (on Xubuntu) :wink:
Perhaps worth asking the Devs on their discord channel: Audacity dev