Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

212
Views
Building Debian package without upstream

I'm replacing a hacky Debian package build script with http://jenkins-debian-glue.org/, which uses git-buildpackage.

The generate-git-snapshot script runs this monster of a line:

gbp buildpackage  -nc --git-force-create --git-ignore-new --git-ignore-branch -S -us -uc --git-verbose --git-builder=/bin/true --git-cleaner=/bin/true --git-export-dir=

This fails every time with an error: gbp:error: upstream/1.0.0 is not a valid treeish. 1.0.0 is the initial version string in debian/changelog, but the upstream branch doesn't exist.

I'm not quite sure what to do about the upstream branch - this package is not a fork of an existing project, it's a Git repo that's only meant to build a Debian package.

How can/should I build the package?

over 4 years ago · Santiago Trujillo
1 answers
Answer question

0

Unless your packaging is very old, it's probably a 3.0 (quilt) package. If that's the case, gbp is looking for separate branches for upstream source and Debian-specific customizations so that it can prepare the source package correctly.

Since you're building a native package, debian/source/format needs to be changed to 3.0 (native).

over 4 years ago · Santiago Trujillo Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!