[oi-dev] pkg broken after recent pkg update?

Till Wegmüller toasterson at gmail.com
Fri Mar 13 12:55:57 UTC 2020


Hi Stephan

Thanks for the notice.

@Predrag looping you in as you have the same problem.

Unfortunately you will need to revert to a previous BE to fix it.

This seems to be a wird one. The missing symbol ist part of
/usr/gcc/6/lib/amd64/libstdc++.so.6 which is installed by
system/library/g++-6-runtime. The dependencies of the packages are
sound. Which version of library/python/rapidjson-35 have you installed?
Do you have packages from other publishers?

I just updated a zone to test and have system/library/g++-6-runtime
properly installed. No problem with pkg for me.

What is the output of the following commands on your systems?
ldd /usr/lib/python3.5/vendor-packages/rapidjson.cpython-35m.so

nm /usr/gcc/6/lib/amd64/libstdc++.so.6 | grep __gxx_personality_v0

pkg contents -m library/python/rapidjson-35 | grep
system/library/g++-6-runtime

Greetings
Till

On 13.03.20 10:13, Stephan Althaus wrote:
> Hi!
> 
> I did a "pkg update" some minutes ago,
> now "pkg" is broken (??)
> ----------------
> $ sudo pkg refresh
> Traceback (most recent call last):
>   File "/usr/bin/pkg", line 87, in <module>
>     import pkg.actions as actions
>   File "/usr/lib/python3.5/vendor-packages/pkg/actions/__init__.py",
> line 68, in <module>
>     globals(), locals(), [modname])
>   File "/usr/lib/python3.5/vendor-packages/pkg/actions/group.py", line
> 33, in <module>
>     from . import generic
>   File "/usr/lib/python3.5/vendor-packages/pkg/actions/generic.py", line
> 49, in <module>
>     import pkg.variant as variant
>   File "/usr/lib/python3.5/vendor-packages/pkg/variant.py", line 36, in
> <module>
>     from pkg.misc import EmptyI
>   File "/usr/lib/python3.5/vendor-packages/pkg/misc.py", line 76, in
> <module>
>     import pkg.json as json
>   File "/usr/lib/python3.5/vendor-packages/pkg/json.py", line 24, in
> <module>
>     from rapidjson import loads, load, dumps, dump, JSONDecodeError
> ImportError: ld.so.1: python3.5: fatal: relocation error: file
> /usr/lib/python3.5/vendor-packages/rapidjson.cpython-35m.so: symbol
> __gxx_personality_v0: referenced symbol not found
> ----------------
> 
> Did i miss something?
> 
> 
> Greetings,
> Stephan
> 
> 
> On 03/12/20 21:31, Alexander Pyhalov via oi-dev wrote:
>> Hi.
>>
>> I need reviewers and testers for
>> https://github.com/OpenIndiana/oi-userland/pull/5600. I personally
>> have no means to test it. Basic motivation for me was to switch it to
>> Python 3.5.
>> To build it you'll need 64-bit sane-backends:
>> https://github.com/OpenIndiana/oi-userland/commit/a793b0414355f0925b42c8ac67a4ef116698c3d7
>>
>>
>> С уважением,
>> Александр Пыхалов,
>> программист отдела телекоммуникационной инфраструктуры
>> управления информационно-коммуникационной инфраструктуры ЮФУ
>>
>>
>> _______________________________________________
>> oi-dev mailing list
>> oi-dev at openindiana.org
>> https://openindiana.org/mailman/listinfo/oi-dev
> 
> 
> 
> _______________________________________________
> oi-dev mailing list
> oi-dev at openindiana.org
> https://openindiana.org/mailman/listinfo/oi-dev




More information about the oi-dev mailing list