[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Update on Geant4



Moin

On 1/7/2021 5:09 PM, Stephan Lachnit wrote:
I sadly have no clue how to use the files you put on salsa to build my
own package. I am merely a Debian user, not a developer or maintainer,
but I will look into it how to create a .deb package from those files
(probably dpkg-buildpackage?). If I succeed, I can give you more feedback.
I'll give a (very quick) guide on how to build it.

First you need the basic build utilities for building a .deb: build-essential debhelper devscripts
Then clone https://salsa.debian.org/science-team/geant4 (tip: do this in an empty folder already for the output)

To build the .deb, you simply run `debuild` (better in this case: `debuild --no-lintian --no-sign`).
The final .deb is in the parent folder of the sources.

Building might fail if you have build dependencies missing, they are listed in debian/control.
Note that dh-sequence-python3 is provided by dh-python.

This procedure failed:

~/git/science/geant4 (debian/latest)$ debuild --no-lintian --no-sign
This package has a Debian revision number but there does not seem to be
an appropriate original tar file or .orig directory in the parent directory;
(expected one of geant4_10.7.0.orig.tar.gz, geant4_10.7.0.orig.tar.bz2,
geant4_10.7.0.orig.tar.lzma,  geant4_10.7.0.orig.tar.xz or geant4.orig)
continue anyway? (y/n) y
 dpkg-buildpackage -us -uc -ui
dpkg-buildpackage: info: source package geant4
dpkg-buildpackage: info: source version 10.7.0-1
dpkg-buildpackage: info: source distribution UNRELEASED
dpkg-buildpackage: info: source changed by Stephan Lachnit <stephanlachnit@protonmail.com>
 dpkg-source --before-build .
dpkg-buildpackage: info: host architecture amd64
 debian/rules clean
dh clean --buildsystem=cmake+ninja
   dh_auto_clean -O--buildsystem=cmake\+ninja
   dh_autoreconf_clean -O--buildsystem=cmake\+ninja
   dh_clean -O--buildsystem=cmake\+ninja
 dpkg-source -b .
dpkg-source: error: can't build with source format '3.0 (quilt)': no upstream tarball found at ../geant4_10.7.0.orig.tar.{bz2,gz,lzma,xz}
dpkg-buildpackage: error: dpkg-source -b . subprocess returned exit status 25
debuild: fatal error at line 1182:
dpkg-buildpackage -us -uc -ui failed


I tried adding --no-tgz-check, but that didn't help, either.


kind regards,
Christoph
-- 
Jan Christoph Terasa    Raum 406, Leibnizstraße 11, 24098 Kiel, GERMANY
Extraterrestrische Physik                     Telefon: +49 431 880 2487
Institut für Experimentelle und Angewandte Physik  www.ieap.uni-kiel.de
Christian-Albrechts-Universität zu Kiel       terasa@physik.uni-kiel.de

Reply to: