Your message dated Sat, 21 Nov 2015 21:21:34 +0000
with message-id <[email protected]>
and subject line Bug#805731: fixed in gmt 5.2.1+dfsg-3
has caused the Debian Bug report #805731,
regarding gmt: FTBFS from source on hppa: Missing define for UC_IP
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.)


-- 
805731: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=805731
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: src:gmt
Version: 5.2.1+dfsg-2
Severity: normal
Tags: patch

Dear Maintainer,

See build log:
https://buildd.debian.org/status/fetch.php?pkg=gmt&arch=hppa&ver=5.2.1%2Bdfsg-2&stamp=1447626260

There error is here:
cd /<<BUILDDIR>>/gmt-5.2.1+dfsg/debian/build/src && /usr/bin/cc  
-DLIBRARY_EXPORTS -std=gnu99 -fstrict-aliasing -g -O2 -Wformat 
-Werror=format-security -D_FORTIFY_SOURCE=2 -fopenmp -O2 -g -DNDEBUG -fPIC 
-I/<<BUILDDIR>>/gmt-5.2.1+dfsg/debian/build/src 
-I/<<BUILDDIR>>/gmt-5.2.1+dfsg/src -I/usr/include/gdal 
-I/<<BUILDDIR>>/gmt-5.2.1+dfsg/debian/build/src/gshhg 
-I/<<BUILDDIR>>/gmt-5.2.1+dfsg/debian/build/src/img 
-I/<<BUILDDIR>>/gmt-5.2.1+dfsg/debian/build/src/meca 
-I/<<BUILDDIR>>/gmt-5.2.1+dfsg/debian/build/src/mgd77 
-I/<<BUILDDIR>>/gmt-5.2.1+dfsg/debian/build/src/misc 
-I/<<BUILDDIR>>/gmt-5.2.1+dfsg/debian/build/src/potential 
-I/<<BUILDDIR>>/gmt-5.2.1+dfsg/debian/build/src/segy 
-I/<<BUILDDIR>>/gmt-5.2.1+dfsg/debian/build/src/spotter 
-I/<<BUILDDIR>>/gmt-5.2.1+dfsg/debian/build/src/x2sys    -o 
CMakeFiles/gmtlib.dir/common_sighandler.c.o   -c 
/<<BUILDDIR>>/gmt-5.2.1+dfsg/src/common_sighandler.c
/<<BUILDDIR>>/gmt-5.2.1+dfsg/src/common_sighandler.c: In function 'sig_handler':
/<<BUILDDIR>>/gmt-5.2.1+dfsg/src/common_sighandler.c:85:48: error: 'mcontext_t 
{aka struct sigcontext}' has no member named 'gregs'
 #  define UC_IP(uc) ((void *) (uc)->uc_mcontext.gregs[REG_EIP])
                                                ^
/<<BUILDDIR>>/gmt-5.2.1+dfsg/src/common_sighandler.c:158:14: note: in expansion 
of macro 'UC_IP'
  array [0] = UC_IP (uc); /* caller's address */
              ^
/<<BUILDDIR>>/gmt-5.2.1+dfsg/src/common_sighandler.c:85:55: error: 'REG_EIP' 
undeclared (first use in this function)
 #  define UC_IP(uc) ((void *) (uc)->uc_mcontext.gregs[REG_EIP])
                                                       ^
/<<BUILDDIR>>/gmt-5.2.1+dfsg/src/common_sighandler.c:158:14: note: in expansion 
of macro 'UC_IP'
  array [0] = UC_IP (uc); /* caller's address */
              ^
/<<BUILDDIR>>/gmt-5.2.1+dfsg/src/common_sighandler.c:85: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.2.1+dfsg/src/common_sighandler.c:158:14: note: in expansion 
of macro 'UC_IP'
  array [0] = UC_IP (uc); /* caller's address */
              ^
src/CMakeFiles/gmtlib.dir/build.make:118: recipe for target 
'src/CMakeFiles/gmtlib.dir/common_sighandler.c.o' failed

The attached patch fixes the bug.  Please install if okay and report upstream.

Regards,
Dave Anglin

-- System Information:
Debian Release: stretch/sid
  APT prefers unreleased
  APT policy: (500, 'unreleased'), (500, 'unstable')
