A continuation from #9 (doing clean build):
... x86_64-nt64-midipix-gcc -std=gnu99 -D_REDIR_TIME64=0 -g2 -O0 --sysroot=/home/sskras/midipix/nt64/debug/native -std=gnu99 -std=gnu99 -I. -DHAVE_SYSINFO -DGIT_HOST_CPU="\"x86_64\"" -DHAVE_ALLOCA_H -I/home/sskras/midipix/nt64/debug/native/include -DUSE_CURL_FOR_IMAP_SEND -DNO_GETTEXT -DSUPPORTS_SIMPLE_IPC -DNO_UNCOMPRESS2 -DSHA1_DC -DSHA1DC_NO_STANDARD_INCLUDES -DSHA1DC_INIT_SAFE_HASH_DEFAULT=0 -DSHA1DC_CUSTOM_INCLUDE_SHA1_C="\"cache.h\"" -DSHA1DC_CUSTOM_INCLUDE_UBC_CHECK_C="\"git-compat-util.h\"" -DSHA256_BLK -DHAVE_PATHS_H -DHAVE_LIBCHARSET_H -DHAVE_STRINGS_H -DHAVE_DEV_TTY -DHAVE_CLOCK_GETTIME -DHAVE_CLOCK_MONOTONIC -DHAVE_GETDELIM '-DPROCFS_EXECUTABLE_PATH="/proc/self/exe"' -Icompat/regex -DSHELL_PATH='"/bin/sh"' -o git-imap-send --sysroot=/home/sskras/midipix/nt64/debug/native imap-send.o http.o common-main.o \ -L/home/sskras/midipix/nt64/debug/native/lib -Wl,-rpath,/home/sskras/midipix/nt64/debug/native/lib -Wl,-zrelro -L/home/sskras/pkg/lib -Wl,-R/home/sskras/pkg/lib -L/home/sskras/pkg/lib -L/home/sskras/pkg/lib -L/home/sskras/pkg/lib -L/home/sskras/pkg/lib -L/home/sskras/pkg/lib -lcurl -lssl -lcrypto libgit.a xdiff/lib.a reftable/libreftable.a -lz -liconv -liconv -lrt /home/sskras/midipix/nt64/debug/lib/gcc/x86_64-nt64-midipix/4.6.4/../../../../x86_64-nt64-midipix/bin/ld: unrecognized option '-zrelro' /home/sskras/midipix/nt64/debug/lib/gcc/x86_64-nt64-midipix/4.6.4/../../../../x86_64-nt64-midipix/bin/ld: use the --help option for usage information collect2: ld returned 1 exit status make: *** [Makefile:2614: git-imap-send] Error 1 make: *** Waiting for unfinished jobs.... ==> 2024/01/16 21:36:47 Build failed in `git', check `/home/sskras/midipix/nt64/debug/tmp/git_stderrout.log' for details. ==> 2024/01/16 21:36:47 [ 80% ] [008/010] Finished `native_packages' build group. ==> 2024/01/16 21:36:47 49 finished, 296 skipped, and 1 failed package(s). ==> 2024/01/16 21:36:47 Build time: 7 hour(s), 16 minute(s), and 54 second(s). ==> 2024/01/16 21:36:47 Build script failure(s) in: git.
Looks like it also picked another pkg-config related tool from my pkgsrc installation:
pkg-config
pkgsrc
sskras@server-5aef8ee:~/midipix/nt64/debug/tmp/git-native-x86_64-nt64-midipix$ grep -B3 zrelro git-2.35.5/config.log configure:5489: checking for curl-config configure:5510: found /home/sskras/pkg/bin/curl-config configure:5522: result: curl-config configure:5540: Setting CURL_LDFLAGS to '-Wl,-zrelro -L/home/sskras/pkg/lib -Wl,-R/home/sskras/pkg/lib -L/home/sskras/pkg/lib -L/home/sskras/pkg/lib -L/home/sskras/pkg/lib -L/home/sskras/pkg/lib -L/home/sskras/pkg/lib -lcurl'
d7929db fixes libcurl and
libcurl
842ffb1 fixes git.
git
Metadata Update from @sskras: - Issue status updated to: Closed (was: Open)
Login to comment on this ticket.