10000 Unable to build on Windows · Issue #29 · kobaltcore/renkit · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Unable to build on Windows #29
Open
@MapMappening

Description

@MapMappening

When testing on a completely new project, using Ren'Py 8.3.7 and renkit 5.1.0-alpha5, with renconstruct.exe in the root of the project alongside renconstruct.toml, and running the following command:

renconstruct build "." dist/

Renconstruct shows the following error (It's censored in a lot of places, bear with it):

Installing Ren'Py 8.3.7
Downloading Ren'Py 8.3.7...
████████████████████████████████████████ 4/4 (100%) eta 00:00:00                                                        Extracting SDK
Extracting RAPT
Extracting Steam support
Extracting Web support
Cleaning up temporary files
Generating Android keystore
keytool error: java.io.IOException: Bad pathname
Unable to generate Android keystore: Exit code 1
Command: "C:\\Program Files\\Eclipse Adoptium\\jdk-21.0.7.6-hotspot\\bin\\keytool" "-genkey" "-keystore" "android.keystore" "-alias" "android" "-keyalg" "RSA" "-keysize" "2048" "-keypass" "android" "-storepass" "android" "-dname" "CN=renutil" "-validity" "20000"
Writing default keystore.
Generating Bundle keystore (reusing Android keystore)
Patching SSL issue in RAPT
Installing RAPT
Command: "\\\\?\\D:\\Git-Repos\\test\\cache\\8.3.7\\lib\\py3-windows-x86_64\\python.exe" "-EO" "android.py" "installsdk"Environment
=:: = ::\
=D: = D:\Git-Repos\test
ALLUSERSPROFILE = C:\ProgramData
APPDATA = C:\Users\censored\AppData\Roaming
ChocolateyInstall = C:\ProgramData\chocolatey
ChocolateyLastPathUpdate = censored
CommonProgramFiles = C:\Program Files\Common Files
CommonProgramFiles(x86) = C:\Program Files (x86)\Common Files
CommonProgramW6432 = C:\Program Files\Common Files
COMPUTERNAME = censored
ComSpec = C:\WINDOWS\system32\cmd.exe
configsetroot = C:\WINDOWS\ConfigSetRoot
DriverData = C:\Windows\System32\Drivers\DriverData
HOMEDRIVE = C:
HOMEPATH = \Users\censored
JAVA_HOME = C:\Program Files\Eclipse Adoptium\jdk-21.0.7.6-hotspot\
LOCALAPPDATA = C:\Users\censored\AppData\Local
LOGONSERVER = \\censored
NUMBER_OF_PROCESSORS = 8
OS = Windows_NT
Path = C:\Program Files\Eclipse Adoptium\jdk-21.0.7.6-hotspot\bin;C:\Program Files (x86)\Common Files\Oracle\Java\java8path;C:\Program Files (x86)\Common Files\Oracle\Java\javapath; (Censored from here on)
PATHEXT = .COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC
POWERSHELL_TELEMETRY_OPTOUT = 1
PROCESSOR_ARCHITECTURE = censored
PROCESSOR_IDENTIFIER = censored
PROCESSOR_LEVEL = censored
PROCESSOR_REVISION = censored
ProgramData = C:\ProgramData
ProgramFiles = C:\Program Files
ProgramFiles(x86) = C:\Program Files (x86)
ProgramW6432 = C:\Program Files
PROMPT = $P$G
PSModulePath = %ProgramFiles%\WindowsPowerShell\Modules;C:\WINDOWS\system32\WindowsPowerShell\v1.0\Modules
PUBLIC = C:\Users\Public
RAPT_NO_TERMS = 1
SystemDrive = C:
SystemRoot = C:\WINDOWS
TEMP = C:\Users\CENSOR~1\AppData\Local\Temp
TMP = C:\Users\CENSOR~1\AppData\Local\Temp
USERDOMAIN = censored
USERDOMAIN_ROAMINGPROFILE = censored
USERNAME = censored
USERPROFILE = C:\Users\censored
windir = C:\WINDOWS

I'm compiling a short test program, to see if you have a working JDK
on your system.

Error: Could not find or load main class CheckJDK
Caused by: java.lang.ClassNotFoundException: CheckJDK

The version of Java on your computer does not appear to be JDK 21,
which is required to build Android apps. If you need to install a
newer JDK, you can download it from:

{a=https://adoptium.net/}https://adoptium.net/{/a}, and add it to your
PATH.

You can also set the JAVA_HOME environment variable to use a different
version of Java.
Error: Unable to install Android SDK.

Which is extremely odd, as the config doesn't indicate building anything for Android, and my JDK is correctly installed - I was able to get past this check successfully before, especially since the JDK binaries the log is talking about point to the right place, my path points to that at as well, and my JAVA_HOME points to the JDK root folder.
When running the exact same command again, I get a different error:

Building other packages.
Ren'Py Version: 8.3.7
Could not find platform independent libraries <prefix>
Could not find platform dependent libraries <exec_prefix>
Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>]
Python path configuration:
  PYTHONHOME = (not set)
  PYTHONPATH = (not set)
  program name = '\\?\D:\Git-Repos\test\cache\8.3.7\lib\py3-windows-x86_64\python.exe'
  isolated = 0
  environment = 1
  user site = 0
  import site = 1
  sys._base_executable = 'D:\\Git-Repos\\test\\\\\\?\\D:\\Git-Repos\\test\\cache\\8.3.7\\lib\\py3-windows-x86_64\\python.exe'
  sys.base_prefix = '\\home\\tom\\ab\\renpy-build-fix\\tmp\\install.windows-x86_64'
  sys.base_exec_prefix = '\\home\\tom\\ab\\renpy-build-fix\\tmp\\install.windows-x86_64'
  sys.platlibdir = 'lib'
  sys.executable = 'D:\\Git-Repos\\test\\\\\\?\\D:\\Git-Repos\\test\\cache\\8.3.7\\lib\\py3-windows-x86_64\\python.exe'
  sys.prefix = '\\home\\tom\\ab\\renpy-build-fix\\tmp\\install.windows-x86_64'
  sys.exec_prefix = '\\home\\tom\\ab\\renpy-build-fix\\tmp\\install.windows-x86_64'
  sys.path = [
    '\\home\\tom\\ab\\renpy-build-fix\\tmp\\install.windows-x86_64\\lib\\python39.zip',
    '\\home\\tom\\ab\\renpy-build-fix\\tmp\\install.windows-x86_64\\lib\\python3.9',
    '',
  ]
Fatal Python error: init_interp_main: can't finish initializing sys
Python runtime state: core initialized
ModuleNotFoundError: No module named 'encodings'

Current thread 0x00003310 (most recent call first):
<no Python frame>
Error: Unable to launch Ren'Py: Status 1

Provided is the project files so it can be tested locally.

game.zip

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0