mpg123: error build
Open
@wigyori is already working on this.
Since Sep 24, 2025.
bug
release/24.10
- Dominant language
- Makefile
- Stars
- 4.6k
- Forks
- 4k
- Avg merge
- 3d 12h
- Merged PRs (30d)
- 134
Description
Package Name
mpg123
Maintainer
@krant
OpenWrt Version
openwrt-24.10
OpenWrt Target/Subtarget
imx/cortex-a7
Steps to Reproduce
make -C openwrt/ package/feeds/packages/mpg123/compile V=sc
Actual Behaviour
Problem build mpg123-1.32.6 package.
make[2]: Entering directory '/home/ubuntu/project/openwrt/feeds/packages/sound/mpg123'
touch /home/ubuntu/project/openwrt/build_dir/target-arm_cortex-a7+neon-vfpv4_glibc_eabi/mpg123-1.32.6/.prepared_89f8c59efcee4e50f53ce7587c0cbfc7_6664517399ebbbc92a37c5bb081b5c53_check
. /home/ubuntu/project/openwrt/include/shell.sh; bzcat /home/ubuntu/project/dl/mpg123-1.32.6.tar.bz2 | tar -C /home/ubuntu/project/openwrt/build_dir/target-arm_cortex-a7+neon-vfpv4_glibc_eabi/mpg123-1.32.6/.. -xf -
[ ! -d ./src/ ] || cp -fpR ./src/. /home/ubuntu/project/openwrt/build_dir/target-arm_cortex-a7+neon-vfpv4_glibc_eabi/mpg123-1.32.6
touch /home/ubuntu/project/openwrt/build_dir/target-arm_cortex-a7+neon-vfpv4_glibc_eabi/mpg123-1.32.6/.prepared_89f8c59efcee4e50f53ce7587c0cbfc7_6664517399ebbbc92a37c5bb081b5c53
rm -f /home/ubuntu/project/openwrt/build_dir/target-arm_cortex-a7+neon-vfpv4_glibc_eabi/mpg123-1.32.6/.configured_*
rm -f /home/ubuntu/project/openwrt/staging_dir/target-arm_cortex-a7+neon-vfpv4_glibc_eabi/stamp/.mpg123_installed
(cd /home/ubuntu/project/openwrt/build_dir/target-arm_cortex-a7+neon-vfpv4_glibc_eabi/mpg123-1.32.6/./; if [ -x ./configure ]; then find /home/ubuntu/project/openwrt/build_dir/target-arm_cortex-a7+neon-vfpv4_glibc_eabi/mpg123-1.32.6/ -name config.guess | xargs -r chmod u+w; find /home/ubuntu/project/openwrt/build_dir/target-arm_cortex-a7+neon-vfpv4_glibc_eabi/mpg123-1.32.6/ -name config.guess | xargs -r -n1 cp --remove-destination /home/ubuntu/project/openwrt/scripts/config.guess; find /home/ubuntu/project/openwrt/build_dir/target-arm_cortex-a7+neon-vfpv4_glibc_eabi/mpg123-1.32.6/ -name config.sub | xargs -r chmod u+w; find /home/ubuntu/project/openwrt/build_dir/target-arm_cortex-a7+neon-vfpv4_glibc_eabi/mpg123-1.32.6/ -name config.sub | xargs -r -n1 cp --remove-destination /home/ubuntu/project/openwrt/scripts/config.sub; AR="arm-openwrt-linux-gnueabi-gcc-ar" AS="arm-openwrt-linux-gnueabi-gcc -c -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -mfloat-abi=hard -fmacro-prefix-map=/home/ubuntu/project/openwrt/build_dir/target-arm_cortex-a7+neon-vfpv4_glibc_eabi/mpg123-1.32.6=mpg123-1.32.6 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro" LD="arm-openwrt-linux-gnueabi-ld.bfd" NM="arm-openwrt-linux-gnueabi-gcc-nm" CC="arm-openwrt-linux-gnueabi-gcc" GCC="arm-openwrt-linux-gnueabi-gcc" CXX="arm-openwrt-linux-gnueabi-g++" RANLIB="arm-openwrt-linux-gnueabi-gcc-ranlib" STRIP=arm-openwrt-linux-gnueabi-strip OBJCOPY=arm-openwrt-linux-gnueabi-objcopy OBJDUMP=arm-openwrt-linux-gnueabi-objdump SIZE=arm-openwrt-linux-gnueabi-size CFLAGS="-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -mfloat-abi=hard -fmacro-prefix-map=/home/ubuntu/project/openwrt/build_dir/target-arm_cortex-a7+neon-vfpv4_glibc_eabi/mpg123-1.32.6=mpg123-1.32.6 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro " CXXFLAGS="-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -mfloat-abi=hard -fmacro-prefix-map=/home/ubuntu/project/openwrt/build_dir/target-arm_cortex-a7+neon-vfpv4_glibc_eabi/mpg123-1.32.6=mpg123-1.32.6 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro " CPPFLAGS="-I/home/ubuntu/project/openwrt/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-13.3.0_glibc_eabi/usr/include -I/home/ubuntu/project/openwrt/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-13.3.0_glibc_eabi/include " LDFLAGS="-L/home/ubuntu/project/openwrt/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-13.3.0_glibc_eabi/usr/lib -L/home/ubuntu/project/openwrt/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-13.3.0_glibc_eabi/lib -fuse-ld=bfd -znow -zrelro " ./configure --target=arm-openwrt-linux --host=arm-openwrt-linux --build=x86_64-pc-linux-gnu --disable-dependency-tracking --program-prefix="" --program-suffix="" --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --libexecdir=/usr/lib --sysconfdir=/etc --datadir=/usr/share --localstatedir=/var --mandir=/usr/man --infodir=/usr/info --disable-nls --enable-shared --enable-static --with-audio=alsa --with-default-audio=alsa --with-cpu=arm_fpu ; fi; )
configure: WARNING: unrecognized options: --disable-nls
configure: loading site script /home/ubuntu/project/openwrt/include/site/arm
checking build system type... x86_64-pc-linux-gnu
checking host system type... arm-openwrt-linux-gnu
checking for a BSD-compatible install... /home/ubuntu/project/openwrt/staging_dir/host/bin/install -c
checking whether build environment is sane... yes
checking for arm-openwrt-linux-strip... arm-openwrt-linux-gnueabi-strip
checking for a race-free mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking for -Werror in CFLAGS (It breaks tests)... -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -mfloat-abi=hard -fmacro-prefix-map=/home/ubuntu/project/openwrt/build_dir/target-arm_cortex-a7+neon-vfpv4_glibc_eabi/mpg123-1.32.6=mpg123-1.32.6 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro
yes
configure: WARNING: You have -Werror in CFLAGS. That may break some tests and make this configure bogus.
If you want paranoid compilation, use --enable-nagging option, which adds -Werror for gcc.
Also note that you shall not run make distcheck after configuring with --enable-nagging.
distcheck uses the generated CFLAGS...
Anyhow, continuing at your own risk.
checking if you are up to something totally static with LDFLAGS/CFLAGS... no
checking whether make supports the include directive... yes (GNU style)
checking for arm-openwrt-linux-gcc... arm-openwrt-linux-gnueabi-gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... yes
checking for suffix of object files... o
checking whether the compiler supports GNU C... yes
checking whether arm-openwrt-linux-gnueabi-gcc accepts -g... yes
checking for arm-openwrt-linux-gnueabi-gcc option to enable C11 features... none needed
checking whether arm-openwrt-linux-gnueabi-gcc understands -c and -o together... yes
checking dependency style of arm-openwrt-linux-gnueabi-gcc... none
checking dependency style of arm-openwrt-linux-gnueabi-gcc... none
checking for arm-openwrt-linux-gcc... (cached) arm-openwrt-linux-gnueabi-gcc
checking whether the compiler supports GNU C... (cached) yes
checking whether arm-openwrt-linux-gnueabi-gcc accepts -g... (cached) yes
checking for arm-openwrt-linux-gnueabi-gcc option to enable C11 features... (cached) none needed
checking whether arm-openwrt-linux-gnueabi-gcc understands -c and -o together... (cached) yes
checking dependency style of arm-openwrt-linux-gnueabi-gcc... (cached) none
checking how to run the C preprocessor... arm-openwrt-linux-gnueabi-gcc -E
checking for cos in -lm... yes
checking for library containing clock_gettime... none required
checking for clock_gettime... yes
checking for grep that handles long lines and -e... /home/ubuntu/project/openwrt/staging_dir/host/bin/grep
checking for egrep... /home/ubuntu/project/openwrt/staging_dir/host/bin/grep -E
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking for stdio.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for strings.h... yes
checking for sys/stat.h... yes
checking for sys/types.h... yes
checking for unistd.h... yes
checking whether byte ordering is bigendian... (cached) no
checking for windows.h... no
checking for library containing dlopen... none required
checking for library containing dlsym... none required
checking for library containing dlclose... none required
checking for dlfcn.h... yes
checking for dlopen... yes
checking for dlsym... yes
checking for dlclose... yes
We found a runtime loader: Modules enabled.
checking how to print strings... printf
checking for a sed that does not truncate output... /home/ubuntu/project/openwrt/staging_dir/host/bin/sed
checking for fgrep... /home/ubuntu/project/openwrt/staging_dir/host/bin/grep -F
checking for ld used by arm-openwrt-linux-gnueabi-gcc... arm-openwrt-linux-gnueabi-ld.bfd
checking if the linker (arm-openwrt-linux-gnueabi-ld.bfd) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... arm-openwrt-linux-gnueabi-gcc-nm
checking the name lister (arm-openwrt-linux-gnueabi-gcc-nm) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 32768
checking how to convert x86_64-pc-linux-gnu file names to arm-openwrt-linux-gnu format... func_convert_file_noop
checking how to convert x86_64-pc-linux-gnu file names to toolchain format... func_convert_file_noop
checking for arm-openwrt-linux-gnueabi-ld.bfd option to reload object files... -r
checking for arm-openwrt-linux-objdump... arm-openwrt-linux-gnueabi-objdump
checking how to recognize dependent libraries... pass_all
checking for arm-openwrt-linux-dlltool... no
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for arm-openwrt-linux-ar... arm-openwrt-linux-gnueabi-gcc-ar
checking for archiver @FILE support... @
checking for arm-openwrt-linux-strip... (cached) arm-openwrt-linux-gnueabi-strip
checking for arm-openwrt-linux-ranlib... arm-openwrt-linux-gnueabi-gcc-ranlib
checking command to parse arm-openwrt-linux-gnueabi-gcc-nm output from arm-openwrt-linux-gnueabi-gcc object... ok
checking for sysroot... no
checking for a working dd... /usr/bin/dd
checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1
checking for arm-openwrt-linux-mt... no
checking for mt... no
checking if : is a manifest tool... no
checking for dlfcn.h... (cached) yes
checking for objdir... .libs
checking if arm-openwrt-linux-gnueabi-gcc supports -fno-rtti -fno-exceptions... no
checking for arm-openwrt-linux-gnueabi-gcc option to produce PIC... -fPIC -DPIC
checking if arm-openwrt-linux-gnueabi-gcc PIC flag -fPIC -DPIC works... yes
checking if arm-openwrt-linux-gnueabi-gcc static flag -static works... no
checking if arm-openwrt-linux-gnueabi-gcc supports -c -o file.o... yes
checking if arm-openwrt-linux-gnueabi-gcc supports -c -o file.o... (cached) yes
checking whether the arm-openwrt-linux-gnueabi-gcc linker (arm-openwrt-linux-gnueabi-ld.bfd) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking what extension is used for runtime loadable modules... .so
We assume IEEE754 floating point format.
checking if .balign is present... yes
checking __attribute__((aligned(16)))... yes
checking if assembler supports AVX instructions... no
checking for yasm... no
checking for basic C99 features... yes
checking for unistd.h... (cached) yes
checking for sched.h... yes
checking for sys/ioctl.h... yes
checking for sys/types.h... (cached) yes
checking for sys/time.h... yes
checking for sys/wait.h... yes
checking for sys/resource.h... yes
checking for sys/signal.h... yes
checking for signal.h... yes
checking for sys/select.h... yes
checking for dirent.h... yes
checking for sys/stat.h... (cached) yes
checking switched off_t size... 8
checking unswitched off_t size... 4
checking size of off_t... (cached) 8
configure: Detected system with enforced 64 bit offsets, dropping suffixless symbols for uncryptic ABI breakage.
checking if native off_t is already 64 bits... yes
checking for mmap... yes
checking POSIX termios... yes
checking if we have wincon.h... no
checking for random... yes
checking for setenv... yes
checking for unsetenv... yes
checking for sched_setscheduler... yes
checking for setuid... yes
checking for getuid... yes
checking for setpriority... yes
checking for strerror... (cached) yes
checking for strerror_l... yes
checking for uselocale... yes
checking for setlocale... (cached) yes
checking for nl_langinfo... yes
checking for mbstowcs... yes
checking for wcstombs... yes
checking for wcswidth... yes
checking for iswprint... yes
checking for atoll... yes
checking for mkfifo... yes
checking for fork... yes
checking for execvp... yes
checking for ctermid... yes
checking for locale.h... yes
checking for langinfo.h... yes
checking for wchar.h... yes
checking for wctype.h... yes
checking for netdb.h... yes
checking for sys/param.h... yes
checking for sys/socket.h... yes
checking for netinet/in.h... yes
checking for arpa/inet.h... yes
checking for library containing gethostbyname... none required
checking for library containing socket... none required
checking for getaddrinfo... (cached) yes
checking for sqrt in -lm... yes
checking for powf in -lmx... no
checking for byteswap.h... yes
checking for os2.h... no
checking if we want feature report function... yes
Limiting outputs to build according to your preference: alsa
checking pkg-config is at least version 0.9.0... yes
checking for snd_pcm_open in -lasound... yes
checking for alsa/asoundlib.h... yes
checking if you are too dumbing dumb for the dummy... no
checking if we have EOVERFLOW macro... yes
checking for preferred network support... auto
checking for automatic network support... exec
checking IPv6 use... enabled
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating libmpg123.pc
config.status: creating libout123.pc
config.status: creating libsyn123.pc
config.status: creating mpg123.spec
config.status: creating src/config.h
config.status: executing depfiles commands
config.status: executing libtool commands
configure: WARNING: unrecognized options: --disable-nls
mpg123 1.32.6
Install path ............ /usr
Components .............. programs libmpg123 libout123 libout123-modules libsyn123
CPU Optimization ........ arm_fpu
Compiler Optimization ... 2
Use yasm (for AVX only) . disabled
Gapless Support ......... enabled
Debugging ............... disabled
Terminal control ........ posix
Extreme debugging ....... disabled
Seek table size ......... 1000
FIFO support ............ enabled
Buffer .................. enabled
External network ........ exec
Internal network type ... posix
IPv6 (getaddrinfo) ...... enabled
largefile sensitive ..... no
default offsets ......... 64
explicit 64 bit offsets . no
forced 64 bit offsets ... yes
only portable API ....... no
Note: Ensure that client programs are built with _FILE_OFFSET_BITS defined to 64, too.
Old binaries built for 32 bit off_t may fail missing symbols in mpg123 libraries.
Core libmpg123 features:
Layer I ................. enabled
Layer II ................ enabled
Layer III ............... enabled
NtoM resampling ......... enabled
downsampled decoding .... enabled
Feeder/buffered input ... enabled
ID3v2 parsing ........... enabled
String API .............. enabled
ICY parsing/conversion .. enabled
Error/warning messages .. enabled
Win32 Unicode File Open.. unneeded
Feature Report Function.. enabled
Output formats (nofpu will disable all but 16 or 8 bit!):
8 bit integer ........... enabled
16 bit integer .......... enabled
32/24 bit integer ....... enabled
real (32 bit float) ..... enabled
Equalizer ............... enabled
Optimization detail:
Integer conversion ...... quality
IEEE 754 hackery ........ enabled
New/old WRITE_SAMPLE .... disabled
new Huffman scheme ...... enabled
runtime tables .......... disabled
Note: Disabling core features is not commonly done and some combinations might
not build/work. If you encounter such a case, help yourself (and provide
a patch) or just poke the maintainers.
libsyn123 special cases . enabled
Modules ................. enabled
Checked audio modules ... alsa dummy
Detected audio support .. alsa dummy
Runtime order ........... alsa
CPPFLAGS=' -DOPT_MULTI -DOPT_GENERIC -DOPT_GENERIC_DITHER -DOPT_NEON -DREAL_IS_FLOAT -I/home/ubuntu/project/openwrt/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-13.3.0_glibc_eabi/usr/include -I/home/ubuntu/project/openwrt/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-13.3.0_glibc_eabi/include '
CFLAGS='-O2 -fomit-frame-pointer -funroll-all-loops -finline-functions -ffast-math -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -mfloat-abi=hard -fmacro-prefix-map=/home/ubuntu/project/openwrt/build_dir/target-arm_cortex-a7+neon-vfpv4_glibc_eabi/mpg123-1.32.6=mpg123-1.32.6 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro '
PROG_LIBS='-lm '
(derived from LIBS, only used for end-user binaries and modules)
LIBDL=''
LIBMPG123_LIBS='-lm '
LIBSYN123_LIBS='-lm'
LIBOUT123_LIBS=' -lm '
Next type 'make' and then 'make install'.
touch /home/ubuntu/project/openwrt/build_dir/target-arm_cortex-a7+neon-vfpv4_glibc_eabi/mpg123-1.32.6/.configured_68b329da9893e34099c7d8ad5cb9c940
rm -f /home/ubuntu/project/openwrt/build_dir/target-arm_cortex-a7+neon-vfpv4_glibc_eabi/mpg123-1.32.6/.built
touch /home/ubuntu/project/openwrt/build_dir/target-arm_cortex-a7+neon-vfpv4_glibc_eabi/mpg123-1.32.6/.built_check
CFLAGS="-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -mfloat-abi=hard -fmacro-prefix-map=/home/ubuntu/project/openwrt/build_dir/target-arm_cortex-a7+neon-vfpv4_glibc_eabi/mpg123-1.32.6=mpg123-1.32.6 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -I/home/ubuntu/project/openwrt/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-13.3.0_glibc_eabi/usr/include -I/home/ubuntu/project/openwrt/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-13.3.0_glibc_eabi/include " CXXFLAGS="-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -mfloat-abi=hard -fmacro-prefix-map=/home/ubuntu/project/openwrt/build_dir/target-arm_cortex-a7+neon-vfpv4_glibc_eabi/mpg123-1.32.6=mpg123-1.32.6 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -I/home/ubuntu/project/openwrt/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-13.3.0_glibc_eabi/usr/include -I/home/ubuntu/project/openwrt/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-13.3.0_glibc_eabi/include " LDFLAGS="-L/home/ubuntu/project/openwrt/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-13.3.0_glibc_eabi/usr/lib -L/home/ubuntu/project/openwrt/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-13.3.0_glibc_eabi/lib -fuse-ld=bfd -znow -zrelro " make -C /home/ubuntu/project/openwrt/build_dir/target-arm_cortex-a7+neon-vfpv4_glibc_eabi/mpg123-1.32.6/. AR="arm-openwrt-linux-gnueabi-gcc-ar" AS="arm-openwrt-linux-gnueabi-gcc -c -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -mfloat-abi=hard -fmacro-prefix-map=/home/ubuntu/project/openwrt/build_dir/target-arm_cortex-a7+neon-vfpv4_glibc_eabi/mpg123-1.32.6=mpg123-1.32.6 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro" LD="arm-openwrt-linux-gnueabi-ld.bfd" NM="arm-openwrt-linux-gnueabi-gcc-nm" CC="arm-openwrt-linux-gnueabi-gcc" GCC="arm-openwrt-linux-gnueabi-gcc" CXX="arm-openwrt-linux-gnueabi-g++" RANLIB="arm-openwrt-linux-gnueabi-gcc-ranlib" STRIP=arm-openwrt-linux-gnueabi-strip OBJCOPY=arm-openwrt-linux-gnueabi-objcopy OBJDUMP=arm-openwrt-linux-gnueabi-objdump SIZE=arm-openwrt-linux-gnueabi-size CROSS="arm-openwrt-linux-gnueabi-" ARCH="arm" ;
make[3]: Entering directory '/home/ubuntu/project/openwrt/build_dir/target-arm_cortex-a7+neon-vfpv4_glibc_eabi/mpg123-1.32.6'
arm-openwrt-linux-gnueabi-gcc -DHAVE_CONFIG_H -I. -I./src -DPKGLIBDIR="\"/usr/lib/mpg123\"" -I./src/include -DOPT_MULTI -DOPT_GENERIC -DOPT_GENERIC_DITHER -DOPT_NEON -DREAL_IS_FLOAT -I/home/ubuntu/project/openwrt/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-13.3.0_glibc_eabi/usr/include -I/home/ubuntu/project/openwrt/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-13.3.0_glibc_eabi/include -O2 -fomit-frame-pointer -funroll-all-loops -finline-functions -ffast-math -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -mfloat-abi=hard -fmacro-prefix-map=/home/ubuntu/project/openwrt/build_dir/target-arm_cortex-a7+neon-vfpv4_glibc_eabi/mpg123-1.32.6=mpg123-1.32.6 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -c -o src/sysutil.o src/sysutil.c
arm-openwrt-linux-gnueabi-gcc -DHAVE_CONFIG_H -I. -I./src -DPKGLIBDIR="\"/usr/lib/mpg123\"" -I./src/include -DOPT_MULTI -DOPT_GENERIC -DOPT_GENERIC_DITHER -DOPT_NEON -DREAL_IS_FLOAT -I/home/ubuntu/project/openwrt/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-13.3.0_glibc_eabi/usr/include -I/home/ubuntu/project/openwrt/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-13.3.0_glibc_eabi/include -O2 -fomit-frame-pointer -funroll-all-loops -finline-functions -ffast-math -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -mfloat-abi=hard -fmacro-prefix-map=/home/ubuntu/project/openwrt/build_dir/target-arm_cortex-a7+neon-vfpv4_glibc_eabi/mpg123-1.32.6=mpg123-1.32.6 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -c -o src/getlopt.o src/getlopt.c
arm-openwrt-linux-gnueabi-gcc -DHAVE_CONFIG_H -I. -I./src -DPKGLIBDIR="\"/usr/lib/mpg123\"" -I./src/include -DOPT_MULTI -DOPT_GENERIC -DOPT_GENERIC_DITHER -DOPT_NEON -DREAL_IS_FLOAT -I/home/ubuntu/project/openwrt/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-13.3.0_glibc_eabi/usr/include -I/home/ubuntu/project/openwrt/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-13.3.0_glibc_eabi/include -O2 -fomit-frame-pointer -funroll-all-loops -finline-functions -ffast-math -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -mfloat-abi=hard -fmacro-prefix-map=/home/ubuntu/project/openwrt/build_dir/target-arm_cortex-a7+neon-vfpv4_glibc_eabi/mpg123-1.32.6=mpg123-1.32.6 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -c -o src/local.o src/local.c
arm-openwrt-linux-gnueabi-gcc -DHAVE_CONFIG_H -I. -I./src -DPKGLIBDIR="\"/usr/lib/mpg123\"" -I./src/include -DOPT_MULTI -DOPT_GENERIC -DOPT_GENERIC_DITHER -DOPT_NEON -DREAL_IS_FLOAT -I/home/ubuntu/project/openwrt/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-13.3.0_glibc_eabi/usr/include -I/home/ubuntu/project/openwrt/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-13.3.0_glibc_eabi/include -O2 -fomit-frame-pointer -funroll-all-loops -finline-functions -ffast-math -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -mfloat-abi=hard -fmacro-prefix-map=/home/ubuntu/project/openwrt/build_dir/target-arm_cortex-a7+neon-vfpv4_glibc_eabi/mpg123-1.32.6=mpg123-1.32.6 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -c -o src/filters.o src/filters.c
...
libtool: compile: arm-openwrt-linux-gnueabi-gcc -DHAVE_CONFIG_H -I. -I./src -DPKGLIBDIR=\"/usr/lib/mpg123\" -I./src/include -DOPT_MULTI -DOPT_GENERIC -DOPT_GENERIC_DITHER -DOPT_NEON -DREAL_IS_FLOAT -I/home/ubuntu/project/openwrt/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-13.3.0_glibc_eabi/usr/include -I/home/ubuntu/project/openwrt/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-13.3.0_glibc_eabi/include -O2 -fomit-frame-pointer -funroll-all-loops -finline-functions -ffast-math -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -mfloat-abi=hard -fmacro-prefix-map=/home/ubuntu/project/openwrt/build_dir/target-arm_cortex-a7+neon-vfpv4_glibc_eabi/mpg123-1.32.6=mpg123-1.32.6 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -c src/libmpg123/synth_real.c -o src/libmpg123/libmpg123_la-synth_real.o >/dev/null 2>&1
/bin/bash ./libtool --tag=CC --mode=compile arm-openwrt-linux-gnueabi-gcc -DHAVE_CONFIG_H -I. -I./src -DPKGLIBDIR="\"/usr/lib/mpg123\"" -I./src/include -DOPT_MULTI -DOPT_GENERIC -DOPT_GENERIC_DITHER -DOPT_NEON -DREAL_IS_FLOAT -I/home/ubuntu/project/openwrt/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-13.3.0_glibc_eabi/usr/include -I/home/ubuntu/project/openwrt/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-13.3.0_glibc_eabi/include -O2 -fomit-frame-pointer -funroll-all-loops -finline-functions -ffast-math -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -mfloat-abi=hard -fmacro-prefix-map=/home/ubuntu/project/openwrt/build_dir/target-arm_cortex-a7+neon-vfpv4_glibc_eabi/mpg123-1.32.6=mpg123-1.32.6 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -c -o src/libmpg123/libmpg123_la-lfs_wrap.lo `test -f 'src/libmpg123/lfs_wrap.c' || echo './'`src/libmpg123/lfs_wrap.c
libtool: compile: arm-openwrt-linux-gnueabi-gcc -DHAVE_CONFIG_H -I. -I./src -DPKGLIBDIR=\"/usr/lib/mpg123\" -I./src/include -DOPT_MULTI -DOPT_GENERIC -DOPT_GENERIC_DITHER -DOPT_NEON -DREAL_IS_FLOAT -I/home/ubuntu/project/openwrt/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-13.3.0_glibc_eabi/usr/include -I/home/ubuntu/project/openwrt/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-13.3.0_glibc_eabi/include -O2 -fomit-frame-pointer -funroll-all-loops -finline-functions -ffast-math -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -mfloat-abi=hard -fmacro-prefix-map=/home/ubuntu/project/openwrt/build_dir/target-arm_cortex-a7+neon-vfpv4_glibc_eabi/mpg123-1.32.6=mpg123-1.32.6 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -c src/libmpg123/lfs_wrap.c -fPIC -DPIC -o src/libmpg123/.libs/libmpg123_la-lfs_wrap.o
src/libmpg123/lfs_wrap.c:62:23: error: size of array 'MPG123_STATIC_ASSERT' is negative
62 | typedef unsigned char MPG123_STATIC_ASSERT[(SIZEOF_OFF_T == sizeof(off_t)) ? 1 : -1];
| ^~~~~~~~~~~~~~~~~~~~
make[3]: *** [Makefile:4427: src/libmpg123/libmpg123_la-lfs_wrap.lo] Error 1
make[3]: Leaving directory '/home/ubuntu/project/openwrt/build_dir/target-arm_cortex-a7+neon-vfpv4_glibc_eabi/mpg123-1.32.6'
make[2]: *** [Makefile:157: /home/ubuntu/project/openwrt/build_dir/target-arm_cortex-a7+neon-vfpv4_glibc_eabi/mpg123-1.32.6/.built] Error 2
make[2]: Leaving directory '/home/ubuntu/project/openwrt/feeds/packages/sound/mpg123'
time: package/feeds/packages/mpg123/compile#19.92#4.07#23.31
ERROR: package/feeds/packages/mpg123 failed to build.
make[1]: *** [package/Makefile:176: package/feeds/packages/mpg123/compile] Error 1
make[1]: Leaving directory '/home/ubuntu/project/openwrt'
make: *** [/home/ubuntu/project/openwrt/include/toplevel.mk:233: package/feeds/packages/mpg123/compile] Error 2
make: Leaving directory '/home/ubuntu/project/openwrt'
Confirmation Checklist
- The package is maintained in this repository.
- I understand that issues related to the base OpenWrt repository or LuCI repository will be closed.
- I am reporting an issue for OpenWrt, not an unsupported fork.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.