Architecture: hppa (parisc64)

Kernel: Linux 3.18.24+ (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) (ignored: LC_ALL 
set to en_CA.utf8)
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)
Description: <short summary of the patch>
 TODO: Put a short summary on the line above and replace this paragraph
 with a longer explanation of this change. Complete the meta-information
 with other relevant fields (see below for details). To make it easier, the
 information below has been extracted from the changelog. Adjust it or drop
 it.
 .
 gmt (5.2.1+dfsg-2) unstable; urgency=medium
 .
   * Fix build on hppa.
Author: John David Anglin <[email protected]>

---
The information above should follow the Patch Tagging Guidelines, please
checkout http://dep.debian.net/deps/dep3/ to learn about the format. Here
are templates for supplementary fields that you might want to add:

Origin: <vendor|upstream|other>, <url of original patch>
Bug: <url in upstream bugtracker>
Bug-Debian: https://bugs.debian.org/<bugnumber>
Bug-Ubuntu: https://launchpad.net/bugs/<bugnumber>
Forwarded: <no|not-needed|url proving that it has been forwarded>
Reviewed-By: <name and email of someone who approved the patch>
Last-Update: <YYYY-MM-DD>

--- gmt-5.2.1+dfsg.orig/src/common_sighandler.c
+++ gmt-5.2.1+dfsg/src/common_sighandler.c
@@ -79,6 +79,8 @@ void backtrace_symbols_fd(void *const *b
 #  define UC_IP(uc) ((void *) (uc)->uc_mcontext.pc)
 # elif defined( __arm__)
 #  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(__s390__)
 #  define UC_IP(uc) ((void *) (uc)->uc_mcontext.psw.addr)
 # else

--- End Message ---
--- Begin Message ---
Source: gmt
Source-Version: 5.2.1+dfsg-3

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, 21 Nov 2015 20:10:21 +0100
Source: gmt
Binary: gmt gmt-common libgmt5 libgmt-dev gmt-dbg gmt-doc gmt-examples
Architecture: source all amd64
Version: 5.2.1+dfsg-3
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: 805731
Changes:
 gmt (5.2.1+dfsg-3) unstable; urgency=medium
 .
   * Add patch to fix build on HPPA.
     Thanks to John David Anglin for the patch.
     (closes: #805731)
   * Add patch to fix build on alpha.
Checksums-Sha1:
 534bf233a1e3da9902a02cbe9d85efd36b03f55c 2457 gmt_5.2.1+dfsg-3.dsc
 1b8fab3ca12c50b85a4a92fcdf134c0597f3c244 37676 gmt_5.2.1+dfsg-3.debian.tar.xz
 30df5d527adb9519c43181a4377cab2467230324 4628216 
gmt-common_5.2.1+dfsg-3_all.deb
 259be6a5151f2e84ac64589b7afd1f6fe14faabb 5721240 gmt-dbg_5.2.1+dfsg-3_amd64.deb
 731bed9229eddcf04e7f8f8f7a29b19c780abb8e 56182416 gmt-doc_5.2.1+dfsg-3_all.deb
 65a4628374c4b9d01e1760aeca3e5ed87b08361a 11615444 
gmt-examples_5.2.1+dfsg-3_all.deb
 4c98615fd2250f292deb3b02242a677dde5bad3e 187258 gmt_5.2.1+dfsg-3_amd64.deb
 b97b05040f317e5e8de15657a7be4044b597abc2 716610 
libgmt-dev_5.2.1+dfsg-3_amd64.deb
 0925b3637331d513e625d79c52a04d0116d390ed 1489710 libgmt5_5.2.1+dfsg-3_amd64.deb
Checksums-Sha256:
 a93d05493f692b14c73dbb515ec2175d4be0338322821b6d6cdc5d7bf0299244 2457 
gmt_5.2.1+dfsg-3.dsc
 33f67c2fa26c17e48ad858b6a06d619eb8690e03a2d9a8a3fd1393e57f23d839 37676 
gmt_5.2.1+dfsg-3.debian.tar.xz
 5f9c5fa9d055355da075ed11decb232e05dbb6625d3f7f57a24a11ef4db0bf3a 4628216 
gmt-common_5.2.1+dfsg-3_all.deb
 2dbfbf6c0cf35cdcec52ca601e6885f9e8c6bdcaa386bd20c8ba55d54ff0e561 5721240 
gmt-dbg_5.2.1+dfsg-3_amd64.deb
 b971f19998bb9c574b01954ecf9a46dc9d878ff414a6a20c1273e8c396fbd2c6 56182416 
gmt-doc_5.2.1+dfsg-3_all.deb
 45768f9efb8464384c0f53b5de989078c171340ce4c1a0843f8fc4a2bde4d83f 11615444 
gmt-examples_5.2.1+dfsg-3_all.deb
 78440ed976f90e834d381440c22923f2d91caf4e3a0f250a93001da428af4d33 187258 
gmt_5.2.1+dfsg-3_amd64.deb
 2b5b18c955c63bfe8a460933ef48667565a1f4c92f2f81b828f0bdaeedf28c67 716610 
libgmt-dev_5.2.1+dfsg-3_amd64.deb
 c5e61220bff30f5004b2298e6a1f04ad3d7e985788d87a363172d7a9f07f2eeb 1489710 
libgmt5_5.2.1+dfsg-3_amd64.deb
Files:
 8df63a4871feaa77312fdfd0e97ea859 2457 science extra gmt_5.2.1+dfsg-3.dsc
 6fd548da0fe84c7c4644bddacd651a87 37676 science extra 
gmt_5.2.1+dfsg-3.debian.tar.xz
 f45df6a610ee194e55325b2e781e360b 4628216 science extra 
gmt-common_5.2.1+dfsg-3_all.deb
 537f74b8171e66b7c4a206a992a3de80 5721240 debug extra 
gmt-dbg_5.2.1+dfsg-3_amd64.deb
 671362b6373ef4d867e681bb78e326e7 56182416 doc extra 
gmt-doc_5.2.1+dfsg-3_all.deb
 b292ca7bc9e76de8113a6496b6114c06 11615444 doc extra 
gmt-examples_5.2.1+dfsg-3_all.deb
 89213488f99a82217fdf3ad2e30cb4e3 187258 science extra 
gmt_5.2.1+dfsg-3_amd64.deb
 3cf37be85d41885df7c6b9928fad2889 716610 libdevel extra 
libgmt-dev_5.2.1+dfsg-3_amd64.deb
 332a8fa9854ba4c48462a219add0f5be 1489710 libs extra 
libgmt5_5.2.1+dfsg-3_amd64.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIcBAEBCgAGBQJWUM9QAAoJEGdQ8QrojUrxBMsP/jC1CkUUcf96xsPO3O/HuKX8
g2TVzt93P4aAWA0l1Kl05egPvM62cBXmtykmuSx4prkPThLxeMiLlMFm+MnGlj8n
Rd+1PSm21Ag5KU2L/TYiKf7HfZcmZLjovNhwfh/6YxpG7XrZUoDgiyZ6sd9q9keH
/8wefSd+gmcM9sSpbO/wBgLlyRGj9iMc2A7DJyqBzy+od1i7+VFgNvY+5LlWgfdP
lErFzPLLAFicpUILxUIC7Zt+s6Gxi3DsyCEr4zG763BvH2nNr7lgBuXYl4C9YEk/
d3wT7Ugptll4klGW7fM3qOJAshHlDH87wyLs+ZnwvZlD4t/MhtKLwRhd9SE333f3
H10c3dZc1gOk4VTejkD67gjer+efrHrn1HAFjbpNlnXzgTg1EjO5PcszzynV/ukY
S6HsdjhIUrKT0DFg55zNmNR/js7+7t6UOP2oALONl3vbgUBRdRFh81BHU4ETf0dd
CdUsR/F0/t/+SmpQBIhEhf73e4nacoBsFCwmcpIqaRxb9de1/0n7YMu0wI72aKKn
AkuKM6dvI0N54T6O3ojvBpCQMeMm7ZBQYLFrBzkM6vKbo6f4BL+DR1xO0aZILYWP
5lNjm3mNr0H30b7fcOKry3KlRuaBog+eYagY+wD0rhkZ4EjHBmh01DOlnoFZlATD
P2szkMASbWiwYUD0l3Bg
=LUEM
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to