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

Bug#806532: marked as done (Requires extra gnulib build-depends when built from a git repo)



Your message dated Tue, 13 Aug 2019 19:26:34 +0000
with message-id <[🔎] E1hxcRG-000259-9R@fasolo.debian.org>
and subject line Bug#934581: Removed package(s) from unstable
has caused the Debian Bug report #806532,
regarding Requires extra gnulib build-depends when built from a git repo
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.)


-- 
806532: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=806532
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: python2-pythondialog
Tags: patch

I wanted to try the letsencrypt package on jessie so I tried to build
python2-pythondialog and it fails.

It seems to need gnulib added to the build-deps

The setup.py needs to be patched (see attached)

In setup.py, last_commit_in_ch_init seems to be wrong, needs to be reviewed




$ dpkg-buildpackage -rfakeroot -i.git
dpkg-buildpackage: source package python2-pythondialog
dpkg-buildpackage: source version 3.3.0-2
dpkg-buildpackage: source distribution unstable
dpkg-buildpackage: source changed by Francois Marier <francois@debian.org>
dpkg-buildpackage: host architecture amd64
 dpkg-source -i.git --before-build python2-pythondialog
 fakeroot debian/rules clean
dh clean --with python2 --buildsystem=pybuild
   dh_testdir -O--buildsystem=pybuild
   dh_auto_clean -O--buildsystem=pybuild
I: pybuild base:170: python2.7 setup.py clean
Converting the Git log into ChangeLog format... Traceback (most recent
call last):
  File "setup.py", line 39, in run_gitlog_to_changelog
    subprocess.check_call(args, stdout=output)
  File "/usr/lib/python2.7/subprocess.py", line 535, in check_call
    retcode = call(*popenargs, **kwargs)
  File "/usr/lib/python2.7/subprocess.py", line 522, in call
    return Popen(*popenargs, **kwargs).wait()
  File "/usr/lib/python2.7/subprocess.py", line 710, in __init__
    errread, errwrite)
  File "/usr/lib/python2.7/subprocess.py", line 1335, in _execute_child
    raise child_exception
OSError: [Errno 2] No such file or directory

Error (see above for a traceback): unable to run gitlog-to-changelog
====================================================================
Maybe this program is not installed on your system. You can download it
from:


http://git.savannah.gnu.org/gitweb/?p=gnulib.git;a=blob_plain;f=build-aux/gitlog-to-changelog

Note: if you have problems with the infamous shell+Perl crap in the
first lines
of that file, you can replace it with a simple shebang line such as
"#! /usr/bin/perl".
E: pybuild pybuild:256: clean: plugin distutils failed with: exit
code=1: python2.7 setup.py clean
dh_auto_clean: pybuild --clean -i python{version} -p 2.7 --dir .
returned exit code 13
debian/rules:9: recipe for target 'clean' failed
make: *** [clean] Error 13
dpkg-buildpackage: error: fakeroot debian/rules clean gave error exit
status 2
diff --git a/setup.py b/setup.py
index 63a849f..459f345 100755
--- a/setup.py
+++ b/setup.py
@@ -33,7 +33,7 @@ from dialog import __version__ as VERSION
 
 
 def run_gitlog_to_changelog(after_this_commit, output=None):
-    args = [ "gitlog-to-changelog", "--format=%s%n%n%b%n", "--",
+    args = [ "/usr/bin/perl", "/usr/share/gnulib/build-aux/gitlog-to-changelog", "--format=%s%n%n%b%n", "--",
              "{0}..".format(after_this_commit) ]
     try:
         subprocess.check_call(args, stdout=output)

--- End Message ---
--- Begin Message ---
Version: 3.3.0-3+rm

Dear submitter,

as the package python2-pythondialog 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 https://bugs.debian.org/934581

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@ftp-master.debian.org.

Debian distribution maintenance software
pp.
Scott Kitterman (the ftpmaster behind the curtain)

--- End Message ---

Reply to: