Closed AkihiroSuda closed 3 years ago
test-build is failing
2021-02-19T07:57:53.2055892Z #19 [buildtest-alpine3-static 8/8] RUN ./autogen.sh && ./configure LDFLAGS="-static" && make && cp -f slirp4netns / 2021-02-19T07:57:53.2057160Z #19 sha256:9e028ea7e4e52c0f14bd290a93dea8ca4c79f3ecd8ae31d4ccbdda8c81814035 2021-02-19T07:57:53.2058072Z #19 10.76 checking for uint16_t... yes 2021-02-19T07:57:53.3075561Z #19 10.88 checking for uint32_t... yes 2021-02-19T07:57:53.4575956Z #19 10.98 checking for uint64_t... yes 2021-02-19T07:57:53.5610296Z #19 11.08 checking for uint8_t... yes 2021-02-19T07:57:53.5610950Z #19 11.16 checking for working alloca.h... yes 2021-02-19T07:57:53.5611446Z #19 11.20 checking for alloca... yes 2021-02-19T07:57:53.8264430Z #19 11.24 checking for working strtod... yes 2021-02-19T07:57:53.8266729Z #19 11.35 checking vfork.h usability... no 2021-02-19T07:57:53.8268058Z #19 11.41 checking vfork.h presence... no 2021-02-19T07:57:53.8268700Z #19 11.43 checking for vfork.h... no 2021-02-19T07:57:53.9616106Z #19 11.44 checking for fork... yes 2021-02-19T07:57:54.1116317Z #19 11.57 checking for vfork... yes 2021-02-19T07:57:54.2267601Z #19 11.69 checking for working fork... yes 2021-02-19T07:57:54.2268382Z #19 11.84 checking for working vfork... (cached) yes 2021-02-19T07:57:54.2268944Z #19 11.84 checking for stdlib.h... (cached) yes 2021-02-19T07:57:54.3469063Z #19 11.84 checking for GNU libc compatible malloc... yes 2021-02-19T07:57:54.3469938Z #19 11.92 checking for stdlib.h... (cached) yes 2021-02-19T07:57:54.3470518Z #19 11.92 checking for GNU libc compatible realloc... yes 2021-02-19T07:57:54.4620198Z #19 12.03 checking for atexit... yes 2021-02-19T07:57:54.5671495Z #19 12.15 checking for clock_gettime... yes 2021-02-19T07:57:54.7066145Z #19 12.24 checking for dup2... yes 2021-02-19T07:57:54.9402608Z #19 12.39 checking for getopt_long... yes 2021-02-19T07:57:55.0421575Z #19 12.52 checking for inet_ntoa... yes 2021-02-19T07:57:55.0422160Z #19 12.66 checking for memmove... yes 2021-02-19T07:57:55.1923855Z #19 12.71 checking for memset... yes 2021-02-19T07:57:55.1924366Z #19 12.76 checking for mkdir... yes 2021-02-19T07:57:55.3176634Z #19 12.80 checking for regcomp... yes 2021-02-19T07:57:55.3177124Z #19 12.89 checking for rmdir... yes 2021-02-19T07:57:55.3177549Z #19 12.95 checking for socket... yes 2021-02-19T07:57:55.4188876Z #19 13.00 checking for strcasecmp... yes 2021-02-19T07:57:55.4189459Z #19 13.04 checking for strchr... yes 2021-02-19T07:57:55.5495343Z #19 13.10 checking for strdup... yes 2021-02-19T07:57:55.6817329Z #19 13.18 checking for strerror... yes 2021-02-19T07:57:55.6817846Z #19 13.24 checking for strstr... yes 2021-02-19T07:57:55.7884884Z #19 13.31 checking for strtol... yes 2021-02-19T07:57:55.7885713Z #19 13.37 checking for strtoul... yes 2021-02-19T07:57:55.7887289Z #19 13.44 checking for pkg-config... /usr/bin/pkg-config 2021-02-19T07:57:55.7888341Z #19 13.44 checking pkg-config is at least version 0.9.0... yes 2021-02-19T07:57:55.7888859Z #19 13.44 checking for GLIB... yes 2021-02-19T07:57:55.7889439Z #19 13.45 checking for SLIRP... yes 2021-02-19T07:57:55.7889900Z #19 13.45 checking for LIBCAP... yes 2021-02-19T07:57:55.9121730Z #19 13.47 checking for LIBSECCOMP... yes 2021-02-19T07:57:55.9122453Z #19 13.50 checking that generated files are newer than configure... done 2021-02-19T07:57:55.9123247Z #19 13.50 configure: creating ./config.status 2021-02-19T07:57:55.9124199Z #19 13.59 config.status: creating Makefile 2021-02-19T07:57:56.0142055Z #19 13.64 config.status: creating config.h 2021-02-19T07:57:56.0142759Z #19 13.66 config.status: executing depfiles commands 2021-02-19T07:57:56.1161651Z #19 13.79 make all-am 2021-02-19T07:57:56.2523462Z #19 13.79 make[1]: Entering directory '/src' 2021-02-19T07:57:56.2525816Z #19 13.80 gcc -DHAVE_CONFIG_H -I. -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/local/include/slirp -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DCOMMIT="\"3d18b7eb60555588941a3623c0996f6a42150ff1\"" -g -O2 -MT slirp4netns-main.o -MD -MP -MF .deps/slirp4netns-main.Tpo -c -o slirp4netns-main.o `test -f 'main.c' || echo './'`main.c 2021-02-19T07:57:56.6531410Z #19 14.26 mv -f .deps/slirp4netns-main.Tpo .deps/slirp4netns-main.Po 2021-02-19T07:57:56.6534547Z #19 14.26 gcc -DHAVE_CONFIG_H -I. -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/local/include/slirp -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DCOMMIT="\"3d18b7eb60555588941a3623c0996f6a42150ff1\"" -g -O2 -MT slirp4netns-slirp4netns.o -MD -MP -MF .deps/slirp4netns-slirp4netns.Tpo -c -o slirp4netns-slirp4netns.o `test -f 'slirp4netns.c' || echo './'`slirp4netns.c 2021-02-19T07:57:57.0405749Z #19 14.64 mv -f .deps/slirp4netns-slirp4netns.Tpo .deps/slirp4netns-slirp4netns.Po 2021-02-19T07:57:57.0408382Z #19 14.65 gcc -DHAVE_CONFIG_H -I. -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/local/include/slirp -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DCOMMIT="\"3d18b7eb60555588941a3623c0996f6a42150ff1\"" -g -O2 -MT slirp4netns-api.o -MD -MP -MF .deps/slirp4netns-api.Tpo -c -o slirp4netns-api.o `test -f 'api.c' || echo './'`api.c 2021-02-19T07:57:57.3829586Z #19 14.99 mv -f .deps/slirp4netns-api.Tpo .deps/slirp4netns-api.Po 2021-02-19T07:57:57.3832268Z #19 14.99 gcc -DHAVE_CONFIG_H -I. -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/local/include/slirp -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DCOMMIT="\"3d18b7eb60555588941a3623c0996f6a42150ff1\"" -g -O2 -MT slirp4netns-sandbox.o -MD -MP -MF .deps/slirp4netns-sandbox.Tpo -c -o slirp4netns-sandbox.o `test -f 'sandbox.c' || echo './'`sandbox.c 2021-02-19T07:57:57.6834268Z #19 15.23 mv -f .deps/slirp4netns-sandbox.Tpo .deps/slirp4netns-sandbox.Po 2021-02-19T07:57:57.6837212Z #19 15.23 gcc -DHAVE_CONFIG_H -I. -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/local/include/slirp -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DCOMMIT="\"3d18b7eb60555588941a3623c0996f6a42150ff1\"" -g -O2 -MT slirp4netns-seccompfilter.o -MD -MP -MF .deps/slirp4netns-seccompfilter.Tpo -c -o slirp4netns-seccompfilter.o `test -f 'seccompfilter.c' || echo './'`seccompfilter.c 2021-02-19T07:57:57.8010824Z #19 15.48 mv -f .deps/slirp4netns-seccompfilter.Tpo .deps/slirp4netns-seccompfilter.Po 2021-02-19T07:57:57.9470584Z #19 15.48 gcc -DHAVE_CONFIG_H -I. -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/local/include/slirp -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/src/vendor/parson -g -O2 -MT vendor/parson/libparson_a-parson.o -MD -MP -MF vendor/parson/.deps/libparson_a-parson.Tpo -c -o vendor/parson/libparson_a-parson.o `test -f 'vendor/parson/parson.c' || echo './'`vendor/parson/parson.c 2021-02-19T07:57:59.7974598Z #19 17.36 mv -f vendor/parson/.deps/libparson_a-parson.Tpo vendor/parson/.deps/libparson_a-parson.Po 2021-02-19T07:57:59.7975554Z #19 17.36 rm -f libparson.a 2021-02-19T07:57:59.7976481Z #19 17.36 ar cru libparson.a vendor/parson/libparson_a-parson.o 2021-02-19T07:57:59.7977337Z #19 17.37 ar: `u' modifier ignored since `D' is the default (see `U') 2021-02-19T07:57:59.7977830Z #19 17.37 ranlib libparson.a 2021-02-19T07:57:59.7980280Z #19 17.38 gcc -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/local/include/slirp -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DCOMMIT="\"3d18b7eb60555588941a3623c0996f6a42150ff1\"" -g -O2 -static -o slirp4netns slirp4netns-main.o slirp4netns-slirp4netns.o slirp4netns-api.o slirp4netns-sandbox.o slirp4netns-seccompfilter.o libparson.a -lglib-2.0 -lintl -L/usr/local/lib -lslirp -lglib-2.0 -lintl -lseccomp -lpthread 2021-02-19T07:57:59.7982914Z #19 17.42 /usr/lib/gcc/x86_64-alpine-linux-musl/10.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: cannot find -lseccomp 2021-02-19T07:57:59.9476179Z #19 17.48 collect2: error: ld returned 1 exit status 2021-02-19T07:57:59.9476990Z #19 17.48 make[1]: *** [Makefile:677: slirp4netns] Error 1 2021-02-19T07:57:59.9478233Z #19 17.48 make[1]: Leaving directory '/src' 2021-02-19T07:57:59.9478776Z #19 17.48 make: *** [Makefile:563: all] Error 2
test-build is failing