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

Debian 10 #5

Open
SeluneArkady opened this issue Feb 16, 2021 · 2 comments
Open

Debian 10 #5

SeluneArkady opened this issue Feb 16, 2021 · 2 comments

Comments

@SeluneArkady
Copy link

SeluneArkady commented Feb 16, 2021

Hi !
I'm using a Debian 10 Buster OS, running some ARK servers and I'd like to start an ATLAS grid.
I downloaded the git repo of your scripts since I couldn't add the ubuntu repo in my debian apt sources.
Are these scripts compatible with Debian 10 ?

I used the rules files to be able to build the debian files, but I get an error

$ ./rules
mkdir -p debian/build debian/build-gnutls debian/build-nss
# pop the last patch (nss)
quilt pop
No patch removed
make: *** [rules:33: override_dh_auto_configure] Error 2
$ ls debian/*
debian/build:

debian/build-gnutls:

debian/build-nss:

debian/tmp:
dh-exec.eOofGFBs  dh-exec.HES7Ze1n  dh-exec.hsoxA7rB  dh-exec.Q5ihQ67a  dh-exec.QHDBn17Q  dh-exec.w3spFkBw  dh-exec.xIAj3sSG

Thanks for your help

@xapienz
Copy link
Owner

xapienz commented Feb 17, 2021

Hello,
These files were not made compatible with Debian (because work was done on top of ubuntu repo), but I would suggest to try to rebase on top of debian sources. As an example, try to clone some ubuntu_<branch> branch, update contents with Debian's sources and merge changes to ppa_<branch> (which can be a copy of some ubuntu's branch).

Also, before doing everything you will need to put sources from this git repo into debian/ folder of your package source (if you haven't done that yet). To build the package locally, you may use debuild -nc -uc -us or try to build inside supplied docker image (you can change that to debian).

@xapienz
Copy link
Owner

xapienz commented Feb 17, 2021

In short, what I usually do to make the package:

  • download curl sources (like files from https://launchpad.net/ubuntu/+source/curl/7.68.0-1ubuntu2.4);
  • unpack curl sources: dpkg-source -x curl_*.dsc and enter the dir cd curl;
  • pop all current patches: quilt pop -a;
  • put contents from my repo into debian/ directory, update branches if necessary;
  • generate source package: debuild -S -d
  • test the build
    • in docker: ln -s curl-*/debian/Dockerfile . ; docker build -t curl_temp
    • or locally: debuild -nc -uc -us.

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