Bug Report: Release Tar-ball Version 0.9.49 Build Fails with adoptopenjdk.net OpejJ9 Java8 #482

Open
opened 2025-04-21 15:11:28 -04:00 by idk · 1 comment
Owner

reporter @martin_vahi

Build commnd was "ant pkg".
Console output excerpt:

listChangedFiles:

`jar:`
      `[jar] Building jar: /home/tsw1/m_local/bin_p/I2P/v_0_9_49/i2p-0.9.49/build/utility.jar`

`build:`

`launch4j:`

`buildexe:`
     `[echo] See the file "build.properties" if this step fails.`
      `[jar] Building MANIFEST-only jar: /home/tsw1/m_local/bin_p/I2P/v_0_9_49/i2p-0.9.49/build/launchi2p.jar`
 `[launch4j] Compiling resources`
 `[launch4j] /home/tsw1/m_local/bin_p/I2P/v_0_9_49/i2p-0.9.49/installer/lib/launch4j/bin/windres: 1: /home/tsw1/m_local/bin_p/I2P/v_0_9_49/i2p-0.9.49/installer/lib/launch4j/bin/windres: Syntax error: "(" unexpected`

`BUILD FAILED`
`/home/tsw1/m_local/bin_p/I2P/v_0_9_49/i2p-0.9.49/build.xml:732: net.sf.launch4j.BuilderException: net.sf.launch4j.ExecException: Exec failed(2): [Ljava.lang.String;@4a693d5f`
        `at net.sf.launch4j.Builder.build(Builder.java:144)`
        `at net.sf.launch4j.ant.Launch4jTask.execute(Launch4jTask.java:111)`
        `at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:293)`
        `at sun.reflect.GeneratedMethodAccessor6.invoke(Unknown Source)`
        `at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)`
        `at java.lang.reflect.Method.invoke(Method.java:498)`
        `at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)`
        `at org.apache.tools.ant.Task.perform(Task.java:348)`
        `at org.apache.tools.ant.Target.execute(Target.java:435)`
        `at org.apache.tools.ant.Target.performTasks(Target.java:456)`

Thank You for reading this letter/bug_report.

reporter @martin_vahi Build commnd was "ant pkg". Console output excerpt: ` listChangedFiles:` `jar:` `[jar] Building jar: /home/tsw1/m_local/bin_p/I2P/v_0_9_49/i2p-0.9.49/build/utility.jar` `build:` `launch4j:` `buildexe:` `[echo] See the file "build.properties" if this step fails.` `[jar] Building MANIFEST-only jar: /home/tsw1/m_local/bin_p/I2P/v_0_9_49/i2p-0.9.49/build/launchi2p.jar` `[launch4j] Compiling resources` `[launch4j] /home/tsw1/m_local/bin_p/I2P/v_0_9_49/i2p-0.9.49/installer/lib/launch4j/bin/windres: 1: /home/tsw1/m_local/bin_p/I2P/v_0_9_49/i2p-0.9.49/installer/lib/launch4j/bin/windres: Syntax error: "(" unexpected` `BUILD FAILED` `/home/tsw1/m_local/bin_p/I2P/v_0_9_49/i2p-0.9.49/build.xml:732: net.sf.launch4j.BuilderException: net.sf.launch4j.ExecException: Exec failed(2): [Ljava.lang.String;@4a693d5f` `at net.sf.launch4j.Builder.build(Builder.java:144)` `at net.sf.launch4j.ant.Launch4jTask.execute(Launch4jTask.java:111)` `at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:293)` `at sun.reflect.GeneratedMethodAccessor6.invoke(Unknown Source)` `at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)` `at java.lang.reflect.Method.invoke(Method.java:498)` `at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)` `at org.apache.tools.ant.Task.perform(Task.java:348)` `at org.apache.tools.ant.Target.execute(Target.java:435)` `at org.apache.tools.ant.Target.performTasks(Target.java:456)` Thank You for reading this letter/bug_report.
Author
Owner

OP didn't specify build platform but it appears to be linux.

From build.properties:

Building EXEs in x64 Linux requires that 32bit libraries are installed. In Debian,

for example, installing the libc6-i386 package will satisfy this requirement.

Uncomment the next line to prevent building EXEs (changing it to false will have no impact)

#noExe=true

Alternatively, to build an installer for linux only:
ant installer-linux

OP didn't specify build platform but it appears to be linux. From build.properties: # Building EXEs in x64 Linux requires that 32bit libraries are installed. In Debian, # for example, installing the libc6-i386 package will satisfy this requirement. # Uncomment the next line to prevent building EXEs (changing it to false will have no impact) #noExe=true Alternatively, to build an installer for linux only: ant installer-linux
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: I2P_Developers/i2p.i2p#482
No description provided.