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

openSUSE build service #143

Open
bkmgit opened this issue Aug 25, 2021 · 10 comments
Open

openSUSE build service #143

bkmgit opened this issue Aug 25, 2021 · 10 comments

Comments

@bkmgit
Copy link
Contributor

bkmgit commented Aug 25, 2021

Build on openSUSE build service for Fedora is installed in /usr/gr
Packages in Fedora typically go into /usr/bin , /usr/lib , /usr/bin and/or /usr/lib64 which are typically setup for compilers to find dependencies. Might it be worth setting up a separate spec file for this use case?

@IngoMeyer441
Copy link
Member

Christian's comment in #142 is also relevant to this issue.

@kojix2
Copy link
Contributor

kojix2 commented Aug 29, 2021

Christian's comment in #142

Unfortunately the DSA1024 key inherited from the parent project science is still valid, but considered too weak by some distributions. I pointed this out by mail and bug trackers to the OBS maintainers in 2018. unfortunately the key still has not upgraded yet. You can workaround this by manually declaring the repository as trusted.

I am currently on vacation. may I can ping the OBS folks again once I‘m back.

Regarding the paths for libraries and so on we used to have a common prefix (grdir) in the past. I agree that for packaged versions it would make sense to change that to point to well used paths lib(64), share, ... . This would require changes in various wrappers, python, julia, and probably your ruby code.

As far as I can see you already figured out how to „fix“ your ruby wrapper. We should keep you in line when applying changes to this part.

I hope this sheds some light on this.

Best
Christian

Thank you for your comment.
In the future, I would like to stop distributing packages with Red-data-tools and use the gr package distributed with openSUSE build survice. I'm using Ubuntu. I'm also a little concerned that the location of the files is different from that of common ubuntu packages.

@kojix2
Copy link
Contributor

kojix2 commented Oct 17, 2021

DSA1024 key issue?

I tried one more time today,

Ubuntu 20.04
https://software.opensuse.org//download.html?project=science%3Agr-framework&package=gr

echo 'deb http://download.opensuse.org/repositories/science:/gr-framework/xUbuntu_20.04/ /' | sudo tee /etc/apt/sources.list.d/science:gr-framework.list
curl -fsSL https://download.opensuse.org/repositories/science:gr-framework/xUbuntu_20.04/Release.key | gpg --dearmor | sudo tee /etc/apt/trusted.gpg.d/science_gr-framework.gpg > /dev/null
sudo apt update
sudo apt install gr

but the following error appeared when sudo apt update

Get:18 http://download.opensuse.org/repositories/science:/gr-framework/xUbuntu_20.04  InRelease [1251 B]
Err:18 http://download.opensuse.org/repositories/science:/gr-framework/xUbuntu_20.04  InRelease
  The following signatures were invalid: D1DD7ACD6D68A0B43081B15801DB7302943D8BB8
W: GPG error: http://download.opensuse.org/repositories/science:/gr-framework/xUbuntu_20.04  InRelease: The following signatures were invalid: D1DD7ACD6D68A0B43081B15801DB7302943D8BB8
E: The repository 'http://download.opensuse.org/repositories/science:/gr-framework/xUbuntu_20.04  InRelease' is not signed.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.

You can workaround this by manually declaring the repository as trusted.

Force update from unsigned repository

/etc/apt/sources.list.d/science:gr-framework.list

deb [trusted=yes] http://download.opensuse.org/repositories/science:/gr-framework/xUbuntu_20.04/ /

@cfelder
Copy link
Contributor

cfelder commented Oct 17, 2021

Thanks for reaching out @kojix2. I kindly asked the OBS maintainers to upgrade the gpg key which will expire soon (2021-11-11).

pub   dsa1024 2008-01-22 [SC] [expires: 2021-11-11]
      D1DD7ACD6D68A0B43081B15801DB7302943D8BB8
uid           science OBS Project <[email protected]>

@kojix2
Copy link
Contributor

kojix2 commented Oct 18, 2021

Thanks!

@cfelder
Copy link
Contributor

cfelder commented Oct 18, 2021

After creating a new rsa2048 gpg key I kindly ask you to upgrade your repository settings accordingly:

https://software.opensuse.org//download.html?project=science%3Agr-framework&package=gr

@kojix2
Copy link
Contributor

kojix2 commented Nov 11, 2021

Today is November 11, so I'll try tomorrow.

@kojix2
Copy link
Contributor

kojix2 commented Nov 13, 2021

Thank you. I can now install GR from the OBS repository. ☺️ 👍

@kojix2
Copy link
Contributor

kojix2 commented Jan 3, 2022

Happy New Year!
I tried 0.63.0 today and it seems that the openSUSEbuild service is failing to build. Please fix it when you have time.
https://build.opensuse.org/project/monitor/science:gr-framework

@cfelder
Copy link
Contributor

cfelder commented Jan 3, 2022

Thanks for reaching out @kojix2. There are some missing updates regarding 3rdparty dependencies in the packaging files. I am on it and will release a bug fix release soon.

jheinen pushed a commit that referenced this issue Jan 3, 2022
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

4 participants