Re: [Pkg-utopia-maintainers] Bug#835550: network-manager: FTBFS on mips* and powerpc - NetworkManager segfaults

Michael Biebl <[email protected]>
Newsgroups gmane.linux.debian.ports.mips
Message-ID <[email protected]>
Am 27.08.2016 um 10:16 schrieb Michael Biebl:
> Hi
> 
> Am 27.08.2016 um 01:52 schrieb James Cowgill:
>> network-manager FTBFS on all mips arches and on powerpc with this error:
> 
> 
>>> make[9]: Leaving directory '/«PKGBUILDDIR»/src/settings/plugins/ibft/tests'
>>> LD_BIND_NOW=1 LD_PRELOAD=./../.libs/libnm-settings-plugin-ibft.so ../../../../../src/NetworkManager --version >/dev/null
>>> /bin/bash: line 1: 10923 Segmentation fault      LD_BIND_NOW=1 LD_PRELOAD=./../.libs/libnm-settings-plugin-ibft.so ../../../../../src/NetworkManager --version > /dev/null
> 
> Yeah, I've already seen that and I'm quite puzzled by it.
> 
>>> I tried to build it on mips64el and simply trying to run 'NetworkManager
>> --version' prints out the correct version, then a load of garbage before
>> finally segfaulting.
>>
>> I haven't done extensive testing, but this bug smells very similar to
>> bug #816059 in lua and is related to using version scripts on certain
>> architectures.
> 
> The version script (in libnm) was already used in 1.2.4-1, which didn't
> FTBFS. I wonder if this is a toolchhain issue on those architectures and
> not a bug in NM.

This test is new in 1.4 and was added in [1] to uncover "toolchain
issues". The commit mentions that building without garbage collection
(--disable-ld-gc) should fix the issue. I tried that on a porter machine
(ppc, partch.debian.org), but it didn't make a difference.

Added Lubomir to CC, who added that check upstream. Maybe he has some
input on this.

Regards,
Michael


[1]
https://cgit.freedesktop.org/NetworkManager/NetworkManager/commit/?id=aa0ebcc3246c6f10c0c90e9e75fa01902e7163bb
-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?
signature.asc (application/pgp-signature, 801 B)
-----BEGIN PGP SIGNATURE-----

iQIcBAEBCAAGBQJXwWdbAAoJEGrh3w1gjyLca30QAJcFSdZ6ReKxovBAbrq0Vtst
CIDyCTtg39Z1ln+ovAiWaahW23PUv64LDmQZkzH+6XzE0Ak9MwCphBgAE5eghLe7
gsVfKQjsyT5BABzbQFIIlYY7pxLNP16IyYemEWKz7CGfIh8FUFZgsM0hgyb021q5
iA+DTurH7tP1qFT8bP9GBVM4T+g9E3c4H7u+LthvBulH7/rPvmqYBGlppAgkbZ2w
veM8jMjigg9jQr/6DKp03bK2J9LKEj2dNVu5ch2eH3NBzuaL+0bpmtXedlZjoorj
frt4k/CCA7RFkoAgb9/cq4lPCJFjbvokTL6vtzMW/n+cq9NlLDt0ayZ9fm5rrhVp
28/YwuDcGg4tIHgl2OXkN3OylQCt6ZzhGgT7/2cXuNV4aiG+4lO0BfAEQ5VRzmiK
SoP7WyngbFlbZZtqU4bGByuv3nQHciLvBVtVvuS3B2ZX+LxPJEoS2HUlLGXksIW1
lEfnh8ildspCiuE+nFc3CTJ8D2I3HAY9yslvpggNsmtVtrcU9+z1gah8NYdcK/wT
cQwtRQsgG2DqCnTtCi4jpBSYx4Ai8NBhvjq4SFnCJ4dzLpifTFKftWwz/p+206BY
Y1DD1TyThQUwWK/W06WQV3k1Fh4tPoomhXkcn6mcOnUN5aOvz7srJOrCw2MijJna
vdUgFmvC8eMfOIHA4ixB
=Dld8
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.