[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#358317: marked as done (tla-buildpackage: Needs adapting to new tla-load-dirs libraries)



Your message dated Wed, 06 Sep 2006 14:47:23 -0700
with message-id <E1GL5Ex-0006ZX-7N@spohr.debian.org>
and subject line Bug#358317: fixed in tla-buildpackage 0.9.11
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--- Begin Message ---
Package: tla-buildpackage
Version: 0.9.9
Severity: grave
Justification: renders package unusable

Most commands fail with something like:

Traceback (most recent call last):
  File "/usr/bin/tbp-importdsc", line 38, in ?
    tbpimport.importdsc(dscname)
(...)
  File "/usr/lib/python2.3/site-packages/tbppy/configs.py", line 38, in makepkgconfigifneeded
    extcmd.run('tla %s configs/%s/%s' % (' '.join(cmd().add),
  File "/usr/lib/python2.3/site-packages/tla_support/commandver.py", line 113, in cmd
    gettlasyntax()
  File "/usr/lib/python2.3/site-packages/tla_support/commandver.py", line 49, in gettlasyntax
    elif util.getstdoutsafeexec(tlacmd, ['-V'])[0].find('tla-1.0.') != -1:
  File "/usr/lib/python2.3/site-packages/tla_support/util.py", line 71, in getstdoutsafeexec
    pid = mainexec(program, args, child_stdout = pipes[1], wait  = 0)
  File "/usr/lib/python2.3/site-packages/tla_support/util.py", line 52, in mainexec
    os.execvp(program, (program,) + tuple(args))
  File "/usr/lib/python2.3/os.py", line 336, in execvp
    _execvpe(file, args)
  File "/usr/lib/python2.3/os.py", line 360, in _execvpe
    head, tail = path.split(file)
  File "/usr/lib/python2.3/posixpath.py", line 77, in split
    i = p.rfind('/') + 1
AttributeError: 'NoneType' object has no attribute 'rfind'


The problem is that tla-load-dirs now needs to be initialised to tell
it what VCS is being used (tla, baz or darcs). As a matter of example,
a patch for tbp-initarchive is attached.


-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'stable')
Architecture: amd64 (x86_64)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.14-2-amd64-k8-smp
Locale: LANG=fr_LU.UTF-8, LC_CTYPE=fr_LU.UTF-8 (charmap=UTF-8)

Versions of packages tla-buildpackage depends on:
ii  devscripts                    2.9.15     Scripts to make the life of a Debi
ii  dpkg-dev                      1.13.16    package building tools for Debian
ii  python-apt                    0.6.16.1   Python interface to libapt-pkg
ii  python2.3                     2.3.5-9    An interactive high-level object-o
ii  tla                           1.3.3-3    arch revision control system
ii  tla-load-dirs                 1.0.28     Import upstream archives into tla/

tla-buildpackage recommends no packages.

-- no debconf information
--- /usr/bin/tbp-initarchive	2005-06-21 15:17:10.000000000 +0200
+++ tbp-initarchive	2006-03-22 08:14:07.562934583 +0100
@@ -20,6 +20,7 @@
 import os, sys
 from tbppy import tla, extcmd
 from tla_support.commandver import cmd
+from tla_support import commandver
 
 def printhelp():
     print """Usage:
@@ -42,6 +43,8 @@
 if len(sys.argv) < 4:
     syntax()
 
+commandver.setscm("tla")
+
 progname, ARCHIVENAME, ARCHIVELOC, WCLOC = sys.argv
 CONFIGVER = "%s/configs--head--1.0" % ARCHIVENAME
 if os.path.exists(ARCHIVELOC):

--- End Message ---
--- Begin Message ---
Source: tla-buildpackage
Source-Version: 0.9.11

We believe that the bug you reported is fixed in the latest version of
tla-buildpackage, which is due to be installed in the Debian FTP archive:

tla-buildpackage_0.9.11.dsc
  to pool/main/t/tla-buildpackage/tla-buildpackage_0.9.11.dsc
tla-buildpackage_0.9.11.tar.gz
  to pool/main/t/tla-buildpackage/tla-buildpackage_0.9.11.tar.gz
tla-buildpackage_0.9.11_all.deb
  to pool/main/t/tla-buildpackage/tla-buildpackage_0.9.11_all.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 358317@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Mohammed Adnène Trojette <adn+deb@diwi.org> (supplier of updated tla-buildpackage package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Wed,  6 Sep 2006 14:38:02 +0200
Source: tla-buildpackage
Binary: tla-buildpackage
Architecture: source all
Version: 0.9.11
Distribution: unstable
Urgency: medium
Maintainer: Debian QA Group <packages@qa.debian.org>
Changed-By: Mohammed Adnène Trojette <adn+deb@diwi.org>
Description: 
 tla-buildpackage - Suite to help with Debian packages in Arch archives
Closes: 248195 269528 358317 380974 384259
Changes: 
 tla-buildpackage (0.9.11) unstable; urgency=medium
 .
   * QA upload. (Closes: #384259)
   * Build-Depend on quilt for patch management.
   * Adapt to tla-load-dirs (>= 1.0.28) (Closes: #358317):
      + patch from Lionel-Ã?lie Mamane and Gregory Colpart.
   * Update HTML documentation (Closes: #269528):
      + patch from Gregory Colpart.
   * Support "epoch" version (Closes: #248195):
      + patch from Balazs Ree.
   * Update to new Python Policy (Closes: #380974):
      + compile with default python version.
      + build-depend on python-support.
      + adjust Depends and Build-Depends accordingly.
   * Reorder Build-Depends{,-Indep}.
   * Bump Standards-Version to 3.7.2:
      + update FSF address.
   * Make lintian happier:
      + refer to all binary-* targets in debian/rules.
   * Other cosmetics:
      + remove commented lines.
Files: 
 5f927d29786e7baf091d1b7c712c04e6 683 devel optional tla-buildpackage_0.9.11.dsc
 93296bfebc99fd17ffbcb515e0b7546e 229325 devel optional tla-buildpackage_0.9.11.tar.gz
 5da42c700e119d76c2841e7d85c2433d 215884 devel optional tla-buildpackage_0.9.11_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)

iD8DBQFE/z/0OU3FkQ7XBOoRAg9ZAKCHd2ct+L1Tu1Yl1tgC9neGSd+kJgCgk1ye
vL4hsH3sc0CgdiHyeNrVb6s=
=p9/r
-----END PGP SIGNATURE-----


--- End Message ---

Reply to: