pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/56339: audio/flac fails to build i386 asm on NetBSD with MKPIE



>Number:         56339
>Category:       pkg
>Synopsis:       audio/flac fails to build i386 asm on NetBSD with MKPIE
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Jul 30 13:10:00 +0000 2021
>Originator:     nia
>Release:        current
>Organization:
The NetBSD Foundation
>Environment:
NetBSD 9.2 i386
>Description:
=> Bootstrap dependency digest>=20010302: found digest-20190127
===> Skipping vulnerability checks.
WARNING: No /var/db/pkg/pkg-vulnerabilities file found.
WARNING: To fix run: `/usr/sbin/pkg_admin -K /var/db/pkg fetch-pkg-vulnerabilities'.
===> Building for flac-1.3.3
/usr/pkg/bin/gmake  all-recursive
gmake[1]: Entering directory '/tmp/work/audio/flac/work/flac-1.3.3'
Making all in doc
gmake[2]: Entering directory '/tmp/work/audio/flac/work/flac-1.3.3/doc'
Making all in .
gmake[3]: Entering directory '/tmp/work/audio/flac/work/flac-1.3.3/doc'
gmake[3]: Nothing to be done for 'all-am'.
gmake[3]: Leaving directory '/tmp/work/audio/flac/work/flac-1.3.3/doc'
Making all in html
gmake[3]: Entering directory '/tmp/work/audio/flac/work/flac-1.3.3/doc/html'
Making all in images
gmake[4]: Entering directory '/tmp/work/audio/flac/work/flac-1.3.3/doc/html/images'
gmake[4]: Nothing to be done for 'all'.
gmake[4]: Leaving directory '/tmp/work/audio/flac/work/flac-1.3.3/doc/html/images'
gmake[4]: Entering directory '/tmp/work/audio/flac/work/flac-1.3.3/doc/html'
gmake[4]: Nothing to be done for 'all-am'.
gmake[4]: Leaving directory '/tmp/work/audio/flac/work/flac-1.3.3/doc/html'
gmake[3]: Leaving directory '/tmp/work/audio/flac/work/flac-1.3.3/doc/html'
gmake[2]: Leaving directory '/tmp/work/audio/flac/work/flac-1.3.3/doc'
Making all in include
gmake[2]: Entering directory '/tmp/work/audio/flac/work/flac-1.3.3/include'
Making all in FLAC
gmake[3]: Entering directory '/tmp/work/audio/flac/work/flac-1.3.3/include/FLAC'
gmake[3]: Nothing to be done for 'all'.
gmake[3]: Leaving directory '/tmp/work/audio/flac/work/flac-1.3.3/include/FLAC'
Making all in FLAC++
gmake[3]: Entering directory '/tmp/work/audio/flac/work/flac-1.3.3/include/FLAC++'
gmake[3]: Nothing to be done for 'all'.
gmake[3]: Leaving directory '/tmp/work/audio/flac/work/flac-1.3.3/include/FLAC++'
Making all in share
gmake[3]: Entering directory '/tmp/work/audio/flac/work/flac-1.3.3/include/share'
Making all in grabbag
gmake[4]: Entering directory '/tmp/work/audio/flac/work/flac-1.3.3/include/share/grabbag'
gmake[4]: Nothing to be done for 'all'.
gmake[4]: Leaving directory '/tmp/work/audio/flac/work/flac-1.3.3/include/share/grabbag'
gmake[4]: Entering directory '/tmp/work/audio/flac/work/flac-1.3.3/include/share'
gmake[4]: Nothing to be done for 'all-am'.
gmake[4]: Leaving directory '/tmp/work/audio/flac/work/flac-1.3.3/include/share'
gmake[3]: Leaving directory '/tmp/work/audio/flac/work/flac-1.3.3/include/share'
Making all in test_libs_common
gmake[3]: Entering directory '/tmp/work/audio/flac/work/flac-1.3.3/include/test_libs_common'
gmake[3]: Nothing to be done for 'all'.
gmake[3]: Leaving directory '/tmp/work/audio/flac/work/flac-1.3.3/include/test_libs_common'
gmake[3]: Entering directory '/tmp/work/audio/flac/work/flac-1.3.3/include'
gmake[3]: Nothing to be done for 'all-am'.
gmake[3]: Leaving directory '/tmp/work/audio/flac/work/flac-1.3.3/include'
gmake[2]: Leaving directory '/tmp/work/audio/flac/work/flac-1.3.3/include'
Making all in m4
gmake[2]: Entering directory '/tmp/work/audio/flac/work/flac-1.3.3/m4'
gmake[2]: Nothing to be done for 'all'.
gmake[2]: Leaving directory '/tmp/work/audio/flac/work/flac-1.3.3/m4'
Making all in man
gmake[2]: Entering directory '/tmp/work/audio/flac/work/flac-1.3.3/man'
gmake[2]: Nothing to be done for 'all'.
gmake[2]: Leaving directory '/tmp/work/audio/flac/work/flac-1.3.3/man'
Making all in src
gmake[2]: Entering directory '/tmp/work/audio/flac/work/flac-1.3.3/src'
Making all in libFLAC
gmake[3]: Entering directory '/tmp/work/audio/flac/work/flac-1.3.3/src/libFLAC'
Making all in ia32
gmake[4]: Entering directory '/tmp/work/audio/flac/work/flac-1.3.3/src/libFLAC/ia32'
/bin/sh ../../../libtool --tag=CC --mode=compile sh ../../../strip_non_asm_libtool_args.sh nasm -f elf -d OBJ_FORMAT_elf -i./ cpu_asm.nasm -o cpu_asm.lo
/bin/sh ../../../libtool --tag=CC --mode=compile sh ../../../strip_non_asm_libtool_args.sh nasm -f elf -d OBJ_FORMAT_elf -i./ fixed_asm.nasm -o fixed_asm.lo
libtool: compile:  sh ../../../strip_non_asm_libtool_args.sh nasm -f elf -d OBJ_FORMAT_elf -i./ fixed_asm.nasm  -fPIC -DPIC -o .libs/fixed_asm.o
 nasm -f elf -d OBJ_FORMAT_elf -i./ fixed_asm.nasm -o .libs/fixed_asm.o
libtool: compile:  sh ../../../strip_non_asm_libtool_args.sh nasm -f elf -d OBJ_FORMAT_elf -i./ cpu_asm.nasm  -fPIC -DPIC -o .libs/cpu_asm.o
 nasm -f elf -d OBJ_FORMAT_elf -i./ cpu_asm.nasm -o .libs/cpu_asm.o
libtool: compile:  sh ../../../strip_non_asm_libtool_args.sh nasm -f elf -d OBJ_FORMAT_elf -i./ fixed_asm.nasm -pie -o fixed_asm.o >/dev/null 2>&1
libtool: compile:  sh ../../../strip_non_asm_libtool_args.sh nasm -f elf -d OBJ_FORMAT_elf -i./ cpu_asm.nasm -pie -o cpu_asm.o >/dev/null 2>&1
gmake[4]: *** [Makefile:642: fixed_asm.lo] Error 1
gmake[4]: *** Waiting for unfinished jobs....
gmake[4]: *** [Makefile:642: cpu_asm.lo] Error 1
gmake[4]: Leaving directory '/tmp/work/audio/flac/work/flac-1.3.3/src/libFLAC/ia32'
gmake[3]: *** [Makefile:794: all-recursive] Error 1
gmake[3]: Leaving directory '/tmp/work/audio/flac/work/flac-1.3.3/src/libFLAC'
gmake[2]: *** [Makefile:433: all-recursive] Error 1
gmake[2]: Leaving directory '/tmp/work/audio/flac/work/flac-1.3.3/src'
gmake[1]: *** [Makefile:494: all-recursive] Error 1
gmake[1]: Leaving directory '/tmp/work/audio/flac/work/flac-1.3.3'
gmake: *** [Makefile:426: all] Error 2
*** Error code 2

Stop.
make[1]: stopped in /usr/pkgsrc/audio/flac
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/audio/flac

>How-To-Repeat:

>Fix:
Likely ASM needs to be disabled with

CONFIGURE_ARGS+= --disable-asm-optimizations

as on other platforms.

i386 asm is not very PIE compatible.


Home | Main Index | Thread Index | Old Index