-
Notifications
You must be signed in to change notification settings - Fork 5
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
Debian package structure and pull-upstream-changes process #5
Comments
Oh, and just for reference: here are some notes I made on how I was able to build from the sources distributed by debian. I got the source (IIRC, cd'd to made changes to the following two files to account for changes in libssl; however, these changes seem to already be reflected in the upstream master (i.e. this repo), so I won't repeat them here:
and then made the following change to
Then I built by doing (from source/):
This just builds, it doesn't install (I manually copied the sge_shepherd program to where it belongs, to fix our problem). @0xaf1f, do you use the -spool-classic option when installing for Debian, or it still supports berkeleydb? I seem to remember there were hard-looking compilation errors to solve without the '-spool-classic' option. |
It's mostly an import of the release tarball. Only the
It uses berkeleydb. This is the part of the packaging that runs aimk: Although the Debian package currently doesn't build in Unstable right now because of https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=875404 |
Thanks a lot for the info! I notice the debian/patches/ subdirectory contains a number of small patches, mostly to the build system. Are those already applied in your repo? I was investigating the ways in which your Debian repo differs from this repo. For instance, in your So I'm wondering whether your 8.1.9 is maybe not fully up-to-date -- perhaps you imported something that was later changed? |
No-- everything outside of the
That's odd. I took directly from the release tarball and only removed a few PDFs without source (hence the The original place they were downloadable from is gone now, but it seems that Dave had put them up on sourceforge later on: https://sourceforge.net/projects/gridengine/files/SGE/releases/ . This release tarball for 8.1.9: https://sourceforge.net/projects/gridengine/files/SGE/releases/8.1.9/sge-8.1.9.tar.gz/download is probably it. |
After looking into it more, it looks like the differences (which are fairly small) can't be explained by the 8.1.9 tag being off by a few commits. It looks like some changes from years ago didn't make it into your Debian repo, possibly due to errors in merging. Below is an example file that differs slightly (diff from current debian master -> upstream 8.1.9):
And one of those lines, from 'git blame' in your repo, is: That commit by Laszlo Kajan was a merge commit (the merge of the upstream 8.1.3). |
I don't think it's useful to examine the git history of the upstream source in the Debian repository since it's just a series of imports from a tarball, at least since I started maintaining it. So regardless of what happened between 8.1.3 and 8.1.4, whatever exists in the 8.1.9 release tarball should be in our packages because everything got replaced by that. However, I recently came across another repository of Dave's, which is a linear release repository: https://gitlab.com/loveshack/sge-release. I think this is what @bodgerer was talking about. At that tag for 8.1.9, line 212 of
|
by the way, there are repos for other SGE things too: https://gitlab.com/users/loveshack/projects |
Here's the exact link in gitlab: https://gitlab.com/loveshack/sge-release/blob/819/source/daemons/execd/msg_execd.h#L212 |
OK, when I get a chance I'll have to look at how his 2 repos differ and we
can decide which one it makes more sense to start from.
…On Wed, May 16, 2018 at 10:51 PM, Afif Elghraoui ***@***.***> wrote:
At that tag for 8.1.9, line 212 of source/daemons/execd/msg_execd.h has
#define MSG_SYSTEM_CANTOPENTMPDIR_S _MESSAGE(29124, _("can't open tmpdir
"SFN))
Here's the exact link in gitlab: https://gitlab.com/loveshack/
sge-release/blob/819/source/daemons/execd/msg_execd.h#L212
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#5 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ADJVu8b6iihJA-WaxCjm7Zl9wm1BvFjWks5tzOWwgaJpZM4UBxKf>
.
|
As far as I remember only Version 8.1.9 can be used for Debian Stretch because of OpenSSL version. See Ticket 1572 and Ticket 1618 I am not sure, if it is a good idea to change the current code to make it build the packages for official Debian repos. It has some advantages to have all installed in one directory tree, e.g. distribution via network filesystem. At least there should be a configuration setting to have a choice. |
Marco: I wasn't proposing to change the current code to build the debian
packages-- well, certainly not by default. I just wanted some
clarification on the Debian build process, mostly because I wanted to
figure out how we can test changes.
…On Fri, May 18, 2018 at 4:00 AM, Marco Schmidt ***@***.***> wrote:
As far as I remember only Version 8.1.9 can be used for Debian Stretch
because of OpenSSL version.
See Ticket 1572 <https://arc.liv.ac.uk/trac/SGE/ticket/1572>
and Ticket 1618 <https://arc.liv.ac.uk/trac/SGE/ticket/1618>
I am not sure, if it is a good idea to change the current code to make it
build the packages for official Debian repos. It has some advantages to
have all installed in one directory tree, e.g. distribution via network
filesystem. At least there should be a configuration setting to have a
choice.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#5 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ADJVu72YpU7q3PRUGQ0UnAtmxnwsgpQZks5tzn-hgaJpZM4UBxKf>
.
|
https://salsa.debian.org/hpc-team/gridengine
@0xaf1f, I'd like to understand how that repo relates to this repo and how you pulled in changes.
In that repo, you seem to have the stuff from this repo, but also a debian/ subdirectory that contains a copy of sources/. Is that just a copy of the top-level sources/?
The text was updated successfully, but these errors were encountered: