[Scons-users] scons 'v fails

Bill Deegan bill at baddogconsulting.com
Thu Mar 7 11:39:41 EST 2024


I'd check that users PYTHONPATH, if they've pip installed into the system's
python.
Something very odd is going on.
Check the md5 (or other hash) of the scons files in their system against a
known good.
Or check the strace of running scons on their system, see if they're
picking up scons python files from somewhere unexpected.
-Bill

On Thu, Mar 7, 2024 at 1:38 AM daggs <daggs at gmx.com> wrote:

> 4.5.2 is the stock version which comes for the distro's repos.
> the system is rhel 9.3, kernel 5.14.0-362.18.1.el9_3.x86_64
>
> I haven't tried to diff, the reason is that I don't suspect it is a scons
> issue, but rather something that affects scons.
> all other users on that system reports no issues at all, only this
> specific user has issues
> the other system that it works on for this user is using scons 3.2.1
> I suspect that the diff will be rather large
>
> Dagg.
> *Sent:* Wednesday, March 06, 2024 at 9:52 PM
> *From:* "Bill Deegan" <bill at baddogconsulting.com>
> *To:* "daggs" <daggs at gmx.com>
> *Cc:* "SCons users mailing list" <scons-users at scons.org>
> *Subject:* Re: [Scons-users] scons 'v fails
> 4.5.2 is a native package for the distort you're using?
> Which Linux distro?
>
> Have you tried diffing /usr/bin/scons on systems which work and systems
> which don't work?
> Something odd is going on.
>
> On Mon, Mar 4, 2024 at 11:31 PM daggs <daggs at gmx.com> wrote:
>
>> pkg mgr, other users on the system use the same version without any issues
>>
>> $ python -V
>> Python 3.9.18
>>
>> >Sent: Monday, March 04, 2024 at 9:10 PM
>> >From: "Bill Deegan" <bill at baddogconsulting.com>
>> >To: "SCons users mailing list" <scons-users at scons.org>
>> >Cc: "daggs" <daggs at gmx.com>
>> >Subject: Re: [Scons-users] scons 'v fails
>> >
>> >How did they install SCons?
>> >(command line for install)
>> >Which version of python?
>> >
>> >On Mon, Mar 4, 2024 at 8:32 AM daggs via Scons-users <
>> scons-users at scons.org[mailto:scons-users at scons.org]> wrote:> Sent:
>> Monday, March 04, 2024 at 6:47 PM
>> >> From: "Mats Wichmann" <mats at wichmann.us[mailto:mats at wichmann.us]>
>> >> To: scons-users at scons.org[mailto:scons-users at scons.org]
>> >> Subject: Re: [Scons-users] scons 'v fails
>> >>
>> >> On 3/4/24 08:25, daggs via Scons-users wrote:
>> >> > Greetings,
>> >> >
>> >> > I've encountered a user on one of our systems where scons -v fails.
>> >> > this is the output:
>> >> > $ scons -v
>> >> > Traceback (most recent call last):
>> >> >    File "/usr/bin/scons", line 33, in <module>
>> >> >      sys.exit(load_entry_point('SCons==4.5.2', 'console_scripts',
>> 'scons')())
>> >> >    File "/usr/bin/scons", line 25, in importlib_load_entry_point
>> >> >      return next(matches).load()
>> >> > StopIteration
>> >> >
>> >> > any ideas what can cause it?
>> >>
>> >> That's weird.  I didn't think the entry_point magic even got invoked on
>> >> Linux. Is there more information, like distro name/version? Have VMs
>> >> here of various Fedora, Debian, Ubuntu, Mint and Centos-like here where
>> >> could crosscheck. It *could* be a packaging problem, though I don't
>> want
>> >> to point fingers elsewhere without more info.
>> >>
>> >
>> >rhel 9.3, kernel 5.14.0-362.18.1.el9_3.x86_64
>> >
>> >any other info needed?
>> >
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://pairlist4.pair.net/pipermail/scons-users/attachments/20240307/efe44d39/attachment.htm>


More information about the Scons-users mailing list