Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Please give an update of the package list to install #167

Closed
nbauma109 opened this issue Feb 8, 2022 · 7 comments
Closed

Please give an update of the package list to install #167

nbauma109 opened this issue Feb 8, 2022 · 7 comments

Comments

@nbauma109
Copy link

nbauma109 commented Feb 8, 2022

The library name pattern with "32" in it is an old pattern that is not supported anymore. But even after renaming and adding support for i386, I'm still getting the issue:

    sudo dpkg --add-architecture i386
    sudo apt-get -y update
    sudo apt-get -y install libz1:i386 libncurses5:i386 libbz2-1.0:i386

Cannot run program "/root/.m2/repository/net/sf/launch4j/launch4j/3.14/launch4j-3.14-workdir-linux64/bin/windres": error=2, No such file or directory -> [Help 1]

Before that it says:

[INFO] [INFO] launch4j: Compiling resources
[INFO] [INFO] launch4j: Generated resource file...

Normal execution path is:

[INFO] [INFO] launch4j: Compiling resources
[INFO] [INFO] launch4j: Linking
[INFO] [INFO] launch4j: Wrapping

Originally posted by @nbauma109 in #4 (comment)

Also tried to follow the FAQ:

lib32z1
lib32ncurses5
lib32bz2-1.0 (has been ia32-libs in older Ubuntu versions)
zlib.i686
ncurses-libs.i686
bzip2-libs.i686

The last 3 libs would not install. They seem to be for CentOS (#4 (comment))
I'm using Ubuntu 20.

@nbauma109 nbauma109 changed the title Please give an update of the package list to install. The library name pattern with "32" in it is an old pattern that is not supported anymore. But even after renaming and adding support for i386, I'm still getting the issue: Please give an update of the package list to install Feb 8, 2022
@nbauma109
Copy link
Author

Yes except the dev suffixed and the ocaml ones

@lukaszlenart
Copy link
Collaborator

But did you install lib32ncurses6? lib32ncurses5 is not available for Ubuntu 20.x

@nbauma109
Copy link
Author

I made it available with
sudo dpkg --add-architecture i386

I tried both libncurses5:i386 and lib32ncurses6

@lukaszlenart
Copy link
Collaborator

To be honest I have no idea how can I help you, this is Launch4j internal tool and it's not part of the Maven Plugin.

I just used docker to run Ubuntu 20.x and downloaded the jar

wget https://repo1.maven.org/maven2/net/sf/launch4j/launch4j/3.14/launch4j-3.14-workdir-linux64.jar

then extracted it

jar xf launch4j-3.14-workdir-linux64.jar

entered the folder

cd ./launch4j-3.14-workdir-linux64/bin

added execute permission

chmod +x windres

and started the tool

./windres --help

everything looks good, not sure if this is a proper way of checking missing libraries, but the only I have.

Do you have a Maven project which I can test?

@nbauma109
Copy link
Author

I know more about the issue now : it only happens when launch4j maven plugin is used together with qcastel/github-actions-maven-release@master.
Maven build is here: https://github.com/nbauma109/jd-gui-duo/actions/runs/1819604565

@nbauma109
Copy link
Author

I'd say don't spend too much time on this, it looks like an edge case of an edge case

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants