Install: Builder compiler cannot compile test program while checking .nup #1010
Labels
No labels
area/accessibility
area/audio
area/input
area/install
area/menu
area/renderer
area/saves
area/tooling
area/upscaling
beanstalk: approved
beanstalk: failed
beanstalk: needs approval
beanstalk: running
beanstalk: tested
ci: approved
good first issue
gpu/amd
gpu/igpu
gpu/intel
gpu/nvidia
help wanted
kind
bug
kind
chore
kind
docs
kind
feature
kind
performance
kind
question
needs measurements
platform/linux
platform/macos
platform/steam-deck
platform/windows
preview
priority
critical
priority
high
priority
low
regression
risk
high
risk
low
risk
medium
status
blocked
status
confirmed
status
duplicate
status
invalid
status
needs-info
status
wontfix
ci: approved
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
MagicBeanDev/Longshot#1010
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Reported on Discord
What happened
The launcher cannot check or accept the
.nupROM. Error: “The builder's own compiler (tools/llvm-mingw) could not build a test program: no message. Unpack the zip again into a folder your antivirus allows.”Steps / file
The Legend of Zelda Ocarina of Time [0400486024dec000][v131072].nup(25,622,267,860 bytes), markedCheckFailed. Error occurs when extracted portable launcher folder is moved out of Downloads; leaving it in Downloads currently allows building. The reporter tried extracting in Downloads then moving the extracted folder, and extracting the ZIP in other locations including Desktop. Downloads works; Desktop and other locations fail. Putting the portable launcher in a normal folder on the C: drive outside the Desktop's specialCookieslocation makes it work. Desktop is underC:\Users\<user>\Cookies\Desktop.Versions
Longshot Launcher nightly-100-5f30eea3 (portable), nightly channel; game builds from nightly; tools nightly-358-1aec0c3c. Installed launcher also failed to start earlier; its current status is unknown. Antivirus and Microsoft Defender reportedly turned off.
System
Windows 10.0.26300, x64, .NET 10.0.15. Free space unknown.
Launcher log
Separate startup issue
The launcher previously reported no fonts through DirectWrite, tracked in LongshotLauncher#123. The diagnostic script initially failed because it was invoked from the wrong working directory; its eventual output showed
DWriteCreateFactory: 0x00000000,GetSystemFontCollection: 0x00000000, 192 font families, 534 files in the fonts folder, 354 fonts in the registry, and the Font Cache service running. PR LongshotLauncher#137 improves the no-font diagnostic and has merged; it is not in a release yet, and will be in the next nightly. This does not explain the compiler-check failure.Launcher update/save concern
The reporter says portable launcher updates do not work properly for them: updates redo pipelines and remove saves, forcing a rebuild. They initially switched to trying the installer for this reason. This may be separate from the compiler failure and needs investigation.
Still needed
Installed-launcher failure status after the latest steps, free space, and builder log or “Copy for a bug report” output. Redact personal paths.
Files from the Discord report:
From Discord:
The reporter adds that the compiler test-program error is triggered when the extracted portable launcher folder is moved out of Downloads, while leaving it there currently allows building. They say Microsoft Defender and their antivirus are completely turned off, and ask where to add an exception. The screenshot shows the
.nuplisted atC:\Users\<user>\Cookies\Desktop, marked “Not checked,” with the message thattools/llvm-mingwcould not build a test program and advising extraction to a folder allowed by antivirus. They still cannot use the installed launcher. The exact portable ZIP version, destination folder, Windows version, and builder log remain unknown.From Discord:
The reporter asks how to provide logs. Please attach the launcher/builder log from the failed build, or use “Copy for a bug report” on the affected
.nuprow if available and paste its output. Also give the portable ZIP version and destination folder after moving it. Redact personal path/account details. The screenshots in this conversation concern the separate launcher font/DirectWrite failure and an unsuccessful attempt to run the diagnostic script; they do not provide the builder log.Updated with more from Discord: Added versions, system and ROM details, log excerpt, and noted the separate DirectWrite issue and diagnostic-script attempt.
From Discord:
From Discord: the reporter confirms the portable launcher folder was moved to the Desktop, and building only works while the folder remains in Downloads; other locations fail. This clarifies the previously unknown destination path (Desktop).
Updated with more from Discord: Added the successful path workaround, full DirectWrite check results, portable update/save concerns, and merged launcher PR #137 status for the separate font failure.
Files: