Hi (again :-) ) After analysing the log in my manually uploaded dsc file I have my printing file name set to « pi_0.8.orig.tar.gz » In the log file the tarball generated has the name pi-0.8.orig.1553891655.af0b089.tar.gz A simple solution would be to generate a tarball that has a file name that map the one in the dsc file. I managed to use « filename » and « versionprefix » but I do I prevent abs-service-tar_scm to generate a file name that uses « <filename>-<versionprefix>.<commit_timestamp>.tar, with <commit_timestamp> » Behaviour as documented here ? : -> https://en.opensuse.org/openSUSE:Build_Service_Concept_SourceService#Example... Merci ! À bientôt, -- Frederic
Le 14 août 2019 à 17:15, Frédéric LOUI <frederic.loui@renater.fr> a écrit :
Hi,
Thanks to your answer, I can now start deb build.
However, I got a normal error related to the source tarball file name in the dsc file I uploaded. (I’m using the Web GUI , not OBS CLI)
All the service are OK and I used: https://en.opensuse.org/openSUSE:Build_Service_Concept_SourceService#Example... But adapted the example to obs_scm instead of tar_scm (indicated as deprecated).
So in the log, conceptually a tarball is generated from the fetched github repo in the form: <filename>-<versionprefix>.<commit_timestamp>.-<field_i_could not_identify>.obscpio The service param « tar » : <service name="tar" mode="buildtime"/> converted the *.obscpio file into a tarball.
I manually put a dsc file and used the ops-service-set_version.
Technically set_version should have altered the dsc files no ? (The documentation says: "obs-service-set_version: update package version in spec/dsc files") But the build stops and the log indicated that the files mentioned by the DSC files is missing (which is normal as the tarball filename has a « dynamic » name)
In case it might be of use the log is here: https://build.opensuse.org/package/live_build_log/home:frederic-loui:p4lang:... And the URL to the project is here: https://build.opensuse.org/package/show/home:frederic-loui:p4lang:PI:stratum...
Apology again, if this is something well-known. I’d love to get a link to an example or simply a doc in the wiki in order to conceptually visualise how to build a Debian package from github.
Merci d’avance :-)
À bientôt, -- Frederic
Le 14 août 2019 à 11:57, Andreas Schwab <schwab@suse.de> a écrit :
On Aug 14 2019, Frédéric LOUI <frederic.loui@renater.fr> wrote:
I’ve tried to trigger a build using simply the git URL and set the « revision » tag to « stable » but I get an « UNRESOLVED » error from OBS mentioning that « nothing provides obs-service-tar, nothing provides obs-service-recompress, nothing provides obs-service-set-version »
You need to add openSUSE:Tools to the repository path.
Andreas.
-- Andreas Schwab, SUSE Labs, schwab@suse.de GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7 "And now for something completely different."
-- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
-- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org