Skip to content

Instantly share code, notes, and snippets.

@andrew-aladev
Created January 18, 2020 22:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save andrew-aladev/d16e4c39c2f7940b86d08fbccfecdb17 to your computer and use it in GitHub Desktop.
Save andrew-aladev/d16e4c39c2f7940b86d08fbccfecdb17 to your computer and use it in GitHub Desktop.
flex build.log
These are the packages that would be merged, in order:
Calculating dependencies
* IMPORTANT: 3 news items need reading for repository 'gentoo'.
* Use eselect news read to view new items.
... done!
[ebuild N ] sys-devel/flex-2.6.4-r1::gentoo to /usr/x86_64-pc-linux-musl/ USE="-nls -static -test" 0 KiB
Total: 1 package (1 new), Size of downloads: 0 KiB
>>> Verifying ebuild manifests
>>> Emerging (1 of 1) sys-devel/flex-2.6.4-r1::gentoo for /usr/x86_64-pc-linux-musl/
* flex-2.6.4.tar.gz BLAKE2B SHA512 size ;-) ... [ ok ]
Unable to unshare: EPERM
Unable to unshare: EPERM
>>> Unpacking source...
>>> Unpacking flex-2.6.4.tar.gz to /usr/x86_64-pc-linux-musl/tmp/portage/sys-devel/flex-2.6.4-r1/work
>>> Source unpacked in /usr/x86_64-pc-linux-musl/tmp/portage/sys-devel/flex-2.6.4-r1/work
Unable to unshare: EPERM
>>> Preparing source in /usr/x86_64-pc-linux-musl/tmp/portage/sys-devel/flex-2.6.4-r1/work/flex-2.6.4 ...
* Applying flex-2.6.4-libobjdir.patch ...
[ ok ]
* Applying flex-2.6.4-fix-build-with-glibc2.6+.patch ...
[ ok ]
* Running elibtoolize in: flex-2.6.4/
* Applying ppc64le/2.4.4 patch ...
* Running elibtoolize in: flex-2.6.4/build-aux/
* Applying portage/1.2.0 patch ...
* Applying sed/1.5.6 patch ...
* Applying cross/2.4.3 patch ...
* Applying as-needed/2.4.3 patch ...
>>> Source prepared.
Unable to unshare: EPERM
>>> Configuring source in /usr/x86_64-pc-linux-musl/tmp/portage/sys-devel/flex-2.6.4-r1/work/flex-2.6.4 ...
* abi_x86_64.amd64: running multilib-minimal_abi_src_configure
* econf: updating flex-2.6.4/build-aux/config.sub with /usr/share/gnuconfig/config.sub
* econf: updating flex-2.6.4/build-aux/config.guess with /usr/share/gnuconfig/config.guess
/usr/x86_64-pc-linux-musl/tmp/portage/sys-devel/flex-2.6.4-r1/work/flex-2.6.4/configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-musl --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --disable-dependency-tracking --disable-silent-rules --docdir=/usr/share/doc/flex-2.6.4-r1 --htmldir=/usr/share/doc/flex-2.6.4-r1/html --libdir=/usr/lib --disable-shared --disable-nls --docdir=$(datarootdir)/doc/flex-2.6.4-r1
configure: loading site script /usr/share/config.site
configure: loading site script /usr/share/crossdev/include/site/linux
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-musl
checking how to print strings... printf
checking for x86_64-pc-linux-musl-gcc... x86_64-pc-linux-musl-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 we are using the GNU C compiler... yes
checking whether x86_64-pc-linux-musl-gcc accepts -g... yes
checking for x86_64-pc-linux-musl-gcc option to accept ISO C89... none needed
checking whether x86_64-pc-linux-musl-gcc understands -c and -o together... yes
checking for a sed that does not truncate output... /bin/sed
checking how to run the C preprocessor... x86_64-pc-linux-musl-gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking for dlfcn.h... yes
checking for ld used by x86_64-pc-linux-musl-gcc... /usr/libexec/gcc/x86_64-pc-linux-musl/ld
checking if the linker (/usr/libexec/gcc/x86_64-pc-linux-musl/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/x86_64-pc-linux-musl-nm -B
checking the name lister (/usr/bin/x86_64-pc-linux-musl-nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking how to convert x86_64-pc-linux-gnu file names to x86_64-pc-linux-musl 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 /usr/libexec/gcc/x86_64-pc-linux-musl/ld option to reload object files... -r
checking for x86_64-pc-linux-musl-objdump... x86_64-pc-linux-musl-objdump
checking how to recognize dependent libraries... pass_all
checking for x86_64-pc-linux-musl-dlltool... no
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for x86_64-pc-linux-musl-ar... x86_64-pc-linux-musl-ar
checking for archiver @FILE support... @
checking for x86_64-pc-linux-musl-strip... x86_64-pc-linux-musl-strip
checking for x86_64-pc-linux-musl-ranlib... x86_64-pc-linux-musl-ranlib
checking for gawk... gawk
checking command to parse /usr/bin/x86_64-pc-linux-musl-nm -B output from x86_64-pc-linux-musl-gcc object... ok
checking for sysroot... no
checking for a working dd... /bin/dd
checking how to truncate binary pipes... /bin/dd bs=4096 count=1
checking for x86_64-pc-linux-musl-mt... no
checking for mt... no
checking if : is a manifest tool... no
checking for objdir... .libs
checking if x86_64-pc-linux-musl-gcc supports -fno-rtti -fno-exceptions... no
checking for x86_64-pc-linux-musl-gcc option to produce PIC... -fPIC -DPIC
checking if x86_64-pc-linux-musl-gcc PIC flag -fPIC -DPIC works... yes
checking if x86_64-pc-linux-musl-gcc static flag -static works... yes
checking if x86_64-pc-linux-musl-gcc supports -c -o file.o... yes
checking if x86_64-pc-linux-musl-gcc supports -c -o file.o... (cached) yes
checking whether the x86_64-pc-linux-musl-gcc linker (/usr/libexec/gcc/x86_64-pc-linux-musl/ld -m elf_x86_64) supports shared libraries... yes
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... no
checking whether to build static libraries... yes
checking for a BSD-compatible install... /usr/lib/portage/python3.6/ebuild-helpers/xattr/install -c
checking whether build environment is sane... yes
checking for x86_64-pc-linux-musl-strip... (cached) x86_64-pc-linux-musl-strip
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking whether make sets $(MAKE)... yes
checking for style of include used by make... GNU
checking whether make supports nested variables... yes
checking dependency style of x86_64-pc-linux-musl-gcc... none
checking whether NLS is requested... no
checking for msgfmt... /usr/bin/msgfmt
checking for gmsgfmt... /usr/bin/gmsgfmt
checking for xgettext... /usr/bin/xgettext
checking for msgmerge... /usr/bin/msgmerge
checking for ld used by GCC... /usr/libexec/gcc/x86_64-pc-linux-musl/ld -m elf_x86_64
checking if the linker (/usr/libexec/gcc/x86_64-pc-linux-musl/ld -m elf_x86_64) is GNU ld... yes
checking for shared library run path origin... done
checking for CFPreferencesCopyAppValue... no
checking for CFLocaleCopyCurrent... no
checking whether to use NLS... no
checking for bison... bison -y
checking for flex... flex
checking lex output file root... lex.yy
checking lex library... none needed
checking whether yytext is a pointer... no
checking for x86_64-pc-linux-musl-gcc... (cached) x86_64-pc-linux-musl-gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether x86_64-pc-linux-musl-gcc accepts -g... (cached) yes
checking for x86_64-pc-linux-musl-gcc option to accept ISO C89... (cached) none needed
checking whether x86_64-pc-linux-musl-gcc understands -c and -o together... (cached) yes
checking for gcc... gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... (cached) none needed
checking whether gcc understands -c and -o together... (cached) yes
checking how to run the C preprocessor... gcc -E
checking for x86_64-pc-linux-musl-g++... x86_64-pc-linux-musl-g++
checking whether we are using the GNU C++ compiler... yes
checking whether x86_64-pc-linux-musl-g++ accepts -g... yes
checking how to run the C++ preprocessor... x86_64-pc-linux-musl-g++ -E
checking for ld used by x86_64-pc-linux-musl-g++... /usr/libexec/gcc/x86_64-pc-linux-musl/ld -m elf_x86_64
checking if the linker (/usr/libexec/gcc/x86_64-pc-linux-musl/ld -m elf_x86_64) is GNU ld... yes
checking whether the x86_64-pc-linux-musl-g++ linker (/usr/libexec/gcc/x86_64-pc-linux-musl/ld -m elf_x86_64) supports shared libraries... yes
checking for x86_64-pc-linux-musl-g++ option to produce PIC... -fPIC -DPIC
checking if x86_64-pc-linux-musl-g++ PIC flag -fPIC -DPIC works... yes
checking if x86_64-pc-linux-musl-g++ static flag -static works... yes
checking if x86_64-pc-linux-musl-g++ supports -c -o file.o... yes
checking if x86_64-pc-linux-musl-g++ supports -c -o file.o... (cached) yes
checking whether the x86_64-pc-linux-musl-g++ linker (/usr/libexec/gcc/x86_64-pc-linux-musl/ld -m elf_x86_64) supports shared libraries... yes
checking dynamic linker characteristics... (cached) GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking dependency style of x86_64-pc-linux-musl-g++... none
checking whether ln -s works... yes
checking for gawk... (cached) gawk
checking for help2man... /usr/bin/help2man
checking for gtexi2dvi... no
checking for texi2dvi... /usr/bin/texi2dvi
checking for m4 that supports -P... /usr/bin/m4
checking for indent... ${top_srcdir}/build-aux/missing indent
checking if ${top_srcdir}/build-aux/missing indent is GNU indent... no
configure: WARNING: ${top_srcdir}/build-aux/missing indent does not appear to be GNU indent; 'make indent' may not function properly
checking regex.h usability... yes
checking regex.h presence... yes
checking for regex.h... yes
checking for strings.h... (cached) yes
checking for sys/stat.h... (cached) yes
checking sys/wait.h usability... yes
checking sys/wait.h presence... yes
checking for sys/wait.h... yes
checking for unistd.h... (cached) yes
checking for inttypes.h... (cached) yes
checking libintl.h usability... yes
checking libintl.h presence... yes
checking for libintl.h... yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking malloc.h usability... yes
checking malloc.h presence... yes
checking for malloc.h... yes
checking netinet/in.h usability... yes
checking netinet/in.h presence... yes
checking for netinet/in.h... yes
checking for pthread_mutex_lock in -lpthread... yes
checking pthread.h usability... yes
checking pthread.h presence... yes
checking for pthread.h... yes
checking for log10 in -lm... yes
checking for stdbool.h that conforms to C99... yes
checking for _Bool... yes
checking for an ANSI C-conforming const... yes
checking for size_t... yes
checking for working alloca.h... yes
checking for alloca... yes
checking for pid_t... yes
checking vfork.h usability... no
checking vfork.h presence... no
checking for vfork.h... no
checking for fork... yes
checking for vfork... yes
checking for working fork... cross
configure: WARNING: result yes guessed because of cross compilation
checking for working vfork... (cached) yes
checking for stdlib.h... (cached) yes
checking for GNU libc compatible malloc... no
configure: WARNING: result no guessed because of cross compilation
checking for stdlib.h... (cached) yes
checking for GNU libc compatible realloc... no
configure: WARNING: result no guessed because of cross compilation
checking for dup2... yes
checking for memset... yes
checking for regcomp... yes
checking for strcasecmp... yes
checking for strchr... yes
checking for strdup... yes
checking for strtol... yes
checking for pow... yes
checking for setlocale... yes
checking for reallocarray... no
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating doc/Makefile
config.status: creating examples/Makefile
config.status: creating examples/fastwc/Makefile
config.status: creating examples/manual/Makefile
config.status: creating po/Makefile.in
config.status: creating src/Makefile
config.status: creating tools/Makefile
config.status: creating tests/Makefile
config.status: creating src/config.h
config.status: executing libtool commands
config.status: executing depfiles commands
config.status: executing po-directories commands
config.status: creating po/POTFILES
config.status: creating po/Makefile
>>> Source configured.
Unable to unshare: EPERM
>>> Compiling source in /usr/x86_64-pc-linux-musl/tmp/portage/sys-devel/flex-2.6.4-r1/work/flex-2.6.4 ...
* abi_x86_64.amd64: running multilib-minimal_abi_src_compile
make -j8
Making all in src
make[1]: Entering directory '/usr/x86_64-pc-linux-musl/tmp/portage/sys-devel/flex-2.6.4-r1/work/flex-2.6.4-abi_x86_64.amd64/src'
make all-am
make[2]: Entering directory '/usr/x86_64-pc-linux-musl/tmp/portage/sys-devel/flex-2.6.4-r1/work/flex-2.6.4-abi_x86_64.amd64/src'
/bin/sh ../libtool --tag=CC --mode=compile x86_64-pc-linux-musl-gcc -DHAVE_CONFIG_H -I. -I/usr/x86_64-pc-linux-musl/tmp/portage/sys-devel/flex-2.6.4-r1/work/flex-2.6.4/src -DLOCALEDIR=\"/usr/share/locale\" -O2 -pipe -c -o libmain.lo /usr/x86_64-pc-linux-musl/tmp/portage/sys-devel/flex-2.6.4-r1/work/flex-2.6.4/src/libmain.c
/bin/sh ../libtool --tag=CC --mode=compile x86_64-pc-linux-musl-gcc -DHAVE_CONFIG_H -I. -I/usr/x86_64-pc-linux-musl/tmp/portage/sys-devel/flex-2.6.4-r1/work/flex-2.6.4/src -DLOCALEDIR=\"/usr/share/locale\" -O2 -pipe -c -o libyywrap.lo /usr/x86_64-pc-linux-musl/tmp/portage/sys-devel/flex-2.6.4-r1/work/flex-2.6.4/src/libyywrap.c
x86_64-pc-linux-musl-gcc -DHAVE_CONFIG_H -I. -I/usr/x86_64-pc-linux-musl/tmp/portage/sys-devel/flex-2.6.4-r1/work/flex-2.6.4/src -DLOCALEDIR=\"/usr/share/locale\" -O2 -pipe -c -o flex-buf.o `test -f 'buf.c' || echo '/usr/x86_64-pc-linux-musl/tmp/portage/sys-devel/flex-2.6.4-r1/work/flex-2.6.4/src/'`buf.c
x86_64-pc-linux-musl-gcc -DHAVE_CONFIG_H -I. -I/usr/x86_64-pc-linux-musl/tmp/portage/sys-devel/flex-2.6.4-r1/work/flex-2.6.4/src -DLOCALEDIR=\"/usr/share/locale\" -O2 -pipe -c -o flex-ccl.o `test -f 'ccl.c' || echo '/usr/x86_64-pc-linux-musl/tmp/portage/sys-devel/flex-2.6.4-r1/work/flex-2.6.4/src/'`ccl.c
x86_64-pc-linux-musl-gcc -DHAVE_CONFIG_H -I. -I/usr/x86_64-pc-linux-musl/tmp/portage/sys-devel/flex-2.6.4-r1/work/flex-2.6.4/src -DLOCALEDIR=\"/usr/share/locale\" -O2 -pipe -c -o flex-dfa.o `test -f 'dfa.c' || echo '/usr/x86_64-pc-linux-musl/tmp/portage/sys-devel/flex-2.6.4-r1/work/flex-2.6.4/src/'`dfa.c
x86_64-pc-linux-musl-gcc -DHAVE_CONFIG_H -I. -I/usr/x86_64-pc-linux-musl/tmp/portage/sys-devel/flex-2.6.4-r1/work/flex-2.6.4/src -DLOCALEDIR=\"/usr/share/locale\" -O2 -pipe -c -o flex-ecs.o `test -f 'ecs.c' || echo '/usr/x86_64-pc-linux-musl/tmp/portage/sys-devel/flex-2.6.4-r1/work/flex-2.6.4/src/'`ecs.c
x86_64-pc-linux-musl-gcc -DHAVE_CONFIG_H -I. -I/usr/x86_64-pc-linux-musl/tmp/portage/sys-devel/flex-2.6.4-r1/work/flex-2.6.4/src -DLOCALEDIR=\"/usr/share/locale\" -O2 -pipe -c -o flex-filter.o `test -f 'filter.c' || echo '/usr/x86_64-pc-linux-musl/tmp/portage/sys-devel/flex-2.6.4-r1/work/flex-2.6.4/src/'`filter.c
x86_64-pc-linux-musl-gcc -DHAVE_CONFIG_H -I. -I/usr/x86_64-pc-linux-musl/tmp/portage/sys-devel/flex-2.6.4-r1/work/flex-2.6.4/src -DLOCALEDIR=\"/usr/share/locale\" -O2 -pipe -c -o flex-gen.o `test -f 'gen.c' || echo '/usr/x86_64-pc-linux-musl/tmp/portage/sys-devel/flex-2.6.4-r1/work/flex-2.6.4/src/'`gen.c
x86_64-pc-linux-musl-gcc -DHAVE_CONFIG_H -I. -I/usr/x86_64-pc-linux-musl/tmp/portage/sys-devel/flex-2.6.4-r1/work/flex-2.6.4/src -DLOCALEDIR=\"/usr/share/locale\" -O2 -pipe -c -o flex-main.o `test -f 'main.c' || echo '/usr/x86_64-pc-linux-musl/tmp/portage/sys-devel/flex-2.6.4-r1/work/flex-2.6.4/src/'`main.c
x86_64-pc-linux-musl-gcc -DHAVE_CONFIG_H -I. -I/usr/x86_64-pc-linux-musl/tmp/portage/sys-devel/flex-2.6.4-r1/work/flex-2.6.4/src -DLOCALEDIR=\"/usr/share/locale\" -O2 -pipe -c -o flex-misc.o `test -f 'misc.c' || echo '/usr/x86_64-pc-linux-musl/tmp/portage/sys-devel/flex-2.6.4-r1/work/flex-2.6.4/src/'`misc.c
x86_64-pc-linux-musl-gcc -DHAVE_CONFIG_H -I. -I/usr/x86_64-pc-linux-musl/tmp/portage/sys-devel/flex-2.6.4-r1/work/flex-2.6.4/src -DLOCALEDIR=\"/usr/share/locale\" -O2 -pipe -c -o flex-nfa.o `test -f 'nfa.c' || echo '/usr/x86_64-pc-linux-musl/tmp/portage/sys-devel/flex-2.6.4-r1/work/flex-2.6.4/src/'`nfa.c
libtool: compile: x86_64-pc-linux-musl-gcc -DHAVE_CONFIG_H -I. -I/usr/x86_64-pc-linux-musl/tmp/portage/sys-devel/flex-2.6.4-r1/work/flex-2.6.4/src -DLOCALEDIR=\"/usr/share/locale\" -O2 -pipe -c /usr/x86_64-pc-linux-musl/tmp/portage/sys-devel/flex-2.6.4-r1/work/flex-2.6.4/src/libyywrap.c -o libyywrap.o
libtool: compile: x86_64-pc-linux-musl-gcc -DHAVE_CONFIG_H -I. -I/usr/x86_64-pc-linux-musl/tmp/portage/sys-devel/flex-2.6.4-r1/work/flex-2.6.4/src -DLOCALEDIR=\"/usr/share/locale\" -O2 -pipe -c /usr/x86_64-pc-linux-musl/tmp/portage/sys-devel/flex-2.6.4-r1/work/flex-2.6.4/src/libmain.c -o libmain.o
x86_64-pc-linux-musl-gcc -DHAVE_CONFIG_H -I. -I/usr/x86_64-pc-linux-musl/tmp/portage/sys-devel/flex-2.6.4-r1/work/flex-2.6.4/src -DLOCALEDIR=\"/usr/share/locale\" -O2 -pipe -c -o flex-options.o `test -f 'options.c' || echo '/usr/x86_64-pc-linux-musl/tmp/portage/sys-devel/flex-2.6.4-r1/work/flex-2.6.4/src/'`options.c
x86_64-pc-linux-musl-gcc -DHAVE_CONFIG_H -I. -I/usr/x86_64-pc-linux-musl/tmp/portage/sys-devel/flex-2.6.4-r1/work/flex-2.6.4/src -DLOCALEDIR=\"/usr/share/locale\" -O2 -pipe -c -o flex-parse.o `test -f 'parse.c' || echo '/usr/x86_64-pc-linux-musl/tmp/portage/sys-devel/flex-2.6.4-r1/work/flex-2.6.4/src/'`parse.c
x86_64-pc-linux-musl-gcc -DHAVE_CONFIG_H -I. -I/usr/x86_64-pc-linux-musl/tmp/portage/sys-devel/flex-2.6.4-r1/work/flex-2.6.4/src -DLOCALEDIR=\"/usr/share/locale\" -O2 -pipe -c -o flex-regex.o `test -f 'regex.c' || echo '/usr/x86_64-pc-linux-musl/tmp/portage/sys-devel/flex-2.6.4-r1/work/flex-2.6.4/src/'`regex.c
x86_64-pc-linux-musl-gcc -DHAVE_CONFIG_H -I. -I/usr/x86_64-pc-linux-musl/tmp/portage/sys-devel/flex-2.6.4-r1/work/flex-2.6.4/src -DLOCALEDIR=\"/usr/share/locale\" -O2 -pipe -c -o flex-scanflags.o `test -f 'scanflags.c' || echo '/usr/x86_64-pc-linux-musl/tmp/portage/sys-devel/flex-2.6.4-r1/work/flex-2.6.4/src/'`scanflags.c
x86_64-pc-linux-musl-gcc -DHAVE_CONFIG_H -I. -I/usr/x86_64-pc-linux-musl/tmp/portage/sys-devel/flex-2.6.4-r1/work/flex-2.6.4/src -DLOCALEDIR=\"/usr/share/locale\" -O2 -pipe -c -o flex-scanopt.o `test -f 'scanopt.c' || echo '/usr/x86_64-pc-linux-musl/tmp/portage/sys-devel/flex-2.6.4-r1/work/flex-2.6.4/src/'`scanopt.c
x86_64-pc-linux-musl-gcc -DHAVE_CONFIG_H -I. -I/usr/x86_64-pc-linux-musl/tmp/portage/sys-devel/flex-2.6.4-r1/work/flex-2.6.4/src -DLOCALEDIR=\"/usr/share/locale\" -O2 -pipe -c -o flex-skel.o `test -f 'skel.c' || echo '/usr/x86_64-pc-linux-musl/tmp/portage/sys-devel/flex-2.6.4-r1/work/flex-2.6.4/src/'`skel.c
x86_64-pc-linux-musl-gcc -DHAVE_CONFIG_H -I. -I/usr/x86_64-pc-linux-musl/tmp/portage/sys-devel/flex-2.6.4-r1/work/flex-2.6.4/src -DLOCALEDIR=\"/usr/share/locale\" -O2 -pipe -c -o flex-sym.o `test -f 'sym.c' || echo '/usr/x86_64-pc-linux-musl/tmp/portage/sys-devel/flex-2.6.4-r1/work/flex-2.6.4/src/'`sym.c
x86_64-pc-linux-musl-gcc -DHAVE_CONFIG_H -I. -I/usr/x86_64-pc-linux-musl/tmp/portage/sys-devel/flex-2.6.4-r1/work/flex-2.6.4/src -DLOCALEDIR=\"/usr/share/locale\" -O2 -pipe -c -o flex-tables.o `test -f 'tables.c' || echo '/usr/x86_64-pc-linux-musl/tmp/portage/sys-devel/flex-2.6.4-r1/work/flex-2.6.4/src/'`tables.c
x86_64-pc-linux-musl-gcc -DHAVE_CONFIG_H -I. -I/usr/x86_64-pc-linux-musl/tmp/portage/sys-devel/flex-2.6.4-r1/work/flex-2.6.4/src -DLOCALEDIR=\"/usr/share/locale\" -O2 -pipe -c -o flex-tables_shared.o `test -f 'tables_shared.c' || echo '/usr/x86_64-pc-linux-musl/tmp/portage/sys-devel/flex-2.6.4-r1/work/flex-2.6.4/src/'`tables_shared.c
x86_64-pc-linux-musl-gcc -DHAVE_CONFIG_H -I. -I/usr/x86_64-pc-linux-musl/tmp/portage/sys-devel/flex-2.6.4-r1/work/flex-2.6.4/src -DLOCALEDIR=\"/usr/share/locale\" -O2 -pipe -c -o flex-tblcmp.o `test -f 'tblcmp.c' || echo '/usr/x86_64-pc-linux-musl/tmp/portage/sys-devel/flex-2.6.4-r1/work/flex-2.6.4/src/'`tblcmp.c
x86_64-pc-linux-musl-gcc -DHAVE_CONFIG_H -I. -I/usr/x86_64-pc-linux-musl/tmp/portage/sys-devel/flex-2.6.4-r1/work/flex-2.6.4/src -DLOCALEDIR=\"/usr/share/locale\" -O2 -pipe -c -o flex-yylex.o `test -f 'yylex.c' || echo '/usr/x86_64-pc-linux-musl/tmp/portage/sys-devel/flex-2.6.4-r1/work/flex-2.6.4/src/'`yylex.c
gcc -DHAVE_CONFIG_H -I. -I/usr/x86_64-pc-linux-musl/tmp/portage/sys-devel/flex-2.6.4-r1/work/flex-2.6.4/src -DLOCALEDIR=\"/usr/share/locale\" -g -O2 -c -o stage1flex-scan.o `test -f 'scan.c' || echo '/usr/x86_64-pc-linux-musl/tmp/portage/sys-devel/flex-2.6.4-r1/work/flex-2.6.4/src/'`scan.c
gcc -DHAVE_CONFIG_H -I. -I/usr/x86_64-pc-linux-musl/tmp/portage/sys-devel/flex-2.6.4-r1/work/flex-2.6.4/src -DLOCALEDIR=\"/usr/share/locale\" -g -O2 -c -o stage1flex-buf.o `test -f 'buf.c' || echo '/usr/x86_64-pc-linux-musl/tmp/portage/sys-devel/flex-2.6.4-r1/work/flex-2.6.4/src/'`buf.c
gcc -DHAVE_CONFIG_H -I. -I/usr/x86_64-pc-linux-musl/tmp/portage/sys-devel/flex-2.6.4-r1/work/flex-2.6.4/src -DLOCALEDIR=\"/usr/share/locale\" -g -O2 -c -o stage1flex-ccl.o `test -f 'ccl.c' || echo '/usr/x86_64-pc-linux-musl/tmp/portage/sys-devel/flex-2.6.4-r1/work/flex-2.6.4/src/'`ccl.c
gcc -DHAVE_CONFIG_H -I. -I/usr/x86_64-pc-linux-musl/tmp/portage/sys-devel/flex-2.6.4-r1/work/flex-2.6.4/src -DLOCALEDIR=\"/usr/share/locale\" -g -O2 -c -o stage1flex-dfa.o `test -f 'dfa.c' || echo '/usr/x86_64-pc-linux-musl/tmp/portage/sys-devel/flex-2.6.4-r1/work/flex-2.6.4/src/'`dfa.c
gcc -DHAVE_CONFIG_H -I. -I/usr/x86_64-pc-linux-musl/tmp/portage/sys-devel/flex-2.6.4-r1/work/flex-2.6.4/src -DLOCALEDIR=\"/usr/share/locale\" -g -O2 -c -o stage1flex-ecs.o `test -f 'ecs.c' || echo '/usr/x86_64-pc-linux-musl/tmp/portage/sys-devel/flex-2.6.4-r1/work/flex-2.6.4/src/'`ecs.c
In file included from /usr/x86_64-pc-linux-musl/tmp/portage/sys-devel/flex-2.6.4-r1/work/flex-2.6.4/src/flexdef.h:39,
from scan.l:35:
scan.c: In function 'yyalloc':
./config.h:289:16: warning: implicit declaration of function 'rpl_malloc'; did you mean 'realloc'? [-Wimplicit-function-declaration]
289 | #define malloc rpl_malloc
| ^~~~~~~~~~
scan.c:5173:11: note: in expansion of macro 'malloc'
./config.h:289:16: warning: returning 'int' from a function with return type 'void *' makes pointer from integer without a cast [-Wint-conversion]
289 | #define malloc rpl_malloc
scan.c:5173:11: note: in expansion of macro 'malloc'
scan.c: In function 'yyrealloc':
./config.h:295:17: warning: implicit declaration of function 'rpl_realloc'; did you mean 'yyrealloc'? [-Wimplicit-function-declaration]
295 | #define realloc rpl_realloc
| ^~~~~~~~~~~
scan.c:5186:9: note: in expansion of macro 'realloc'
./config.h:295:17: warning: returning 'int' from a function with return type 'void *' makes pointer from integer without a cast [-Wint-conversion]
295 | #define realloc rpl_realloc
scan.c:5186:9: note: in expansion of macro 'realloc'
gcc -DHAVE_CONFIG_H -I. -I/usr/x86_64-pc-linux-musl/tmp/portage/sys-devel/flex-2.6.4-r1/work/flex-2.6.4/src -DLOCALEDIR=\"/usr/share/locale\" -g -O2 -c -o stage1flex-filter.o `test -f 'filter.c' || echo '/usr/x86_64-pc-linux-musl/tmp/portage/sys-devel/flex-2.6.4-r1/work/flex-2.6.4/src/'`filter.c
gcc -DHAVE_CONFIG_H -I. -I/usr/x86_64-pc-linux-musl/tmp/portage/sys-devel/flex-2.6.4-r1/work/flex-2.6.4/src -DLOCALEDIR=\"/usr/share/locale\" -g -O2 -c -o stage1flex-gen.o `test -f 'gen.c' || echo '/usr/x86_64-pc-linux-musl/tmp/portage/sys-devel/flex-2.6.4-r1/work/flex-2.6.4/src/'`gen.c
gcc -DHAVE_CONFIG_H -I. -I/usr/x86_64-pc-linux-musl/tmp/portage/sys-devel/flex-2.6.4-r1/work/flex-2.6.4/src -DLOCALEDIR=\"/usr/share/locale\" -g -O2 -c -o stage1flex-main.o `test -f 'main.c' || echo '/usr/x86_64-pc-linux-musl/tmp/portage/sys-devel/flex-2.6.4-r1/work/flex-2.6.4/src/'`main.c
gcc -DHAVE_CONFIG_H -I. -I/usr/x86_64-pc-linux-musl/tmp/portage/sys-devel/flex-2.6.4-r1/work/flex-2.6.4/src -DLOCALEDIR=\"/usr/share/locale\" -g -O2 -c -o stage1flex-misc.o `test -f 'misc.c' || echo '/usr/x86_64-pc-linux-musl/tmp/portage/sys-devel/flex-2.6.4-r1/work/flex-2.6.4/src/'`misc.c
gcc -DHAVE_CONFIG_H -I. -I/usr/x86_64-pc-linux-musl/tmp/portage/sys-devel/flex-2.6.4-r1/work/flex-2.6.4/src -DLOCALEDIR=\"/usr/share/locale\" -g -O2 -c -o stage1flex-nfa.o `test -f 'nfa.c' || echo '/usr/x86_64-pc-linux-musl/tmp/portage/sys-devel/flex-2.6.4-r1/work/flex-2.6.4/src/'`nfa.c
gcc -DHAVE_CONFIG_H -I. -I/usr/x86_64-pc-linux-musl/tmp/portage/sys-devel/flex-2.6.4-r1/work/flex-2.6.4/src -DLOCALEDIR=\"/usr/share/locale\" -g -O2 -c -o stage1flex-options.o `test -f 'options.c' || echo '/usr/x86_64-pc-linux-musl/tmp/portage/sys-devel/flex-2.6.4-r1/work/flex-2.6.4/src/'`options.c
gcc -DHAVE_CONFIG_H -I. -I/usr/x86_64-pc-linux-musl/tmp/portage/sys-devel/flex-2.6.4-r1/work/flex-2.6.4/src -DLOCALEDIR=\"/usr/share/locale\" -g -O2 -c -o stage1flex-parse.o `test -f 'parse.c' || echo '/usr/x86_64-pc-linux-musl/tmp/portage/sys-devel/flex-2.6.4-r1/work/flex-2.6.4/src/'`parse.c
gcc -DHAVE_CONFIG_H -I. -I/usr/x86_64-pc-linux-musl/tmp/portage/sys-devel/flex-2.6.4-r1/work/flex-2.6.4/src -DLOCALEDIR=\"/usr/share/locale\" -g -O2 -c -o stage1flex-regex.o `test -f 'regex.c' || echo '/usr/x86_64-pc-linux-musl/tmp/portage/sys-devel/flex-2.6.4-r1/work/flex-2.6.4/src/'`regex.c
gcc -DHAVE_CONFIG_H -I. -I/usr/x86_64-pc-linux-musl/tmp/portage/sys-devel/flex-2.6.4-r1/work/flex-2.6.4/src -DLOCALEDIR=\"/usr/share/locale\" -g -O2 -c -o stage1flex-scanflags.o `test -f 'scanflags.c' || echo '/usr/x86_64-pc-linux-musl/tmp/portage/sys-devel/flex-2.6.4-r1/work/flex-2.6.4/src/'`scanflags.c
gcc -DHAVE_CONFIG_H -I. -I/usr/x86_64-pc-linux-musl/tmp/portage/sys-devel/flex-2.6.4-r1/work/flex-2.6.4/src -DLOCALEDIR=\"/usr/share/locale\" -g -O2 -c -o stage1flex-scanopt.o `test -f 'scanopt.c' || echo '/usr/x86_64-pc-linux-musl/tmp/portage/sys-devel/flex-2.6.4-r1/work/flex-2.6.4/src/'`scanopt.c
gcc -DHAVE_CONFIG_H -I. -I/usr/x86_64-pc-linux-musl/tmp/portage/sys-devel/flex-2.6.4-r1/work/flex-2.6.4/src -DLOCALEDIR=\"/usr/share/locale\" -g -O2 -c -o stage1flex-skel.o `test -f 'skel.c' || echo '/usr/x86_64-pc-linux-musl/tmp/portage/sys-devel/flex-2.6.4-r1/work/flex-2.6.4/src/'`skel.c
gcc -DHAVE_CONFIG_H -I. -I/usr/x86_64-pc-linux-musl/tmp/portage/sys-devel/flex-2.6.4-r1/work/flex-2.6.4/src -DLOCALEDIR=\"/usr/share/locale\" -g -O2 -c -o stage1flex-sym.o `test -f 'sym.c' || echo '/usr/x86_64-pc-linux-musl/tmp/portage/sys-devel/flex-2.6.4-r1/work/flex-2.6.4/src/'`sym.c
gcc -DHAVE_CONFIG_H -I. -I/usr/x86_64-pc-linux-musl/tmp/portage/sys-devel/flex-2.6.4-r1/work/flex-2.6.4/src -DLOCALEDIR=\"/usr/share/locale\" -g -O2 -c -o stage1flex-tables.o `test -f 'tables.c' || echo '/usr/x86_64-pc-linux-musl/tmp/portage/sys-devel/flex-2.6.4-r1/work/flex-2.6.4/src/'`tables.c
gcc -DHAVE_CONFIG_H -I. -I/usr/x86_64-pc-linux-musl/tmp/portage/sys-devel/flex-2.6.4-r1/work/flex-2.6.4/src -DLOCALEDIR=\"/usr/share/locale\" -g -O2 -c -o stage1flex-tables_shared.o `test -f 'tables_shared.c' || echo '/usr/x86_64-pc-linux-musl/tmp/portage/sys-devel/flex-2.6.4-r1/work/flex-2.6.4/src/'`tables_shared.c
gcc -DHAVE_CONFIG_H -I. -I/usr/x86_64-pc-linux-musl/tmp/portage/sys-devel/flex-2.6.4-r1/work/flex-2.6.4/src -DLOCALEDIR=\"/usr/share/locale\" -g -O2 -c -o stage1flex-tblcmp.o `test -f 'tblcmp.c' || echo '/usr/x86_64-pc-linux-musl/tmp/portage/sys-devel/flex-2.6.4-r1/work/flex-2.6.4/src/'`tblcmp.c
gcc -DHAVE_CONFIG_H -I. -I/usr/x86_64-pc-linux-musl/tmp/portage/sys-devel/flex-2.6.4-r1/work/flex-2.6.4/src -DLOCALEDIR=\"/usr/share/locale\" -g -O2 -c -o stage1flex-yylex.o `test -f 'yylex.c' || echo '/usr/x86_64-pc-linux-musl/tmp/portage/sys-devel/flex-2.6.4-r1/work/flex-2.6.4/src/'`yylex.c
x86_64-pc-linux-musl-gcc -DHAVE_CONFIG_H -I. -I/usr/x86_64-pc-linux-musl/tmp/portage/sys-devel/flex-2.6.4-r1/work/flex-2.6.4/src -DLOCALEDIR=\"/usr/share/locale\" -O2 -pipe -c -o ../lib/malloc.o /usr/x86_64-pc-linux-musl/tmp/portage/sys-devel/flex-2.6.4-r1/work/flex-2.6.4/src/../lib/malloc.c
x86_64-pc-linux-musl-gcc -DHAVE_CONFIG_H -I. -I/usr/x86_64-pc-linux-musl/tmp/portage/sys-devel/flex-2.6.4-r1/work/flex-2.6.4/src -DLOCALEDIR=\"/usr/share/locale\" -O2 -pipe -c -o ../lib/realloc.o /usr/x86_64-pc-linux-musl/tmp/portage/sys-devel/flex-2.6.4-r1/work/flex-2.6.4/src/../lib/realloc.c
/bin/sh ../libtool --tag=CC --mode=link x86_64-pc-linux-musl-gcc -O2 -pipe -version-info 2:0:0 -Wl,-O1 -Wl,--as-needed -o libfl.la -rpath /usr/lib libmain.lo libyywrap.lo -lm
gcc -DHAVE_CONFIG_H -I. -I/usr/x86_64-pc-linux-musl/tmp/portage/sys-devel/flex-2.6.4-r1/work/flex-2.6.4/src -DLOCALEDIR=\"/usr/share/locale\" -g -O2 -c -o ../lib/stage1flex-malloc.o `test -f '../lib/malloc.c' || echo '/usr/x86_64-pc-linux-musl/tmp/portage/sys-devel/flex-2.6.4-r1/work/flex-2.6.4/src/'`../lib/malloc.c
gcc -DHAVE_CONFIG_H -I. -I/usr/x86_64-pc-linux-musl/tmp/portage/sys-devel/flex-2.6.4-r1/work/flex-2.6.4/src -DLOCALEDIR=\"/usr/share/locale\" -g -O2 -c -o ../lib/stage1flex-realloc.o `test -f '../lib/realloc.c' || echo '/usr/x86_64-pc-linux-musl/tmp/portage/sys-devel/flex-2.6.4-r1/work/flex-2.6.4/src/'`../lib/realloc.c
libtool: link: x86_64-pc-linux-musl-ar cru .libs/libfl.a libmain.o libyywrap.o
libtool: link: x86_64-pc-linux-musl-ranlib .libs/libfl.a
libtool: link: ( cd ".libs" && rm -f "libfl.la" && ln -s "../libfl.la" "libfl.la" )
/bin/sh ../libtool --tag=CC --mode=link gcc -g -O2 -o stage1flex stage1flex-scan.o stage1flex-buf.o stage1flex-ccl.o stage1flex-dfa.o stage1flex-ecs.o stage1flex-filter.o stage1flex-gen.o stage1flex-main.o stage1flex-misc.o stage1flex-nfa.o stage1flex-options.o stage1flex-parse.o stage1flex-regex.o stage1flex-scanflags.o stage1flex-scanopt.o stage1flex-skel.o stage1flex-sym.o stage1flex-tables.o stage1flex-tables_shared.o stage1flex-tblcmp.o stage1flex-yylex.o ../lib/stage1flex-malloc.o ../lib/stage1flex-realloc.o -lm
libtool: link: gcc -g -O2 -o stage1flex stage1flex-scan.o stage1flex-buf.o stage1flex-ccl.o stage1flex-dfa.o stage1flex-ecs.o stage1flex-filter.o stage1flex-gen.o stage1flex-main.o stage1flex-misc.o stage1flex-nfa.o stage1flex-options.o stage1flex-parse.o stage1flex-regex.o stage1flex-scanflags.o stage1flex-scanopt.o stage1flex-skel.o stage1flex-sym.o stage1flex-tables.o stage1flex-tables_shared.o stage1flex-tblcmp.o stage1flex-yylex.o ../lib/stage1flex-malloc.o ../lib/stage1flex-realloc.o -lm
./stage1flex -o stage1scan.c /usr/x86_64-pc-linux-musl/tmp/portage/sys-devel/flex-2.6.4-r1/work/flex-2.6.4/src/scan.l
make[2]: *** [Makefile:1698: stage1scan.c] Segmentation fault
make[2]: Leaving directory '/usr/x86_64-pc-linux-musl/tmp/portage/sys-devel/flex-2.6.4-r1/work/flex-2.6.4-abi_x86_64.amd64/src'
make[1]: *** [Makefile:546: all] Error 2
make[1]: Leaving directory '/usr/x86_64-pc-linux-musl/tmp/portage/sys-devel/flex-2.6.4-r1/work/flex-2.6.4-abi_x86_64.amd64/src'
make: *** [Makefile:532: all-recursive] Error 1
* ERROR: sys-devel/flex-2.6.4-r1::gentoo failed (compile phase):
* emake failed
*
* If you need support, post the output of `emerge --info '=sys-devel/flex-2.6.4-r1::gentoo'`,
* the complete build log and the output of `emerge -pqv '=sys-devel/flex-2.6.4-r1::gentoo'`.
* The complete build log is located at '/usr/x86_64-pc-linux-musl/tmp/portage/sys-devel/flex-2.6.4-r1/temp/build.log'.
* The ebuild environment file is located at '/usr/x86_64-pc-linux-musl/tmp/portage/sys-devel/flex-2.6.4-r1/temp/environment'.
* Working directory: '/usr/x86_64-pc-linux-musl/tmp/portage/sys-devel/flex-2.6.4-r1/work/flex-2.6.4-abi_x86_64.amd64'
* S: '/usr/x86_64-pc-linux-musl/tmp/portage/sys-devel/flex-2.6.4-r1/work/flex-2.6.4'
>>> Failed to emerge sys-devel/flex-2.6.4-r1 for /usr/x86_64-pc-linux-musl/, Log file:
>>> '/usr/x86_64-pc-linux-musl/tmp/portage/sys-devel/flex-2.6.4-r1/temp/build.log'
* Messages for package sys-devel/flex-2.6.4-r1 merged to /usr/x86_64-pc-linux-musl/:
* ERROR: sys-devel/flex-2.6.4-r1::gentoo failed (compile phase):
* emake failed
*
* If you need support, post the output of `emerge --info '=sys-devel/flex-2.6.4-r1::gentoo'`,
* the complete build log and the output of `emerge -pqv '=sys-devel/flex-2.6.4-r1::gentoo'`.
* The complete build log is located at '/usr/x86_64-pc-linux-musl/tmp/portage/sys-devel/flex-2.6.4-r1/temp/build.log'.
* The ebuild environment file is located at '/usr/x86_64-pc-linux-musl/tmp/portage/sys-devel/flex-2.6.4-r1/temp/environment'.
* Working directory: '/usr/x86_64-pc-linux-musl/tmp/portage/sys-devel/flex-2.6.4-r1/work/flex-2.6.4-abi_x86_64.amd64'
* S: '/usr/x86_64-pc-linux-musl/tmp/portage/sys-devel/flex-2.6.4-r1/work/flex-2.6.4'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment