Your message dated Sat, 24 Jun 2017 11:49:52 +0000
with message-id <[email protected]>
and subject line Bug#865726: fixed in gmt 5.4.1+dfsg-2
has caused the Debian Bug report #865726,
regarding gmt: Please add support for m68k
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 [email protected]
immediately.)
--
865726: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=865726
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: gmt
Version: 5.4.1+dfsg-1
Severity: normal
Tags: patch
User: [email protected]
Usertags: m68k
Hi!
gmt currently fails to build from source on m68k because the UC_IP macro
is not properly defined on this architecture:
[ 13%] Building C object src/CMakeFiles/gmtlib.dir/gmt_api.c.o
cd /<<BUILDDIR>>/gmt-5.4.1+dfsg/debian/build/src && /usr/bin/cc
-DLIBRARY_EXPORTS -I/<<BUILDDIR>>/gmt-5.4.1+dfsg/debian/build/src
-I/<<BUILDDIR>>/gmt-5.4.1+dfsg/src -I/usr/include/m68k-linux-gnu
-I/usr/include/gdal -I/<<BUILDDIR>>/gmt-5.4.1+dfsg/debian/build/src/gshhg
-I/<<BUILDDIR>>/gmt-5.4.1+dfsg/debian/build/src/img
-I/<<BUILDDIR>>/gmt-5.4.1+dfsg/debian/build/src/meca
-I/<<BUILDDIR>>/gmt-5.4.1+dfsg/debian/build/src/mgd77
-I/<<BUILDDIR>>/gmt-5.4.1+dfsg/debian/build/src/misc
-I/<<BUILDDIR>>/gmt-5.4.1+dfsg/debian/build/src/potential
-I/<<BUILDDIR>>/gmt-5.4.1+dfsg/debian/build/src/segy
-I/<<BUILDDIR>>/gmt-5.4.1+dfsg/debian/build/src/spotter
-I/<<BUILDDIR>>/gmt-5.4.1+dfsg/debian/build/src/x2sys -std=gnu99
-fstrict-aliasing -g -O2 -fdebug-prefix-map=/<<BUILDDIR>>/gmt-5.4.1+dfsg=.
-specs=/usr/share/dpkg/pie-compile.specs -fstack-protector-strong -Wformat
-Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O2 -g -DNDEBUG -fPIC
-o CMakeFiles/gmtlib.dir/gmt_api.c.o -c /<<BUILDDIR
>>/gmt-5.4.1+dfsg/src/gmt_api.c
/<<BUILDDIR>>/gmt-5.4.1+dfsg/src/common_sighandler.c: In function 'sig_handler':
/<<BUILDDIR>>/gmt-5.4.1+dfsg/src/common_sighandler.c:95:55: error: 'REG_EIP'
undeclared (first use in this function)
# define UC_IP(uc) ((void *) (uc)->uc_mcontext.gregs[REG_EIP])
^
/<<BUILDDIR>>/gmt-5.4.1+dfsg/src/common_sighandler.c:168:14: note: in expansion
of macro 'UC_IP'
array [0] = UC_IP (uc); /* caller's address */
^~~~~
/<<BUILDDIR>>/gmt-5.4.1+dfsg/src/common_sighandler.c:95:55: note: each
undeclared identifier is reported only once for each function it appears in
# define UC_IP(uc) ((void *) (uc)->uc_mcontext.gregs[REG_EIP])
^
/<<BUILDDIR>>/gmt-5.4.1+dfsg/src/common_sighandler.c:168:14: note: in expansion
of macro 'UC_IP'
array [0] = UC_IP (uc); /* caller's address */
^~~~~
src/CMakeFiles/gmtlib.dir/build.make:119: recipe for target
'src/CMakeFiles/gmtlib.dir/common_sighandler.c.o' failed
This is fixed by the attached patch. Please consider including it in your
next upload!
Thanks,
Adrian
.''`. John Paul Adrian Glaubitz
: :' : Debian Developer - [email protected]
`. `' Freie Universitaet Berlin - [email protected]
`- GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913
Description: Add support for m68k
This patch adds support for m68k by defining the correct
macro to determine the instruction pointer from ucontext.
.
Author: John Paul Adrian Glaubitz <[email protected]>
Last-Update: 2017-06-24
Index: gmt-5.4.1+dfsg/src/common_sighandler.c
===================================================================
--- gmt-5.4.1+dfsg.orig/src/common_sighandler.c
+++ gmt-5.4.1+dfsg/src/common_sighandler.c
@@ -83,6 +83,8 @@ void backtrace_symbols_fd(void *const *b
# define UC_IP(uc) ((void *) (uc)->uc_mcontext.arm_pc)
# elif defined( __hppa__)
# define UC_IP(uc) ((void *) (uc)->uc_mcontext.sc_iaoq[0])
+# elif defined(__m68k__)
+# define UC_IP(uc) ((void *) (uc)->uc_mcontext.gregs[R_PC])
# elif defined(__s390__)
# define UC_IP(uc) ((void *) (uc)->uc_mcontext.psw.addr)
# elif defined(__sparc__)
--- End Message ---
--- Begin Message ---
Source: gmt
Source-Version: 5.4.1+dfsg-2
We believe that the bug you reported is fixed in the latest version of
gmt, 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 [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Bas Couwenberg <[email protected]> (supplier of updated gmt 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 [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Sat, 24 Jun 2017 11:31:13 +0200
Source: gmt
Binary: gmt gmt-common libgmt5 libgmt-dev gmt-dbg gmt-doc gmt-examples
Architecture: source all amd64
Version: 5.4.1+dfsg-2
Distribution: unstable
Urgency: medium
Maintainer: Debian GIS Project <[email protected]>
Changed-By: Bas Couwenberg <[email protected]>
Description:
gmt - Generic Mapping Tools
gmt-common - Generic Mapping Tools - Architecture-independent files
gmt-dbg - Generic Mapping Tools Library - Debugging symbols
gmt-doc - Documentation for GMT, the Generic Mapping Tools
gmt-examples - Example scripts illustrating the use of GMT
libgmt-dev - Generic Mapping Tools Library - Development files
libgmt5 - Generic Mapping Tools Library
Closes: 865726
Changes:
gmt (5.4.1+dfsg-2) unstable; urgency=medium
.
* Add patch by John Paul Adrian Glaubitz for m68k support.
(closes: #865726)
* Bump Standards-Version to 4.0.0, no changes.
* Add autopkgtest to test installability.
* Use pkg-info.mk variables instead of dpkg-parsechangelog output.
Checksums-Sha1:
e1412e6e049e3522f63425beb0b618a5ff5f7ecc 2527 gmt_5.4.1+dfsg-2.dsc
fdc7d7f114465f882b3a08bb315d94f197b975ed 26464 gmt_5.4.1+dfsg-2.debian.tar.xz
60f961877ec4871d0239e05a0fde7006a1c48910 4535764
gmt-common_5.4.1+dfsg-2_all.deb
8899affbbc1127ffe5faf8bbf98d2a5eaa62580a 6266956 gmt-dbg_5.4.1+dfsg-2_amd64.deb
03af4ba642558a97ebaf5bcedf1af8e911537892 61627494 gmt-doc_5.4.1+dfsg-2_all.deb
10260472c0b9bb623818df62cd4eb4815bef2e93 16402436
gmt-examples_5.4.1+dfsg-2_all.deb
5605f2c3f4159b89e0663a3c6cbd96ead35e69e1 16924 gmt_5.4.1+dfsg-2_amd64.buildinfo
cb79985a29c2b16d8615eaaef9808d8bf7efc8c1 494740 gmt_5.4.1+dfsg-2_amd64.deb
c30c9e48172f9d34aa1b180cd6fa6f60f931579f 132292
libgmt-dev_5.4.1+dfsg-2_amd64.deb
34798103281bd9999da35d1d4115f636fedad823 1371718 libgmt5_5.4.1+dfsg-2_amd64.deb
Checksums-Sha256:
d40ec1610db60f7efe297d25badb120a94673599e243c8838b073547daea48c7 2527
gmt_5.4.1+dfsg-2.dsc
ecdd0438109ddea135f814008e0fad971243c28bfd5d974c2da1287f140354f8 26464
gmt_5.4.1+dfsg-2.debian.tar.xz
5ffde5c2b8de7c2d8e5496a8f4a077c14e30209e8b183a2e70de4b6f26e5c888 4535764
gmt-common_5.4.1+dfsg-2_all.deb
9ee4ee364f80f8e65fb1462bcc973f38352828f343311e4baf9fc65b64e158b0 6266956
gmt-dbg_5.4.1+dfsg-2_amd64.deb
c38c6144345e5e53ac2aa4ff96cad2d731fe792c19b58910343d8fc379e22726 61627494
gmt-doc_5.4.1+dfsg-2_all.deb
9b5f3cfc5d45e1277849f161c055f1ea982ee2f896fc850c3b84d4a743200a1d 16402436
gmt-examples_5.4.1+dfsg-2_all.deb
159e389b383c7ed13ec3070b17a39b242e9283bd4e6dd51a58b14cbf8efa9df9 16924
gmt_5.4.1+dfsg-2_amd64.buildinfo
af3c2d031c2b9a72f927d33c83bb39028b9b7d08d953233313a343a8df23b983 494740
gmt_5.4.1+dfsg-2_amd64.deb
495000c185bf3fd31ba30e2995e1353ce6cd6042692c294948d3938369e2846d 132292
libgmt-dev_5.4.1+dfsg-2_amd64.deb
07e313e304ef59bef257d1fc155399bb2718d047df56026f3e429e007ebac3f9 1371718
libgmt5_5.4.1+dfsg-2_amd64.deb
Files:
071d049eb3a3411afb4489ce0bc2fba0 2527 science extra gmt_5.4.1+dfsg-2.dsc
51be6374cc1b2573a19c0693690ef592 26464 science extra
gmt_5.4.1+dfsg-2.debian.tar.xz
7efca9250431ce52555ac138560496ea 4535764 science extra
gmt-common_5.4.1+dfsg-2_all.deb
f19a9054255f4555c2f090d534089c44 6266956 debug extra
gmt-dbg_5.4.1+dfsg-2_amd64.deb
3225716b412b43984272ec9200d07c34 61627494 doc extra
gmt-doc_5.4.1+dfsg-2_all.deb
082e9cd8d694f0ae3947ad72e9942f77 16402436 doc extra
gmt-examples_5.4.1+dfsg-2_all.deb
809e4c707cd3f0c391d2fac706de3c27 16924 science extra
gmt_5.4.1+dfsg-2_amd64.buildinfo
f48c015bdc83047f945eae49c812061c 494740 science extra
gmt_5.4.1+dfsg-2_amd64.deb
062db5959fcdcc602a0f99bc354ce13f 132292 libdevel extra
libgmt-dev_5.4.1+dfsg-2_amd64.deb
4c17ef6353c4b51684287aa000254514 1371718 libs extra
libgmt5_5.4.1+dfsg-2_amd64.deb
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCgAdFiEEgYLeQXBWQI1hRlDRZ1DxCuiNSvEFAllOTUUACgkQZ1DxCuiN
SvH6FA//VRp4w3zqOVqINcO1b16+QBQZ98APuEZ2cC5ajNDgqgq5zP8Gs3nugvjq
00kR07Lu2sRGbnu1tV61x7cXL//LsAg4PPEiwGVvfvSfKMMuqzRRz+cWBM84+zCz
Ah/GxzrdOwd+UDdCFg9hnm+6BWhSs0nz2Za81XXevXdO7xcQ6QU/d0se4Pzo7TZo
35tsI8dmkbpVUVq93OzUTYJSK7gke77oI0M2mMil4TxbXDn0TlmlY5dWTwZJ2QgO
aFlyct7lTBR2eOHB1mSEHwhrpCmwZtShg/cVwSyvRLR6jce0bZHQvqlu4RsfRi4m
GlY+CuRxoYxZKtm7dICP/EBZRHXORD4cRkaOPBrA035XheidIBiKpgZoNe7Uxodv
/2MRHtesqmhsGGHIIEjoHznEgFkmhilWx/AX7fEWzLHE61ZAeUlChY63P+EhYOV1
RP8EGtWYvzxdhUzniCRtnt5fri8Sj9OgxzwcLQotLda4+hheAo10QFAvMB2Y41Vw
EiFHtzaY8pj3Jstge29reSgr1Zu+tTBm7TsZ+b4tgEjmftaWIrW0q42x7prOwVEy
6M/b2BKyS5FgV8vJWeFFHxQd1kbhHiWfagwZWdFuq5PLqrBHDSX2AgTvwfSZkqzW
oMrzWdeJpChwl74OXvO28bVqduEd9pyfbfI8Ek2nY9EaJM5bjAQ=
=BghM
-----END PGP SIGNATURE-----
--- End Message ---