[ftbfs] thunderbird-quickfile in gutsy

Bug #129785 reported by Cesare Tirabassi
4
Affects Status Importance Assigned to Milestone
thunderbird-quickfile (Ubuntu)
Fix Released
Undecided
Cesare Tirabassi

Bug Description

Binary package hint: thunderbird-quickfile

thunderbird-quickfile fails to build in gutsy:

echo -n "tbird:Depends=mozilla-thunderbird (>= )" \
           >> debian/thunderbird-quickfile.substvars
echo ", mozilla-thunderbird (<< .99)" \
           >> debian/thunderbird-quickfile.substvars
dh_gencontrol
dpkg-gencontrol: warning: no utmp entry available and LOGNAME not defined; using uid of process (0)
dh_md5sums
dh_builddeb
dpkg-deb: parse error, in file `debian/thunderbird-quickfile/DEBIAN/control' near line 6 package `thunderbird-quickfile':
 `Depends' field, reference to `mozilla-thunderbird': error in version: version string is empty
dh_builddeb: command returned error code 512
make: *** [binary-indep] Error 1

Changed in thunderbird-quickfile:
assignee: nobody → norsetto
status: New → In Progress
Revision history for this message
Cesare Tirabassi (norsetto) wrote :

This failure is due to the substvars in debian/rules which is based on the mozilla-thunderbird version being probed by this rules assignment:

TBIRD_VERSION = $(shell dpkg -s mozilla-thunderbird-dev|grep ^Version|cut -d\ -f2|cut -d- -f1 | cut -d. -f-3)

Note that the Build-Dependency in debian/control is on mozilla-thunderbird-dev.
mozilla-thunderbird was a required dependency of mozilla-thunderbird-dev until feisty.
On gutsy, mozilla-thunderbird is NOT a required dependency of mozilla-thunderbird-dev, therefore the above assignment returns a null string (as seen in the build log).

This can be solved by:

1) Making mozilla-thunderbird a required dependency of mozilla-thunderbird-dev also for gutsy or
2) Making mozilla-thunderbird as a Build-Dependancy in debian/control or
3) Changing the above assignment so that it is based on mozilla-thunderbird-dev

I attach a patch hereabove based on solution 3).

The package builds without any problem, see snippet from build log:

echo -n "tbird:Depends=mozilla-thunderbird (>= 2.0.0)" \
           >> debian/thunderbird-quickfile.substvars
echo ", mozilla-thunderbird (<< 2.0.0.99)" \
           >> debian/thunderbird-quickfile.substvars

Thanks.

Changed in thunderbird-quickfile:
assignee: norsetto → nobody
status: In Progress → Confirmed
Revision history for this message
Scott Kitterman (kitterman) wrote :

As discussed on IRC, leaving open the question of does the plug-in actually work with the current Thunderbird....

Revision history for this message
Cesare Tirabassi (norsetto) wrote :

Package has been updated with new upstream version 0.17.
Builds, installs and works correctly with Thunderbird 2.0 and gutsy.

Available for review and comments in:

http://revu.tauware.de/details.py?upid=6314

Changed in thunderbird-quickfile:
assignee: nobody → norsetto
status: Confirmed → Fix Committed
Revision history for this message
Cesare Tirabassi (norsetto) wrote :

thunderbird-quickfile (0.17.0.0011-0ubuntu1) gutsy; urgency=low

  * New upstream version
  * Add .orig.tar.gz tarball made with:
    - MPL-1.1 as COPYING
    - upstream .xpi file
  * debian/rules:
    - Change version check from mozilla-thunderbird
      to mozilla-thunderbird-dev (LP: #129785)
    - Add -p option to mkdir of temporary build directory
    - Remove cp of chrome.manifest (now included in .xpi file)
    - Change installed files to match new release
    - Change installation directories
    - Fix lintian error: debian-rules-missing-required-target binary-arch
    - add dh_installdocs
  * Update watch file href to http://downloads.mozdev.org/quickfile/
  * Change upstream source in debian/copyright
  * debian/control:
    - Change Maintainer to Ubuntu MOTU Developers
    - Add XSBC-Original-Maintainer
    - Update Standards-Version to 3.7.2
  * Change installation directories in debian/dirs

 -- Cesare Tirabassi <email address hidden> Sun, 05 Aug 2007 21:41:18 +0200

Changed in thunderbird-quickfile:
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.