Bug#820101: jessie-pu: package nam/1.15-3
On Wed, 06 Apr 2016 21:33:47 +0100 "Adam D. Barratt" <adam@adam-barratt.org.uk> wrote:
> Control: tags -1 + moreinfo
>
> On Tue, 2016-04-05 at 10:32 -0300, Herbert Parentes Fortes Neto wrote:
> > Package nam[0] has a RC bug[1]. I did a NMU and
> > it is on 'testing' (1.15-3.1).
> >
> >
> > [0] - https://packages.qa.debian.org/n/nam.html
> > [1] - https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=784433
> [...]
> > + * debian/control:
> > + - set tcl-dev and tk-dev to '>=8.6'.
>
> Apologies if I'm missing something, but where does the requirement for
> 8.6 come from? The only reference to 8.6 I can find in the source
> package is in the changelog and the strings quoted in the bug report
> don't appear in the nam source package in stable.
I did a 'grep -r' and did not find it either. But I installed
the package again (in a clean stable - VM-KVM) and I
received the same message. It does not run. Another user
sent me a email talking about the same problem.
The package Build-Depends on tcl-dev and tk-dev, which on
stable have version 8.6.0+8 both. They Depends on tcl8.6-dev
and tk8.6-dev. Probably, when the package was builded the
Depends were different. Maybe is not needed to set a version.
>
> > + * debian/patches:
> > + - init_tcltk_with_stub.diff unused. Commented (#) in series file.
>
> If it's uncommented in the series file, then it's not "unused", surely?
>
It is commented, I put a '#' at the beginning of the line:
diff -Nru nam-1.15/debian/patches/series nam-1.15/debian/patches/series
--- nam-1.15/debian/patches/series 2014-02-09 13:57:49.000000000 -0200
+++ nam-1.15/debian/patches/series 2016-03-30 14:08:22.000000000 -0300
@@ -1,4 +1,4 @@
netmodel_cc_void_int.patch
-init_tcltk_with_stub.diff
+#init_tcltk_with_stub.diff
group_cc_void_int.patch
lib_underlinkage.patch
It calls Tcl_InitStubs and Tk_InitStubs functions. The
manpage[0][1] says:
"...Zero means that versions newer than version are also
acceptable as long as they have the same
major version number as version."
The patch:
+Tcl_InitStubs(interp, "8.1", 0)
+Tk_InitStubs(interp, "8.1", 0)
[0] - http://www.tcl.tk/man/tcl8.4/TclLib/InitStubs.htm
[1] - http://tmml.sourceforge.net/doc/tk/TkInitStubs.html
I did a 'apt-get source nam', 'apt-get build-dep nam'. Without
changing anything, 'debuild'. The 'dpkg -I' inform libtcl8.6
and libtk8.6. But, after install, when I try to run 'nam',
I receive a 'segmentation fault'.
regards,
--
Herbert Parentes Fortes Neto (hpfn)
Reply to: