I got your logs via private email (ahem). You should rethink about your configure options, e.g. - do NOT use --enable-fuzzing when your aim isn't fuzzing (make install is really a bad idea with that). Some code will be removed with a fuzzing build. This is only for devs.
- --with-openssl uses crypto from OpenSSL. That doesn't make much sense if you are building with GnuTLS. - no need to use --enable-threads=posix - never use --enable-assert for production builds - do not use --enable-code-coverage except you are interested in code coverage, explicitly not for production builds - why do you use --with-gnu-ld ? - are these of any use ? --with-pic=yes --no-create --no-recursion Regards, Tim On 18.03.20 13:08, Tim Rühsen wrote: > Attachment !? > > On 18.03.20 13:06, George R Goffe wrote: >> Tim, >> >> I have built wget2 on a VM without any of "my" local tools. >> >> Here's a build log that shows EVERYTHING that happened during the build >> including my build script which contains the config options I use. >> >> Wget2 has built on this platform several times and I haven't made any >> changes except for Fedora "packages" upgrades. >> >> Any thoughts you have about this would be greatly appreciated. >> >> George... >> >> >> >> On Wednesday, March 18, 2020, 1:24:45 AM PDT, Tim Rühsen >> <[email protected]> wrote: >> >> >> >> >> >> Hi George, >> >> it works here and on our CI runners (make distcheck is basically >> simulating installation). >> >> To me it looks like there is an issue with libz on your side. Did you >> try rebuilding or reinstallation of libz ? >> >> If you want us to reproduce, what system are you using ? Or possibly you >> have a Dockerfile to reproduce with ? >> >> Regards, Tim >> >> >> On 18.03.20 00:37, George R Goffe wrote: >>> Hi, >>> >>> I am trying to build wget2 and got the messages below from "make install'. >>> This is the "latest" from the git repo. >>> >>> Am I doing something wrong? >>> >>> Best regards, >>> >>> George... >>> >>> libtool: install: /usr/lsd/Linux/bin/install -c >>> .libs/libwget_netrc.so.0.0.0T /usr/lsd/Linux/lib/libwget_netrc.so.0.0.0 >>> libtool: install: (cd /usr/lsd/Linux/lib && { ln -s -f >>> libwget_netrc.so.0.0.0 libwget_netrc.so.0 || { rm -f libwget_netrc.so.0 && >>> ln -s libwget_netrc.so.0.0.0 libwget_netrc.so.0; }; }) >>> libtool: install: (cd /usr/lsd/Linux/lib && { ln -s -f >>> libwget_netrc.so.0.0.0 libwget_netrc.so || { rm -f libwget_netrc.so && ln >>> -s libwget_netrc.so.0.0.0 libwget_netrc.so; }; }) >>> libtool: install: /usr/lsd/Linux/bin/install -c .libs/libwget_netrc.lai >>> /usr/lsd/Linux/lib/libwget_netrc.la >>> libtool: warning: relinking 'libwget_decompress.la' >>> libtool: install: (cd /tools/wget2/wget2/libwget; /bin/bash >>> "/tools/wget2/wget2/libtool" --tag CC --mode=relink gcc -Wall -Wextra >>> -Wformat=2 -Walloc-zero -Walloca -Wbad-function-cast -Wdate-time >>> -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond >>> -Wfloat-conversion -Wfloat-equal -Wformat-signedness -Winit-self >>> -Winvalid-pch -Wjump-misses-init -Wlogical-op -Wmissing-declarations >>> -Wmissing-include-dirs -Wmissing-prototypes -Wmultichar -Wnested-externs >>> -Woverlength-strings -Wpedantic -Wpointer-arith -Wredundant-decls >>> -Wscalar-storage-order -Wstrict-prototypes-Wswitch-default -Wswitch-enum >>> -Wundef -Wvariadic-macros -Wwrite-strings -Warray-bounds=2 -Wnormalized=nfc >>> -Wshift-overflow=2 -Wunused-const-variable=2 -Wformat-overflow=2 >>> -Wformat-truncation=1 -Wstringop-overflow=2 -fdiagnostics-color=always >>> -Wno-cast-function-type -O0 -g -fprofile-arcs -ftest-coverage >>> -DWGET_MANYWARNINGS -DBUILDING_LIBWGET -I/usr/include/p11-kit-1 >>> -no-undefined -version-info 0:0:0 -no-whole-archive -o >>> libwget_decompress.la -rpath /usr/lsd/Linux/lib >>> libwget_decompress_la-decompressor.lo libwget_common.la libwget_alloc.la >>> ../lib/libgnu.la -llzma -lz -lbz2 ) >>> libtool: relink: gcc -shared -fPIC -DPIC >>> .libs/libwget_decompress_la-decompressor.o ../lib/.libs/libgnu.a >>> -Wl,-rpath -Wl,/usr/lsd/Linux/lib -L/tools/wget2/wget2/libwget/.libs >>> -L/usr/lsd/Linux/lib -lwget_common -lwget_alloc -lcrypto -llzma -lz -lbz2 >>> -O0 -g -fprofile-arcs -pthread -Wl,-soname -Wl,libwget_decompress.so.0 -o >>> .libs/libwget_decompress.so.0.0.0 >>> /bin/ld: skipping incompatible /usr/lsd/Linux/lib/libgcc_s.so when >>> searching for -lgcc_s >>> /bin/ld: skipping incompatible /usr/lsd/Linux/lib/libgcc_s.so.1 when >>> searching for libgcc_s.so.1 >>> /bin/ld: skipping incompatible /usr/lsd/Linux/lib/libgcc_s.so when >>> searching for -lgcc_s >>> /bin/ld: skipping incompatible /usr/lsd/Linux/lib/libgcc_s.so.1 when >>> searching for libgcc_s.so.1 >>> /bin/ld: /usr/lsd/Linux/lib/libz.a(deflate.o): relocation R_X86_64_32S >>> against hidden symbol `_length_code' can not be used when making a shared >>> object >>> /bin/ld: /usr/lsd/Linux/lib/libz.a(inflate.o): relocation R_X86_64_32S >>> against hidden symbol `zcfree' can not be used when making a shared object >>> /bin/ld: /usr/lsd/Linux/lib/libz.a(inftrees.o): relocation R_X86_64_32S >>> against `.rodata' can not be used when making a shared object; recompile >>> with -fPIC >>> /bin/ld: /usr/lsd/Linux/lib/libz.a(trees.o): relocation R_X86_64_32S >>> against hidden symbol `_length_code' can not be used when making a shared >>> object >>> /bin/ld: /usr/lsd/Linux/lib/libz.a(zutil.o): relocation R_X86_64_32 against >>> `.rodata.str1.1' can not be used when making a shared object; recompile >>> with -fPIC >>> /bin/ld: /usr/lsd/Linux/lib/libz.a(crc32.o): relocation R_X86_64_32S >>> against `.rodata' can not be used when making a shared object; recompile >>> with -fPIC >>> /bin/ld: /usr/lsd/Linux/lib/libz.a(inffast.o): relocation R_X86_64_32S >>> against `.rodata.str1.1' can not be used when making a shared object; >>> recompile with -fPIC >>> collect2: error: ld returned 1 exit status >>> libtool: error: error: relink 'libwget_decompress.la' with the above >>> command before installing it >>> make[2]: *** [Makefile:2636: install-libLTLIBRARIES] Error 1 >>> make[2]: Leaving directory '/export/home/tools/wget2/wget2/libwget' >>> make[1]: *** [Makefile:4114: install-am] Error 2 >>> make[1]: Leaving directory '/export/home/tools/wget2/wget2/libwget' >>> make: *** [Makefile:1713: install-recursive] Error 1 >>> >>> >
signature.asc
Description: OpenPGP digital signature
