LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   slackware-current bug report: scons broken (https://www.linuxquestions.org/questions/slackware-14/slackware-current-bug-report-scons-broken-4175671876/)

teeemcee 03-24-2020 05:10 AM

slackware-current bug report: scons broken
 
I trust this is a suitable place to report bugs, because I couldn't find anywhere better. (Wish the website explained where to report bugs).

Quote:

+--------------------------+
Fri Mar 13 20:15:29 UTC 2020
d/scons-3.1.2-x86_64-2.txz: Rebuilt.
Drop python2 support and switch to python3.
SConscript is now installed as a Python3 library. But /usr/bin/scons no longer works, because the hashbang line is "#!/usr/bin/env python". IIRC the 'scons' script, including the hashbang line, is generated at install time?

Edit: I might also mention that this package installs /usr/bin/scons.bat and /usr/bin/scons-3.1.2.bat -- yes! DOS batch files! scons-3.0.1-x86_64-2 didn't contain them, while scons-3.1.2-x86_64-1 did.

ponce 03-24-2020 05:19 AM

hi teeemce,

I already reported it to Pat so most probably he is already looking into it.
also consider that not all of the SConstruct scripts will like python3, but fortunately patches are already around...

BTW, yes, I think reporting issues here on the forum is perfectly fine as Pat reads it.

Quote:

Originally Posted by teeemcee (Post 6103760)
Edit: I might also mention that this package installs /usr/bin/scons.bat and /usr/bin/scons-3.1.2.bat -- yes! DOS batch files! scons-3.0.1-x86_64-2 didn't contain them, while scons-3.1.2-x86_64-1 did.

nice catch, I didn't noticed them too!

teeemcee 03-24-2020 07:55 AM

Good to hear. I'll mark this solved since it's a duplicate report.
Luckily for me, someone contributed a patch to port the sconscript build system for my own project to Py3 last month. At the time I didn't realise how important it was!

BTW, thank you for the slackbuilds!


All times are GMT -5. The time now is 03:49 PM.