Python3 linux

7 views
Skip to first unread message

Nicky Perian

unread,
Aug 20, 2021, 2:31:54 PM8/20/21
to OpenSource Mailing List, Chorazin Allen
On kokua using python3 to at build the executable dir I run into:
[100%] Performing viewer_manifest copy
/home/nicky/WORKON_HOME/autobuild-2.0.0/bin/python3 \
/home/nicky/kokua/kokua-ca-fork/indra/newview/viewer_manifest.py --actions=copy --arch=x86_64 --artwork=/home/nicky/kokua/kokua-ca-fork/indra/newview --bugsplat= --openal=OFF --build=/home/nicky/kokua/kokua-ca-fork/build-linux-x86_64-kokua-norlv/newview --buildtype=Release '--channel=Kokua Release NORLV' --configuration=. --dest=/home/nicky/kokua/kokua-ca-fork/build-linux-x86_64-kokua-norlv/newview/packaged --grid=agni --source=/home/nicky/kokua/kokua-ca-fork/indra/newview --versionfile=/home/nicky/kokua/kokua-ca-fork/build-linux-x86_64-kokua-norlv/newview/viewer_version.txt --fmodversion=fmodstudio
Source tree: /home/nicky/kokua/kokua-ca-fork/indra/newview
Artwork tree: /home/nicky/kokua/kokua-ca-fork/indra/newview
Build tree: /home/nicky/kokua/kokua-ca-fork/build-linux-x86_64-kokua-norlv/newview
Destination tree: /home/nicky/kokua/kokua-ca-fork/build-linux-x86_64-kokua-norlv/newview/packaged
Traceback (most recent call last):
  File "/home/nicky/kokua/kokua-ca-fork/indra/newview/viewer_manifest.py", line 1753, in <module>
    main(extra=extra_arguments)
  File "/home/nicky/kokua/kokua-ca-fork/indra/newview/../lib/python/indra/util/llmanifest.py", line 221, in main
    default = default(args['source'])
  File "/home/nicky/kokua/kokua-ca-fork/indra/newview/../lib/python/indra/util/llmanifest.py", line 86, in get_default_platform
    return {'linux2':'linux',
KeyError: 'linux'
cmake version 3.21.0-rc1
I ran into this several years ago and was in cmake but I cannot remember the solution.

For Chorazin Allen: does bugsplat need to be fully defined as FALSE.


Signal Linden (Bennett Goble)

unread,
Aug 20, 2021, 7:27:31 PM8/20/21
to Nicky Perian, OpenSource Mailing List, Chorazin Allen
Hi Nicky,

It looks like you are seeing a Python 2 vs 3 compatibility problem in llmanifest.py. `sys.platform` resolves to "linux1" or "linux2" on Python 2 but returns "linux" in Python 3. llmanifest.py will need to be updated to handle both if you want to use Python 3 on linux.

Reading between the lines, I spy "autobuild-2.0.0" in your venv path! Are you trying to use or incorporate unreleased upstream Python 3 changes? I have internally proposed changes to support Python 3 viewer builds and autobuild and should caution that the branches involved are not ready for use. These branches may not even be adopted! Regardless, I would still like to know in case you are hitting linux build problems that should be addressed.

Best,

-Signal Linden

--
Archives of earlier incarnations of this list are at https://list-archives.secondlife.com
---
You received this message because you are subscribed to the Google Groups "opensource-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to opensource-de...@lists.secondlife.com.
To view this discussion on the web visit https://groups.google.com/a/lists.secondlife.com/d/msgid/opensource-dev/CAF34W%3DFqP6ZY3VcD28QL6hWKcJFQC-1F97ViNZmVxPNrUY2A9w%40mail.gmail.com.

Nicky Perian

unread,
Aug 20, 2021, 7:58:28 PM8/20/21
to Signal Linden (Bennett Goble), OpenSource Mailing List, Chorazin Allen
Thank you, Chorazin suggested return {‘linux’:’linux’,

We are using  development  branch and have no intention  of releasing until LL decides to. Thanks for the feedback.
Can you add a tag ‘2.0.0" to autobuild git. If it is too early I understand. 
Reply all
Reply to author
Forward
0 new messages