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

Doesn't build/can't link to ssh on Ubuntu 22.04 (Jammy) #251

Closed
andy5995 opened this issue Aug 17, 2022 · 4 comments
Closed

Doesn't build/can't link to ssh on Ubuntu 22.04 (Jammy) #251

andy5995 opened this issue Aug 17, 2022 · 4 comments

Comments

@andy5995
Copy link
Contributor

While there is an MG binary package available for Jammy

https://packages.ubuntu.com/jammy/megaglest

It won't build in the CI

Some extra details at #250 where I'm trying to fix it

It's failing around 95% with the message cannot find -lssh: No such file or directory using both clang and gcc

@andy5995
Copy link
Contributor Author

Maybe some of these open bugs are related?

https://bugs.launchpad.net/ubuntu/+source/curl/+bugs?field.status:list=NEW

@andy5995
Copy link
Contributor Author

I'm not fix this in #250, it can be done in a separate PR.

@andy5995
Copy link
Contributor Author

In the Matrix chat, @Rampoina reported

the issue is the build script
it works fine by running cmake manually

@andy5995
Copy link
Contributor Author

I'll add the build to #250 again

andy5995 added a commit to zetaglest/megaglest-source that referenced this issue Aug 18, 2022
andy5995 added a commit to zetaglest/megaglest-source that referenced this issue Aug 18, 2022
andy5995 added a commit to zetaglest/megaglest-source that referenced this issue Aug 18, 2022
Rampoina pushed a commit to Rampoina/megaglest-source that referenced this issue Aug 25, 2022
…koutv3 (MegaGlest#250)

* workflows/cmake.yml:test on Ubuntu Jammy (22.04);migrate to checkoutv3

This should also fix MegaGlest#247

* maybe fix ssh link error on Ubuntu Jammy

gcc and clang build is failing on Jammy with the message:

'cannot find -lssh: No such file or directory'

Basically I added libcurl-openssl-dev to the deps

* remove libcurl4-gnutls-dev

Trying to correct:

 The following packages have unmet dependencies:
libcurl4-gnutls-dev : Conflicts: libcurl4-openssl-dev but
7.81.0-1ubuntu1.3 is to be installed
libcurl4-openssl-dev : Conflicts: libcurl4-gnutls-dev but
7.81.0-1ubuntu1.3 is to be installed
E: Unable to correct problems, you have held broken packages.
An error occurred while installing build dependencies.

* use cmake FindCURL module

* for OpenSSL, use include instead of find_package

* remove jammy, add gcc-10 and 11 test

* revert now-unrelated changes

* clean-up

* add VERBOSE flag to make

* Update .github/workflows/cmake.yml

* Update .github/workflows/cmake.yml

* use '-f' option from build script to force clang

* force dynamic libs with '-d'

fixes MegaGlest#251

* mk/linux/setupBuildDeps.sh:fix script so 22.04 is detected

*remove vlc deps (not required for the CI)
*remove ubuntu-18.04 from the build matrix, see
https://github.blog/changelog/2022-08-09-github-actions-the-ubuntu-18-04-actions-runner-image-is-being-deprecated-and-will-be-removed-by-12-1-22/

* revert removal of commented macos jobs

* run apt-get update and upgrade

* cleanup Prep snapshot section
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

1 participant