#linuxcnc-devel Logs

Oct 09 2024

#linuxcnc-devel Calendar

01:14 AM pere: andypugh__: any idea why master fail CI on github now?
01:25 AM pere: might be related to e2c10a8ac20c37c231367d3731c79846082b3a53.
02:09 AM pere: andypugh__: I believe the new code is wrong, as the original code returned /usr/lib/python3/dist-packages while the new code return /usr/local/lib/python3.11/dist-packages.
02:11 AM pere: andypugh__: according to python3 -c 'import sysconfig; print(sysconfig.get_paths())', there is no usable path in sysconfig. :(
03:52 AM -!- #linuxcnc-devel mode set to +v by ChanServ
04:34 AM -!- #linuxcnc-devel mode set to +v by ChanServ
05:37 AM andypugh__: pere: I know, but it still seems to work…. It builds and passes the tests.
05:37 AM pere: andypugh__: no it does not, the deb building always fail.
05:37 AM andypugh__: Was it passing before?
05:37 AM pere: yes
05:40 AM pere: Check <URL: https://github.com/LinuxCNC/linuxcnc/commits/master/ >. The single-steop merge failed in one of the flaky tests, and the two commits after this fail to build a deb.
05:42 AM pere: Apparently the 'loadusr -w sleep 0.1' in tests/hal-show/ is not always enough. way too many tests depend on external factors like how long things take.
05:50 AM andypugh__: Maybe it only works thorugh a quirk of my system then. Does it build abd pass tests on yours?
05:57 AM andypugh__: This might just be a path error:
05:57 AM pere: What does 'abd pass tests' mean?
05:57 AM andypugh__: cp --reflink=auto -a debian/tmp/usr/share/linuxcnc/Makefile.modinc debian/tmp/usr/share/linuxcnc/mesa_modbus.c.tmpl debian/linuxcnc-uspace-dev//usr/share/linuxcnc/
05:57 AM andypugh__: dh_install: Cannot find (any matches for) "usr/lib/python3" (tried in ., debian/tmp)
05:57 AM andypugh__: dh_install: linuxcnc-uspace missing files: usr/lib/python3
05:57 AM andypugh__: install -d debian/.debhelper/generated/linuxcnc-uspace-dev
05:57 AM pere: It is a path error. the python stuff need to be installed in /usr/, not /usr/local/.
05:59 AM andypugh__: Maybe, but I think this looks like a failure to find files in linuxcnc-dev/usr/lib/python3 or linuxcnc-dev/debian/tmp/usr/lib/python3
06:01 AM andypugh__: Here ===> Cannot find (any matches for) "usr/lib/python3" (tried in ., debian/tmp)
07:38 AM pere: exactly. I guess these files mistakenly ended up in linuxcnc-dev/debian/tmp/usr/local/lib/python3
09:00 AM andypugh__: No, what I am thinking is that the system is trying to use a relative path rather than an absolute path
09:01 AM andypugh__: Fundamentally I don’t understand why folk feel the need to withdraw a working Python library.
09:03 AM andypugh__: Thinking a little harder, maybe the problem is just that we are not parking temp files where Python now expects?
09:04 AM andypugh__: (If get_paths() can’t return /usr/lib/python3/dist-packages then perhaps things don’t belong there?
10:22 AM Unterhaus__ is now known as Unterhausen
10:26 AM -!- #linuxcnc-devel mode set to +v by ChanServ
01:11 PM pere: andypugh__: things do belong there, per debian policy. :)
01:12 PM pere: I also can not make sense or removing a working python library.