ubuntu-defaults-builder: make-example does not build

Bug #957044 reported by Redmar
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ubuntu-defaults-builder (Ubuntu)
Fix Released
High
Martin Pitt

Bug Description

Running

/usr/share/doc/ubuntu-defaults-builder/examples/make-example

as specified in the man does not result in a valid .deb package. This is because the package name starts with 'ubuntu', which means that extra restrictions apply to the example package. Since these restrictions are violated, the package does not build.

Below are a number of problems I've encountered when running make-example:

dh_ubuntu_defaults: error: desktop/background.jpg must not be changed for Ubuntu localizations (packages starting with "ubuntu-")

dh_ubuntu_defaults: error: desktop/googlemail.desktop must not be changed for Ubuntu localizations (packages starting with "ubuntu-")

dh_ubuntu_defaults: error: desktop/default-applications.txt must not be changed for Ubuntu localizations (packages starting with "ubuntu-")

dh_ubuntu_defaults: error: desktop/default-session.txt must not be changed for Ubuntu localizations (packages starting with "ubuntu-")

dh_ubuntu_defaults: error: webbrowser/searchengine.txt must not be changed for Ubuntu localizations (packages starting with "ubuntu-")

To fix the problem with the background I replaced the modified background.jpg with the original. After removing all other offending files a package was successfully build.

As far as I can tell all these problems can be solved by simply not naming the example package ubuntu-something.

ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: ubuntu-defaults-builder 0.26
ProcVersionSignature: Ubuntu 3.2.0-18.29-generic 3.2.9
Uname: Linux 3.2.0-18-generic i686
NonfreeKernelModules: fglrx
ApportVersion: 1.94.1-0ubuntu2
Architecture: i386
Date: Fri Mar 16 15:54:06 2012
InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Release i386 (20110426)
PackageArchitecture: all
SourcePackage: ubuntu-defaults-builder
UpgradeStatus: Upgraded to precise on 2012-03-10 (5 days ago)

Revision history for this message
Redmar (redmar) wrote :
Revision history for this message
Martin Pitt (pitti) wrote :

Indeed, fallout from the recent "limit ubuntu customizations" change.

Changed in ubuntu-defaults-builder (Ubuntu):
assignee: nobody → Martin Pitt (pitti)
importance: Undecided → High
status: New → In Progress
Revision history for this message
Martin Pitt (pitti) wrote :

Fixed in bzr.

Changed in ubuntu-defaults-builder (Ubuntu):
status: In Progress → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package ubuntu-defaults-builder - 0.27

---------------
ubuntu-defaults-builder (0.27) precise; urgency=low

  * test/make-example: Call the package "defaults-builder-test", with the
    recent "restrict Ubuntu customizations" change we can't call the package
    "ubuntu-defaults-test" any more. (LP: #957044)
  * bin/ubuntu-defaults-image: With --keep-apt, remove the translations. They
    take a lot of space, and most apt operations will work fine without them.
    (LP: #956894)
  * bin/dh_ubuntu_defaults: Update distribution.ini path to where Firefox puts
    the file these days. (LP: #956899)
 -- Martin Pitt <email address hidden> Fri, 16 Mar 2012 17:04:14 +0100

Changed in ubuntu-defaults-builder (Ubuntu):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.