Your message dated Tue, 28 Mar 2017 01:18:49 +0000
with message-id <[email protected]>
and subject line Bug#845535: fixed in aspectc++ 1:2.2-1
has caused the Debian Bug report #845535,
regarding undertaker FTBFS on mips and mipsel: aspectc++ need to be recompiled 
with -fPIC
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.)


-- 
845535: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=845535
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: aspectc++
Version: 1:2.1-2
Severity: important
Tags: sid + patch
Justification: FTBFS
User: [email protected]
Usertags: mips-patch


Package undertaker_1.6.1-3 FTBFS on mips and mipsel with following error:

> /usr/bin/ld: 
> /usr/lib/gcc/mipsel-linux-gnu/6/../../../../lib/libPuma.a(PreMacro.o): 
> relocation R_MIPS_HI16 against `__gnu_local_gp' can not be used when making a 
> shared object; recompile with -fPIC
> /usr/lib/gcc/mipsel-linux-gnu/6/../../../../lib/libPuma.a: error adding 
> symbols: Bad value
> collect2: error: ld returned 1 exit status
> <builtin>: recipe for target 'undertaker' failed
> make[4]: *** [undertaker] Error 1

The problem occurs because -fPIC flag is not used during aspectc++ build.

I have created and attached a patch that adds -fPIC flag and resolves this 
issue.
With this patch package builds successfully on mips, mipsel architectures.

Regards,
Radovan
--- aspectc++-2.1_orig/debian/rules	2016-10-07 23:22:54.000000000 +0000
+++ aspectc++-2.1/debian/rules	2016-11-23 12:00:52.181590896 +0000
@@ -40,6 +40,11 @@ ifeq ($(DEB_HOST_ARCH),armhf)
 	CFLAGS := -Wall -O1 -g
 endif
 
+DEB_BUILD_ARCH ?= $(shell dpkg-architecture -qDEB_BUILD_ARCH)
+ifneq (,$(filter $(DEB_BUILD_ARCH),mips mipsel))
+	CFLAGS += -fPIC
+endif
+
 export CFLAGS
 PUMA_CONFIG=$(CURDIR)/puma.config
 

--- End Message ---
--- Begin Message ---
Source: aspectc++
Source-Version: 1:2.2-1

We believe that the bug you reported is fixed in the latest version of
aspectc++, 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.
Reinhard Tartler <[email protected]> (supplier of updated aspectc++ 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: SHA256

Format: 1.8
Date: Mon, 27 Mar 2017 20:31:11 -0400
Source: aspectc++
Binary: aspectc++ libpuma-dev libpuma-doc
Architecture: source
Version: 1:2.2-1
Distribution: experimental
Urgency: medium
Maintainer: Reinhard Tartler <[email protected]>
Changed-By: Reinhard Tartler <[email protected]>
Description:
 aspectc++  - aspect-oriented programming extension for C++
 libpuma-dev - C/C++/AspectC++ Scanner and Parsers
 libpuma-doc - C/C++/AspectC++ Scanner and Parsers
Closes: 845535
Changes:
 aspectc++ (1:2.2-1) experimental; urgency=medium
 .
   [ Reinhard Tartler ]
   * Upload to debian/experimental
 .
   [ Radovan Birdic ]
   * Compile aspectc++ with -fPIC on mipsen (Closes: #845535)
Checksums-Sha1:
 38c3f6fc5b5535726cffec5a75d63c0e6c70c247 2118 aspectc++_2.2-1.dsc
 fd418e02b4fc738d9b1c245b388fbf2cdecbbc92 3198670 aspectc++_2.2.orig.tar.gz
 7324464a772abb5f496d9e4ae13e60046b537c20 14216 aspectc++_2.2-1.debian.tar.xz
Checksums-Sha256:
 9e4fd4cdaaaf568ce7adc468f8c509f17610e30a2052b0237992bf53d2ca040d 2118 
aspectc++_2.2-1.dsc
 702ba043138cf4bc16f8fdc6f5768100bb1fb52cadad26b477a83424b3197066 3198670 
aspectc++_2.2.orig.tar.gz
 c767e1a36d112f272c137e6dcd9fa72c1589119ef1f98251979897ed83b0786b 14216 
aspectc++_2.2-1.debian.tar.xz
Files:
 0f2f63f4e99e214cc0aee642909303ce 2118 devel optional aspectc++_2.2-1.dsc
 fc5e9384a578e288383ea2badf29f51c 3198670 devel optional 
aspectc++_2.2.orig.tar.gz
 9983609c0490f68b8a9abff784f4c3fd 14216 devel optional 
aspectc++_2.2-1.debian.tar.xz

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

iQJIBAEBCAAyFiEEG346Wlh+vrSwRQnyYQkqu5dBnfMFAljZtmQUHHNpcmV0YXJ0
QHRhdXdhcmUuZGUACgkQYQkqu5dBnfMiDg/8ClB+5K9rsphGhyiETvzm3+dPx33b
k0SpC4LEfONo7V6SYfeiXbm3SM9WCEcSIqnzPn7b13poLw+amMYj7696/ZwIKo49
ruvLzKGUH9dJaodiVeyrTkV725Ir+EAGAdIdDDnVWHqnhD24NPmKQGxNhyVVtD0w
TGDdKLcZrWRi/WDNp8bVYCoIwOcBxV2qOdceVKbcxXEmgn33KxtNNv8dIKaJLaBU
accR5uwlwn0L/YExGBPSvZBi7S97mYNg1/D2gyde7am1Yv2wDLiP917GLGjURqPB
FCoNV4VMA0UtsAp/lfaKVlp/zHQLCvYuu7o6n4XVs0ytfry3FrZRqoUvoqQrufzz
uqnRRnr7NsAMFWW7JdpjOLcvCYrftKQJUF6flGpdTQ6K4TUy8aTWQC541DxNDhtV
WW2d0B66l1FmmLMPLYIkajUUsHS5/ni97t1AcCLhpnpBiL/f+oMhx2znkOnIDk4o
TEYEok+P1wI2EwaeKNwM1mQzitqRqzQxV8WRT7tS/GcNwf59vYANe8gMbRn5LeVY
zeca7/hBaLCb2aTvmoZyojQHq5hzpXNKko+hg7yQkWMC72uf7zLEN/4nfw1s6f2A
1boeqNFm7QOh58YaclskJ4GJLxykRIc0p82/uVOCk0ox5Yub/H2ysWW1vVbeKB04
/EsOOM2d3JQ6dis=
=Do5n
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to