Hi,

I’m sorry for late reply.

Is this issue resolved? If not, can you tell me which class you are using? I 
can’t get enough information from your log.
It will be better if you supply the setting about enable meta-spdxscanner in 
local.conf.

Best regards
Lei


From: [email protected] <[email protected]> On Behalf Of 
Martin Leduc via lists.yoctoproject.org
Sent: Thursday, September 8, 2022 10:40 PM
To: [email protected]
Subject: [yocto] meta-spdxscanner

Hi Community,

I’m facing to an issue with meta-spdxscanner.bbclass.  A Python Warning fail 
the build.  This is the error:

ERROR: python3-patch-native-1.16-r0 do_compile: 'python3 setup.py bdist_wheel ' 
execution failed.
ERROR: python3-patch-native-1.16-r0 do_compile: 
ExecutionError('/home/mleduc/1087/1087-NIM/build-sdk/tmp/work/x86_64-linux/python3-patch-native/1.16-r0/temp/run.do_compile.3058985',
 1, None, None)
ERROR: Logfile of failure stored in: 
/home/mleduc/1087/1087-NIM/build-sdk/tmp/work/x86_64-linux/python3-patch-native/1.16-r0/temp/log.do_compile.3058985
Log data follows:
| DEBUG: Executing shell function do_compile
| 
/home/mleduc/1087/1087-NIM/build-sdk/tmp/work/x86_64-linux/python3-patch-native/1.16-r0/patch-1.16/setup.py:1:
 DeprecationWarning: The distutils package is deprecated and slated for removal 
in Python 3.12. Use setuptools or check PEP 632 for potential alternatives
|   from distutils.core import setup
| usage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
|    or: setup.py --help [cmd1 cmd2 ...]
|    or: setup.py --help-commands
|    or: setup.py cmd --help
|
| error: invalid command 'bdist_wheel'
| ERROR: 'python3 setup.py bdist_wheel ' execution failed.
| WARNING: 
/home/mleduc/1087/1087-NIM/build-sdk/tmp/work/x86_64-linux/python3-patch-native/1.16-r0/temp/run.do_compile.3058985:177
 exit 1 from 'exit 1'
| WARNING: Backtrace (BB generated script):
|             #1: bbfatal_log, 
/home/mleduc/1087/1087-NIM/build-sdk/tmp/work/x86_64-linux/python3-patch-native/1.16-r0/temp/run.do_compile.3058985,
 line 177
|             #2: setuptools3_do_compile, 
/home/mleduc/1087/1087-NIM/build-sdk/tmp/work/x86_64-linux/python3-patch-native/1.16-r0/temp/run.do_compile.3058985,
 line 167
|             #3: do_compile, 
/home/mleduc/1087/1087-NIM/build-sdk/tmp/work/x86_64-linux/python3-patch-native/1.16-r0/temp/run.do_compile.3058985,
 line 156
|             #4: main, 
/home/mleduc/1087/1087-NIM/build-sdk/tmp/work/x86_64-linux/python3-patch-native/1.16-r0/temp/run.do_compile.3058985,
 line 181
ERROR: Task 
(virtual:native:/home/mleduc/1087/1087-NIM/sources/meta-spdxscanner/recipes-devtools/python/python3-patch_1.16.bb:do_compile)
 failed with exit code '1'

Any patch or approach to fix this?

I’m using Yocto Kirkstone

Any help will be appreciated

Martin Leduc
Superviseur logiciel platforme, Rail
Luminator Technology Group
T : 1 418 856-6896
[email protected]<mailto:[email protected]>
www.luminator.com<http://www.luminator.com/>

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#58159): https://lists.yoctoproject.org/g/yocto/message/58159
Mute This Topic: https://lists.yoctoproject.org/mt/93550072/21656
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to