Your message dated Sun, 30 Sep 2018 17:32:05 +0200
with message-id <[email protected]>
and subject line Re: Bug#909274: jansson: Please consider building jansson with 
-fPIC
has caused the Debian Bug report #909274,
regarding jansson: Please consider building jansson 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.)


-- 
909274: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=909274
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: jansson
Severity: wishlist

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Dear Maintainer,

Next release of trafficserver provides a plugin depending on jansson.
Currently, jansson seems to be built staticaly:

checking jansson.h usability... yes
checking jansson.h presence... yes
checking for jansson.h... yes
checking whether jansson is dynamic... no

It also doen't use -fPIC, which prevent its use with trafficserver:

libtool: link:  cc -shared  -fPIC -DPIC
experimental/uri_signing/.libs/uri_signing.o
experimental/uri_signing/.libs/config.o
experimental/uri_signing/.libs/cookie.o
experimental/uri_signing/.libs/jwt.o
experimental/uri_signing/.libs/match.o
experimental/uri_signing/.libs/parse.o
experimental/uri_signing/.libs/timing.o   -l:libjansson.a -l:libcjose.a
- -lpcre -lm -lcrypto -lbrotlienc -lpthread -ldl  -g -mcx16 -g -O2
- -fstack-protector-strong -O3 -Wl,-z -Wl,relro -Wl,-z -Wl,now
- -Wl,-soname -Wl,uri_signing.so -Wl,-version-script
- -Wl,experimental/uri_signing/.libs/uri_signing.ver -o
experimental/uri_signing/.libs/uri_signing.so
/usr/bin/ld:
/usr/lib/gcc/x86_64-linux-gnu/8/../../../x86_64-linux-gnu/libjansson.a(load.o):
relocation R_X86_64_PC32 against symbol `stdin@@GLIBC_2.2.5' can not be
used when making a shared object; recompile with -fPIC

Could you please consider adding this flag ?

Cheers,
Jean Baptiste Favre

- -- System Information:
Debian Release: buster/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'stable'), (500, 'oldstable'), (1, 
'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.18.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8), 
LANGUAGE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

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

iQKTBAEBCgB9FiEEToRbojDLTUSJBphHtN1Tas99hzcFAluj8G1fFIAAAAAALgAo
aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDRF
ODQ1QkEyMzBDQjRENDQ4OTA2OTg0N0I0REQ1MzZBQ0Y3RDg3MzcACgkQtN1Tas99
hzd4bA//UOg5v5iLkMMlh7kCoz6NFkkhiSXSepc96R1u2dZm6ts+IPmfRfkRZKol
qM2odh2fIEQH1d4bouGc0AipcZV2ExYnZi0dA/4bEtsIQZE5SwjjJIipLP579++6
WU9EpG32vYI3Mtt/+fRI/3roDxJ9o7dPXjEpKrTnIhARLPZynE9R+nNiBg/bfX8P
/y6wpYyAltniTcfN+aWpY3w8Oo/Sng/g3fcIk+up8hX9er7kIVGZUS2IudTyeAWn
MeGX8CPfYzx7WNc/LzU+fGwTYC/PFUiBKnxzWEhP992cVxd4CbOCDdQ5vE/ZXBDJ
zhavf5P8yoDciCsVGAuRHhk20yMB1z7Tu6G7Hth3a9BUB3vwhUtrHwPk+DPqjlj9
tshBdHANCDm+28Ocf1uEpKNlVvMMJ36DHJkEhBYl3DpPgqF1JCHVV4vsD5MrrhOm
d3EOFHGJdUE1YaBDxUIWd6j/zYMipdGcYhDf3yBJktl4cryN4gmKkZC0C9MfvEm2
lBWP7VZdB/kgQH241HpEEKrIJCJgZSM4AupAJkJghA+Yr73IPRc8aK47fri9bYyM
bdEjh0iwkagpMw72yAtJJDYu1juRZPnFBSI15ZTf8M2TOn1RQQtMLUsqRbAG2NS3
R4hoI/1bNCtavElnqs5S/cPiXkr7aysxMch90YCBuWx7qUi7H6U=
=ox8h
-----END PGP SIGNATURE-----

--- End Message ---
--- Begin Message ---
Hello Alessandro,
You're right. The issue was on Trafficserver side.
Libjansson and libsjose were wrongly detected as static.
I fixed the issue and forwarded the patch upstream.

Thanks,
Jean Baptiste

On 9/22/18 5:49 PM, Alessandro Ghedini wrote:
> On Thu, Sep 20, 2018 at 09:09:39PM +0200, Jean Baptiste Favre wrote:
>> Source: jansson
>> Severity: wishlist
>>
>> Dear Maintainer,
>>
>> Next release of trafficserver provides a plugin depending on jansson.
>> Currently, jansson seems to be built staticaly:
>>
>> checking jansson.h usability... yes
>> checking jansson.h presence... yes
>> checking for jansson.h... yes
>> checking whether jansson is dynamic... no
>>
>> It also doen't use -fPIC, which prevent its use with trafficserver:
>>
>> libtool: link:  cc -shared  -fPIC -DPIC
>> experimental/uri_signing/.libs/uri_signing.o
>> experimental/uri_signing/.libs/config.o
>> experimental/uri_signing/.libs/cookie.o
>> experimental/uri_signing/.libs/jwt.o
>> experimental/uri_signing/.libs/match.o
>> experimental/uri_signing/.libs/parse.o
>> experimental/uri_signing/.libs/timing.o   -l:libjansson.a -l:libcjose.a
>> -lpcre -lm -lcrypto -lbrotlienc -lpthread -ldl  -g -mcx16 -g -O2
>> -fstack-protector-strong -O3 -Wl,-z -Wl,relro -Wl,-z -Wl,now
>> -Wl,-soname -Wl,uri_signing.so -Wl,-version-script
>> -Wl,experimental/uri_signing/.libs/uri_signing.ver -o
>> experimental/uri_signing/.libs/uri_signing.so
>> /usr/bin/ld:
>> /usr/lib/gcc/x86_64-linux-gnu/8/../../../x86_64-linux-gnu/libjansson.a(load.o):
>> relocation R_X86_64_PC32 against symbol `stdin@@GLIBC_2.2.5' can not be
>> used when making a shared object; recompile with -fPIC
>>
>> Could you please consider adding this flag ?
> 
> AFAICT jansson is already built with -fPIC, see build logs:
> https://buildd.debian.org/status/fetch.php?pkg=jansson&arch=amd64&ver=2.11-1&stamp=1518387251&raw=0
> https://buildd.debian.org/status/fetch.php?pkg=jansson&arch=i386&ver=2.11-1&stamp=1518387065&raw=0
> 
> Cheers
> 


Attachment: signature.asc
Description: OpenPGP digital signature


--- End Message ---

Reply via email to