Add depency to package "gobject-introspection"

Bug #1195026 reported by theghost on 2013-06-26
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Ubuntu Packaging Guide
packaging-dev (Ubuntu)

Bug Description

Please add a depency from the package "ubuntu-dev-tools" to the package "gobject-introspection" because if the user has "gobject-introspection" not installed the step: with debhelper will fail with an error message: "dh: unable to load addon gir: Can't locate Debian/Debhelper/Sequence/"

In the best case, adding the package as dependency will avoid this error because it is required to have installed.

ProblemType: Bug
DistroRelease: Ubuntu 13.04
Package: ubuntu-dev-tools 0.147
ProcVersionSignature: Ubuntu 3.8.0-25.37-generic 3.8.13
Uname: Linux 3.8.0-25-generic x86_64
ApportVersion: 2.9.2-0ubuntu8.1
Architecture: amd64
Date: Wed Jun 26 23:08:10 2013
EcryptfsInUse: Yes
InstallationDate: Installed on 2013-06-21 (5 days ago)
InstallationMedia: Ubuntu 13.04 "Raring Ringtail" - Release amd64 (20130424)
MarkForUpload: True
PackageArchitecture: all
 PATH=(custom, no user)
SourcePackage: ubuntu-dev-tools
UpgradeStatus: No upgrade log present (probably fresh install)

theghost (theghost) wrote :

This is the full error

dh clean --with gir,python2,python3,autoreconf --parallel
dh: unable to load addon gir: Can't locate Debian/Debhelper/Sequence/ in @INC (@INC contains: /etc/perl /usr/local/lib/perl/5.14.2 /usr/local/share/perl/5.14.2 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.14 /usr/share/perl/5.14 /usr/local/lib/site_perl .) at (eval 19) line 2.
BEGIN failed--compilation aborted at (eval 19) line 2.

make: *** [clean] Error 2

Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in ubuntu-dev-tools (Ubuntu):
status: New → Confirmed
Brian Murray (brian-murray) wrote :

I ran into this issue when trying to use debuild -S with network-manager-applet.

Changed in ubuntu-dev-tools (Ubuntu):
status: Confirmed → Triaged
importance: Undecided → Medium
affects: ubuntu-dev-tools (Ubuntu) → packaging-dev (Ubuntu)
Iain Lane (laney) wrote :

The clean target can invoke any random program. packaging-dev can't know about this.

In this instance, the packaging guide could tell users to pass '-nc' (no clean), since it does not make the package unclean. Then you don't need the build-deps installed because the clean target isn't run.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers