Your message dated Sat, 05 Nov 2016 13:35:03 +0000
with message-id <e1c317f-000hxa...@fasolo.debian.org>
and subject line Bug#841302: fixed in ngraph-gtk 6.06.13-5.2
has caused the Debian Bug report #841302,
regarding ngraph-gtk: FTBFS on mips*:  ngraph segfaults on testing
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 ow...@bugs.debian.org
immediately.)


-- 
841302: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=841302
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---

Package: ngraph-gtk
Version: 6.06.13-5.1
Severity: serious
Tags: sid, patch
Justification: FTBFS
User: debian-m...@lists.debian.org
Usertags: mips-patch


Package ngraph-gtk FTBFS for mips* on testing with an error:

> make[6]: Entering directory '/«PKGBUILDDIR»/doc/html/ja'
> cat object.html.in > object.html
> ../../../src/ngraph -i ../objlist.nsc >> object.html
> Unable to init server: Could not connect: Connection refused
> /bin/bash: line 1: 23170 Segmentation fault      ../../../src/ngraph -i 
> ../objlist.nsc >> object.html
> Makefile:750: recipe for target 'object.html' failed
> make[6]: *** [object.html] Error 139

Full build log:
https://buildd.debian.org/status/fetch.php?pkg=ngraph-gtk&arch=mipsel&ver=6.06.13-5.1%2Bb2&stamp=1476151762


Back trace from gdb shows that segfault happens in  __GI__IO_wsetb, libc.so.6

Full back trace:
(gdb) bt
#0  __GI__IO_wsetb (f=0x76df0dbc <_IO_stdout_>, b=0x0, eb=0x0, a=0) at 
wgenops.c:105
#1  0x76cea24c in _IO_unbuffer_all () at genops.c:924
#2  _IO_cleanup () at genops.c:966
#3  0x76ca4eac in __run_exit_handlers (status=0, listp=0x76df03cc 
<__exit_funcs>, run_list_atexit=<optimized out>, run_dtors=<optimized out>) at 
exit.c:96
#4  0x76ca4f70 in __GI_exit (status=<optimized out>) at exit.c:105
#5  0x005051e8 in sysdone (obj=0x632988, inst=0x632ed0, rval=0x632ef0, argc=2, 
argv=0x646048) at osystem.c:171
#6  0x004a51c0 in delobj (obj=0x632988, delid=0) at object.c:2398
#7  0x00521e44 in cmdel (nshell=0x642d70, argc=2, argv=0x645f28) at 
shellcm.c:920
#8  0x0051b84c in cmdexec (nshell=0x642d70, cmdroot=0x6455d8, namedfunc=0) at 
shell.c:3906
#9  0x0051c610 in cmdexecute (nshell=0x642d70, cline=0x0) at shell.c:4115
#10 0x00501a64 in cmdshell (obj=0x631ab0, inst=0x642ca0, rval=0x642cc8, argc=3, 
argv=0x645638) at oshell.c:164
#11 0x004a6db0 in exeobj (obj=0x631ab0, vname=0x5ba400 "shell", id=0, argc=1, 
argv=0x7fff654c) at object.c:2794
#12 0x0040db10 in main (argc=3, argv=0x7fff6634) at main.c:1007


The reason for this behavior is using of version script during creation of 
ngraph executable.
Marking  _IO_stdin_used symbol as global solves this issue.

Similar problem was noticed in lua5.2 package:
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=816059


The patch that solves this is attached.

Regards,
Dejan

--- ngraph-gtk-6.06.13.orig/src/ngraph_export.map
+++ ngraph-gtk-6.06.13/src/ngraph_export.map
@@ -1,5 +1,6 @@
 {
   global:
     ngraph_*;
+    _IO_stdin_used;
   local: *;
 };

--- End Message ---
--- Begin Message ---
Source: ngraph-gtk
Source-Version: 6.06.13-5.2

