[oi-dev] pkg broken after recent pkg update?
Till Wegmüller
toasterson at gmail.com
Fri Mar 13 13:16:33 UTC 2020
Ah it is a problem with your version of
/usr/gcc/6/lib/amd64/libstdc++.so.6 being to old.
Can you revert to the BE before the update and run the pkg commands again?
If your version of system/library/g++-6-runtime is below
6.5.0-2019.0.0.2 you must update that manually first before updating pkg.
That should solve your problem. I have
pkg list system/library/g++-6-runtime
NAME (PUBLISHER) VERSION
IFO
system/library/g++-6-runtime 6.5.0-2019.0.0.2
i--
and my pkg works.
Greetings
Till
On 13.03.20 14:00, Predrag Zecevic - Unix Systems Administrator wrote:
>
>
> On 03/13/20 13:55, Till Wegmüller wrote:
>> 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
>>
>
> Thanks Till,
>
> here we go:
>
> :; ldd /usr/lib/python3.5/vendor-packages/rapidjson.cpython-35m.so
> libpython3.5m.so.1.0 => /usr/lib/64/libpython3.5m.so.1.0
> libstdc++.so.6 => /usr/gnu/lib/amd64/libstdc++.so.6
> libstdc++.so.6 (GLIBCXX_3.4.21) => (version not found)
> libstdc++.so.6 (CXXABI_1.3.9) => (version not found)
> libm.so.2 => /lib/64/libm.so.2
> libgcc_s.so.1 => /usr/gnu/lib/amd64/libgcc_s.so.1
> libc.so.1 => /lib/64/libc.so.1
> librt.so.1 => /lib/64/librt.so.1
> libintl.so.1 => /lib/64/libintl.so.1
> libdl.so.1 => /lib/64/libdl.so.1
> libsendfile.so.1 => /lib/64/libsendfile.so.1
>
> :; nm /usr/gcc/6/lib/amd64/libstdc++.so.6 | grep __gxx_personality_v0
> 00000000000dadd0 T __gxx_personality_v0
> 00000000001c31e0 d DW.ref.__gxx_personality_v0
>
> :; pkg contents -m library/python/rapidjson-35 | grep
> system/library/g++-6-runtime
> 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/hardlink.py",
> line 33, in <module>
> from . import generic, link
> 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
>
>
> Regards.
>> 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