NSIS compile using --system=riscv64-linux fails

  • Open
  • quality assurance status badge
Details
One participant
  • Michael Ford
Owner
unassigned
Submitted by
Michael Ford
Severity
normal

Debbugs page

Michael Ford wrote 9 months ago
(address . bug-guix@gnu.org)
CAFyhPjWA+nyU7Yn=i9dUwNwrXXR-U8DPQi1Pm-_9V4d2EwUQvw@mail.gmail.com
Building with master @ 0beb0dbfe036763e7b5d6c999fe2b3fc89faa6cb using
./pre-inst-env guix build nsis-x86_64 --system=riscv64-linux. I see
the following:

x86_64-w64-mingw32-gcc -o
build/urelease/stub_bzip2-amd64-unicode/bzlib.o -c -Os -Wall -xc
-fno-strict-aliasing -fno-tree-loop-distribute-patterns
-DNSISCALL="__attribute__((__stdcall__))" -D_UNICODE -DUNICODE
-DEXEHEAD -DWIN32_LEAN_AND_MEAN -D_WIN32_IE=0x0500
-DNSIS_COMPRESS_USE_BZIP2 -Ibuild/urelease/config Source/bzip2/bzlib.c
x86_64-w64-mingw32-gcc -o
build/urelease/stub_bzip2-amd64-unicode/decompress.o -c -Os -Wall -xc
-fno-strict-aliasing -fno-tree-loop-distribute-patterns
-DNSISCALL="__attribute__((__stdcall__))" -D_UNICODE -DUNICODE
-DEXEHEAD -DWIN32_LEAN_AND_MEAN -D_WIN32_IE=0x0500
-DNSIS_COMPRESS_USE_BZIP2 -Ibuild/urelease/config
Source/bzip2/decompress.c
x86_64-w64-mingw32-gcc -o
build/urelease/stub_bzip2-amd64-unicode/huffman.o -c -Os -Wall -xc
-fno-strict-aliasing -fno-tree-loop-distribute-patterns
-DNSISCALL="__attribute__((__stdcall__))" -D_UNICODE -DUNICODE
-DEXEHEAD -DWIN32_LEAN_AND_MEAN -D_WIN32_IE=0x0500
-DNSIS_COMPRESS_USE_BZIP2 -Ibuild/urelease/config
Source/bzip2/huffman.c
x86_64-w64-mingw32-windres -DNSISCALL="__attribute__((__stdcall__))"
-D_UNICODE -DUNICODE -DEXEHEAD -DWIN32_LEAN_AND_MEAN
-D_WIN32_IE=0x0500 -DNSIS_COMPRESS_USE_BZIP2 -Ibuild/urelease/config
-ISource/exehead -i Source/exehead/resource.rc -o
build/urelease/stub_bzip2-amd64-unicode/resource.o
/gnu/store/l5pggw8xsialdi0zngy2rw0hh768cgpm-binutils-cross-x86_64-w64-mingw32-2.38/bin/x86_64-w64-mingw32-windres:
Source/exehead/resource.rc:41: syntax error
scons: *** [build/urelease/stub_bzip2-amd64-unicode/resource.o] Error 1
scons: building terminated because of errors.
error: in phase 'build': uncaught exception:
%exception #<&invoke-error program: "scons" arguments: ("-j" "16"
"UNICODE=yes" "SKIPUTILS=MakeLangId,Makensisw,NSIS
Menu,SubStart,zip2exe" "SKIPDOC=COPYING" "STRIP_CP=no"
"PREFIX=/gnu/store/kmnb75j8crsc218yzm0a8yaywh0icskw-nsis-x86_64-3.09"
"TARGET_ARCH=amd64" "XGCC_W32_PREFIX=x86_64-w64-mingw32-"
"PREFIX_PLUGINAPI_INC=/gnu/store/fnqpagmnahkkjpa1zhvnhs3kcw5ix92s-mingw-w64-x86_64-11.0.1/include/"
"PREFIX_PLUGINAPI_LIB=/gnu/store/fnqpagmnahkkjpa1zhvnhs3kcw5ix92s-mingw-w64-x86_64-11.0.1/lib/"
"makensis" "stubs" "plugins" "utils") exit-status: 2 term-signal: #f
stop-signal: #f>
phase `build' failed after 124.7 seconds
command "scons" "-j" "16" "UNICODE=yes"
"SKIPUTILS=MakeLangId,Makensisw,NSIS Menu,SubStart,zip2exe"
"SKIPDOC=COPYING" "STRIP_CP=no"
"PREFIX=/gnu/store/kmnb75j8crsc218yzm0a8yaywh0icskw-nsis-x86_64-3.09"
"TARGET_ARCH=amd64" "XGCC_W32_PREFIX=x86_64-w64-mingw32-"
"PREFIX_PLUGINAPI_INC=/gnu/store/fnqpagmnahkkjpa1zhvnhs3kcw5ix92s-mingw-w64-x86_64-11.0.1/include/"
"PREFIX_PLUGINAPI_LIB=/gnu/store/fnqpagmnahkkjpa1zhvnhs3kcw5ix92s-mingw-w64-x86_64-11.0.1/lib/"
"makensis" "stubs" "plugins" "utils" failed with status 2
builder for `/gnu/store/j63ck3wy1vfajgl7vww498x6dis2cncp-nsis-x86_64-3.09.drv'
failed with exit code 1
build of /gnu/store/j63ck3wy1vfajgl7vww498x6dis2cncp-nsis-x86_64-3.09.drv failed
Could not find build log for
'/gnu/store/j63ck3wy1vfajgl7vww498x6dis2cncp-nsis-x86_64-3.09.drv'.
guix build: error: build of
`/gnu/store/j63ck3wy1vfajgl7vww498x6dis2cncp-nsis-x86_64-3.09.drv'
failed
?
Your comment

Commenting via the web interface is currently disabled.

To comment on this conversation send an email to 71548@debbugs.gnu.org

To respond to this issue using the mumi CLI, first switch to it
mumi current 71548
Then, you may apply the latest patchset in this issue (with sign off)
mumi am -- -s
Or, compose a reply to this issue
mumi compose
Or, send patches to this issue
mumi send-email *.patch
You may also tag this issue. See list of standard tags. For example, to set the confirmed and easy tags
mumi command -t +confirmed -t +easy
Or, remove the moreinfo tag and set the help tag
mumi command -t -moreinfo -t +help