We believe that the bug you reported is fixed in the latest version of
ngraph-gtk, which is due to be installed in the Debian FTP archive.

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 841...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Matthias Klose <d...@debian.org> (supplier of updated ngraph-gtk 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 ftpmas...@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Sat, 05 Nov 2016 14:02:34 +0100
Source: ngraph-gtk
Binary: ngraph-gtk ngraph-gtk-addins-base ngraph-gtk-addins 
ngraph-gtk-addin-import-ps ngraph-gtk-addin-tex-equation ngraph-gtk-doc 
ngraph-gtk-dev ngraph-gtk-plugin-ruby
Architecture: source
Version: 6.06.13-5.2
Distribution: unstable
Urgency: medium
Maintainer: Koichi Akabe <vbkaise...@gmail.com>
Changed-By: Matthias Klose <d...@debian.org>
Description:
 ngraph-gtk - create scientific 2-dimensional graphs
 ngraph-gtk-addin-import-ps - import-ps addin of Ngraph-gtk
 ngraph-gtk-addin-tex-equation - tex-equation addin of Ngraph-gtk
 ngraph-gtk-addins - addin collection of Ngraph-gtk
 ngraph-gtk-addins-base - addins of Ngraph-gtk - base programs
 ngraph-gtk-dev - Header files for compiling plugins for Ngraph-gtk
 ngraph-gtk-doc - documents of Ngraph-gtk
 ngraph-gtk-plugin-ruby - Ruby plugin for Ngraph-gtk
Closes: 841302
Changes:
 ngraph-gtk (6.06.13-5.2) unstable; urgency=medium
 .
   * Non-maintainer upload.
   * Fix build failure on mips* (Dejan Latinovic). Closes: #841302.
Checksums-Sha1:
 faa14c798011c11344c32124f9c9e9c5086e4cb9 2427 ngraph-gtk_6.06.13-5.2.dsc
 522b181df44b4e23f98b98b8575db4524b4bb014 8576 
ngraph-gtk_6.06.13-5.2.debian.tar.xz
Checksums-Sha256:
 55da809061e09172cc425d3e02929713f8ef2e5f65b88d613c12e364defb512e 2427 
ngraph-gtk_6.06.13-5.2.dsc
 ffdd40016a02585607901e478be242ef7481db8a1a9eb689021059c03c1a5616 8576 
ngraph-gtk_6.06.13-5.2.debian.tar.xz
Files:
 4a79a7e0a79b7692d5dbdeb942206c2c 2427 graphics extra ngraph-gtk_6.06.13-5.2.dsc
 adb6d991974b4be59cf7851b7628ea18 8576 graphics extra 
ngraph-gtk_6.06.13-5.2.debian.tar.xz

-----BEGIN PGP SIGNATURE-----

iQItBAEBCAAXBQJYHdkjEBxkb2tvQGRlYmlhbi5vcmcACgkQvX6qYHePpvVq0BAA
2m2vLtAX3NniUos3rN5+rxatEZovWXYAVdWpCgaV1GTximRYpSvmp3lgtv4HTLzR
hWP0GdM4UgurKTEq1kLUGxscyaWB/2P5MA1KO80vZ+ltOvMjE90yxBRTt/4nmPGM
X4sds8di12qLIpwXdql4d/tyOZ82C9ywGXwJnGXhhzwR6lLfRgzGOSY5T1BJ0kxz
O1vBaAGIj5NhI0ZpWXgKSh1YZg8CYDZHPa8pxx4cjEP8V7MuCPa/S9dRk4QLmSWA
x/WumNmJzNyoYP3TmMYnWUoPv65ZIvvvPMnKoG6TJAGoAWB7m2OBib4HKLRuccZX
LcgRCSXhe+3G4ifFTm75+qOVwUfDS0jPjV9+D8pzwGKyT0VZkjksmBO+/AjLTJ45
czckXEt6U+3Wo/HuiAhOgaz/hg7iywCCN5iT+4Oa3QRYmFofxnTX+vO79BFzsEaY
Ah8/WfQ1+H/LbzxSSMYNjjSCDDMAtjxLk3gReO0TERBziMmElu2pQMIs64QOHFF/
CCyOBvaVJ+Cn13ZNeRaNbdWbT6VnGSEtzKH06GCb6xuSM2olanvkW5zFSnxekQ7J
IVRt4txMazEE6g1pqZi493YWnhtsEJaAvGK38MXc6HuJek7UKlDdNI2eyUHuj3Z+
RxQxG91zEVyfZBHrbW7Jbc3ZQMH/i5k4ExMTnIcBuMM=
=2Wfe
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to