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

Bug#475108: marked as done (Missing file: debian/lib/python/debian_linux/__init__.py)



Your message dated Tue, 10 Jul 2012 12:36:25 +0000
with message-id <[🔎] E1SoZg1-0007Kl-KV@franck.debian.org>
and subject line Bug#681011: Removed package(s) from unstable
has caused the Debian Bug report #475108,
regarding Missing file: debian/lib/python/debian_linux/__init__.py
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 this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
475108: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=475108
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: linux-kbuild-2.6
Version: 2.6.24-1
Severity: normal

The linux-kbuild-2.6 package (at least for version 2.6.24-1) is
missing the file debian/lib/python/debian_linux/__init__.py.
Without this file, modifying debian/control (such as for a local
version of the package, as I have done) and running pdebuild gives:

  dpkg-buildpackage: source package is linux-kbuild-2.6
  dpkg-buildpackage: source version is 2.6.24-1~zg1
  dpkg-buildpackage: source changed by John Zaitseff <J.Zaitseff@zap.org.au>
  dpkg-buildpackage: source version without epoch 2.6.24-1~zg1
   fakeroot debian/rules clean
  if [ -f debian/control.md5sum ]; then \
                  if md5sum debian/bin/gencontrol.py debian/changelog debian/templates/control.main.in debian/templates/control.source.in | diff - debian/control.md5sum > /dev/null; then true; else \
                          /usr/bin/make -f debian/rules debian/control-real; \
                  fi \
          else \
                  /usr/bin/make -f debian/rules debian/control-real; \
          fi
  make[1]: Entering directory `/var/tmp/linux-kbuild-2.6/linux-kbuild-2.6-2.6.24'
  chmod +x debian/bin/gencontrol.py
  debian/bin/gencontrol.py
  Traceback (most recent call last):
    File "debian/bin/gencontrol.py", line 6, in ?
      from debian_linux.debian import *
  ImportError: No module named debian_linux.debian
  make[1]: *** [debian/control-real] Error 1
  make[1]: Leaving directory `/var/tmp/linux-kbuild-2.6/linux-kbuild-2.6-2.6.24'
  make: *** [debian/control] Error 2

Creating an empty __init__.py file using "touch" fixes this problem,
as far as I can see (I'm not a Python guru---yet!).

It may be that empty files are not correctly handled by whatever
creates the Debian diff, so a file with a newline in it may be
necessary... but I am not at all sure of this.

Yours truly,

John Zaitseff

-- 
John Zaitseff                    ,--_|\    The ZAP Group
Phone:  +61 2 9643 7737         /      \   Sydney, Australia
E-mail: J.Zaitseff@zap.org.au   \_,--._*   http://www.zap.org.au/
                                      v



--- End Message ---
--- Begin Message ---
Version: 3.0.0-2+rm

Dear submitter,

as the package linux-kbuild-2.6 has just been removed from the Debian archive
unstable we hereby close the associated bug reports.  We are sorry
that we couldn't deal with your issue properly.

For details on the removal, please see http://bugs.debian.org/681011

The version of this package that was in Debian prior to this removal
can still be found using http://snapshot.debian.org/.

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

Debian distribution maintenance software
pp.
Alexander Reichle-Schmehl (the ftpmaster behind the curtain)


--- End Message ---

Reply to: