#linuxcnc-devel Logs

Apr 04 2020

#linuxcnc-devel Calendar

12:31 AM linuxcnc-build: build #6583 of 0000.checkin is complete: Failure [4failed] Build details are at http://buildbot.linuxcnc.org/buildbot/builders/0000.checkin/builds/6583 blamelist: Dewey Garrett <dgarrett@panix.com>
03:32 AM linuxcnc-build: build #3866 of 4017.deb-wheezy-amd64 is complete: Failure [4failed shell_3] Build details are at http://buildbot.linuxcnc.org/buildbot/builders/4017.deb-wheezy-amd64/builds/3866 blamelist: Chris Morley <chrisinnanaimo@hotmail.com>, Phillip Carter <phillcarter54@gmail.com>
03:33 AM linuxcnc-build: build #3863 of 4016.deb-wheezy-i386 is complete: Failure [4failed shell_3] Build details are at http://buildbot.linuxcnc.org/buildbot/builders/4016.deb-wheezy-i386/builds/3863 blamelist: Chris Morley <chrisinnanaimo@hotmail.com>, Phillip Carter <phillcarter54@gmail.com>
03:41 AM linuxcnc-build: build #5294 of 4008.deb-precise-amd64 is complete: Failure [4failed shell_3] Build details are at http://buildbot.linuxcnc.org/buildbot/builders/4008.deb-precise-amd64/builds/5294 blamelist: Chris Morley <chrisinnanaimo@hotmail.com>, Phillip Carter <phillcarter54@gmail.com>
03:42 AM linuxcnc-build: build #5294 of 4007.deb-precise-i386 is complete: Failure [4failed shell_3] Build details are at http://buildbot.linuxcnc.org/buildbot/builders/4007.deb-precise-i386/builds/5294 blamelist: Chris Morley <chrisinnanaimo@hotmail.com>, Phillip Carter <phillcarter54@gmail.com>
03:47 AM linuxcnc-build: build #4123 of 4009.deb-precise-rtai-i386 is complete: Failure [4failed shell_3] Build details are at http://buildbot.linuxcnc.org/buildbot/builders/4009.deb-precise-rtai-i386/builds/4123 blamelist: Chris Morley <chrisinnanaimo@hotmail.com>, Phillip Carter <phillcarter54@gmail.com>
04:15 AM linuxcnc-build: build #3156 of 4015.deb-wheezy-rtpreempt-amd64 is complete: Failure [4failed shell_3] Build details are at http://buildbot.linuxcnc.org/buildbot/builders/4015.deb-wheezy-rtpreempt-amd64/builds/3156 blamelist: Chris Morley <chrisinnanaimo@hotmail.com>, Phillip Carter <phillcarter54@gmail.com>
04:18 AM linuxcnc-build: build #3125 of 4014.deb-wheezy-rtpreempt-i386 is complete: Failure [4failed shell_3] Build details are at http://buildbot.linuxcnc.org/buildbot/builders/4014.deb-wheezy-rtpreempt-i386/builds/3125 blamelist: Chris Morley <chrisinnanaimo@hotmail.com>, Phillip Carter <phillcarter54@gmail.com>
04:40 AM linuxcnc-build: build #1318 of 4030.deb-stretch-rtpreempt-i386 is complete: Failure [4failed shell_3] Build details are at http://buildbot.linuxcnc.org/buildbot/builders/4030.deb-stretch-rtpreempt-i386/builds/1318 blamelist: Chris Morley <chrisinnanaimo@hotmail.com>, Phillip Carter <phillcarter54@gmail.com>
04:40 AM linuxcnc-build: build #1319 of 4031.deb-stretch-rtpreempt-amd64 is complete: Failure [4failed shell_3] Build details are at http://buildbot.linuxcnc.org/buildbot/builders/4031.deb-stretch-rtpreempt-amd64/builds/1319 blamelist: Chris Morley <chrisinnanaimo@hotmail.com>, Phillip Carter <phillcarter54@gmail.com>
04:43 AM linuxcnc-build: build #2535 of 4021.deb-jessie-i386 is complete: Failure [4failed shell_3] Build details are at http://buildbot.linuxcnc.org/buildbot/builders/4021.deb-jessie-i386/builds/2535 blamelist: Chris Morley <chrisinnanaimo@hotmail.com>, Phillip Carter <phillcarter54@gmail.com>
04:44 AM linuxcnc-build: build #2424 of 4019.deb-jessie-rtpreempt-i386 is complete: Failure [4failed shell_3] Build details are at http://buildbot.linuxcnc.org/buildbot/builders/4019.deb-jessie-rtpreempt-i386/builds/2424 blamelist: Chris Morley <chrisinnanaimo@hotmail.com>, Phillip Carter <phillcarter54@gmail.com>
04:46 AM linuxcnc-build: build #3553 of 4018.deb-wheezy-rtai-i386 is complete: Failure [4failed shell_3] Build details are at http://buildbot.linuxcnc.org/buildbot/builders/4018.deb-wheezy-rtai-i386/builds/3553 blamelist: Chris Morley <chrisinnanaimo@hotmail.com>, Phillip Carter <phillcarter54@gmail.com>
04:47 AM linuxcnc-build: build #2532 of 4022.deb-jessie-amd64 is complete: Failure [4failed shell_3] Build details are at http://buildbot.linuxcnc.org/buildbot/builders/4022.deb-jessie-amd64/builds/2532 blamelist: Chris Morley <chrisinnanaimo@hotmail.com>, Phillip Carter <phillcarter54@gmail.com>
04:49 AM linuxcnc-build: build #85 of 4041.deb-buster-rtpreempt-amd64 is complete: Failure [4failed shell_3] Build details are at http://buildbot.linuxcnc.org/buildbot/builders/4041.deb-buster-rtpreempt-amd64/builds/85 blamelist: Chris Morley <chrisinnanaimo@hotmail.com>, Phillip Carter <phillcarter54@gmail.com>
04:51 AM linuxcnc-build: build #2422 of 4020.deb-jessie-rtpreempt-amd64 is complete: Failure [4failed shell_3] Build details are at http://buildbot.linuxcnc.org/buildbot/builders/4020.deb-jessie-rtpreempt-amd64/builds/2422 blamelist: Chris Morley <chrisinnanaimo@hotmail.com>, Phillip Carter <phillcarter54@gmail.com>
01:35 PM linuxcnc-build: build #4730 of 1400.rip-wheezy-i386 is complete: Failure [4failed compile runtests] Build details are at http://buildbot.linuxcnc.org/buildbot/builders/1400.rip-wheezy-i386/builds/4730 blamelist: Sebastian Kuzminsky <seb@highlab.com>
01:57 PM skunkworks: pcw_home: so - I have the spindle position which is 152 counts/rev. I have the spindle velocity from stmbl - Could I combine them get get a better 'postion'?
02:00 PM skunkworks: I guess I do have postion feedback too - I had re-used that pin for current from the stmbl
02:06 PM rene_dev_: There is a dedicated current pin, but low res
02:10 PM pcw_home: You have velocity from the encoder as well but it tends to be pretty lumpy with low res encoders due to quadrature errors
02:11 PM andypugh: I have found a good test code for showing issue #694
02:12 PM andypugh: I think it seems fairly serious. Basically the machine misses block or two after an M66 in single-step mode.
02:12 PM andypugh: https://github.com/LinuxCNC/linuxcnc/issues/694
02:32 PM linuxcnc-build: build #6590 of 0000.checkin is complete: Failure [4failed] Build details are at http://buildbot.linuxcnc.org/buildbot/builders/0000.checkin/builds/6590 blamelist: Sebastian Kuzminsky <seb@highlab.com>
04:42 PM -!- #linuxcnc-devel mode set to +v by ChanServ
04:43 PM seb_kuzminsky: linuxcnc-build: force build --branch=2.8 0000.checkin
04:44 PM linuxcnc-build: build #6591 forced
04:44 PM linuxcnc-build: I'll give a shout when the build finishes
04:56 PM andypugh: seb_kuzminsky: How’s your C++?
04:57 PM andypugh: I am trying to squash some compiler warnings with Buster, as gcc8 is more pedantic
04:57 PM andypugh: emc/task/taskclass.cc:271:18: warning: catching polymorphic type ‘struct boost::python::error_already_set’ by value [-Wcatch-value=]
04:58 PM andypugh: Seems to go away if you change catch( bp::error_already_set ) to catch( const bp::error_already_set& )
04:59 PM andypugh: Which I have done (in 18 places) and it compiles, and it looks like tests pass. But I am not sure how to be sure that it _works_
05:00 PM andypugh: I got that from the internet, but don’t fully understand it.
05:09 PM jepler: Sounds sensible to me, normally c++ exceptions should be caught by reference even if not polymorphic
05:13 PM andypugh: I have barely touched C++ so bits of the syntax just confuse my C-brain
05:15 PM andypugh: The other big cause of warnings seems to be caused by not doing anything with the return value of snprintf http://buildbot.linuxcnc.org/buildbot/builders/1640.rip-buster-rtpreempt-amd64/builds/193/steps/compile/logs/warnings%20%28195%29
05:27 PM andypugh: I suspect we can turn those off with a compiler flag
05:27 PM andypugh: Though whether we _should_…
05:32 PM cerna: Isn't it better for development to leave the warnings be than to magically "solve" them by turning them off?
05:36 PM andypugh: Well, yes. Though the only difference between the relatively clean builds on Wheezy etc and the mass of warnigns in Buster is that gcc has become more pedantic.
05:40 PM linuxcnc-build: Hey! build 0000.checkin #6591 is complete: Success [3build successful]
05:40 PM linuxcnc-build: Build details are at http://buildbot.linuxcnc.org/buildbot/builders/0000.checkin/builds/6591
05:41 PM rmu|w: andypugh: if you catch an exception that has virtual methods by value of type of base exception the derived exception will be "cut"
05:41 PM rmu|w: that can be very bad
05:42 PM andypugh: I don’t know enough to know if you are advising for or against the “fix”
05:42 PM rmu|w: (the members of the derived class are not copied)
05:42 PM cerna: But that is a good thing. And it doesn't really matter from the end-point point of view.. The warnings should be solved properly.
05:42 PM rmu|w: i'm advising for the fix
05:43 PM linuxcnc-build: build #0 of 4042.deb-buster-rtpreempt-rpi4 is complete: Failure [4failed shell_1] Build details are at http://buildbot.linuxcnc.org/buildbot/builders/4042.deb-buster-rtpreempt-rpi4/builds/0
05:43 PM linuxcnc-build: build #0 of 4040.deb-buster-rtpreempt-i386 is complete: Failure [4failed shell_1] Build details are at http://buildbot.linuxcnc.org/buildbot/builders/4040.deb-buster-rtpreempt-i386/builds/0
05:43 PM linuxcnc-build: build #87 of 4041.deb-buster-rtpreempt-amd64 is complete: Failure [4failed shell_1] Build details are at http://buildbot.linuxcnc.org/buildbot/builders/4041.deb-buster-rtpreempt-amd64/builds/87
05:43 PM rmu|w: https://stackoverflow.com/questions/2145147/why-catch-an-exception-as-reference-to-const
05:44 PM cerna: rmu|w: That is what jepler meant by "polymorphic", no?
05:44 PM rmu|w: "polymorphic" means "has virtual methods" in c++ and vice versa
05:44 PM rmu|w: yes
06:28 PM linuxcnc-build: build #1 of 4042.deb-buster-rtpreempt-rpi4 is complete: Failure [4failed shell_3] Build details are at http://buildbot.linuxcnc.org/buildbot/builders/4042.deb-buster-rtpreempt-rpi4/builds/1
07:48 PM seb_kuzminsky: ok, the buildbot is building buster debs for i386, amd64, and armhf (raspbian, for the pi4)
07:48 PM seb_kuzminsky: the debs install on the rpi4, but i haven't tried running them yet
07:49 PM seb_kuzminsky: the buster debs *dont* install on i386 or amd64
07:50 PM seb_kuzminsky: because they Depend on python-gtksourceview2, which is not available in Debian's Buster
07:50 PM seb_kuzminsky: (though it *is* available in Raspbian's Buster)
07:52 PM Tom_L: yeah i grabbed that from sid when i tried buster but that's not an option here i suppose
08:02 PM seb_kuzminsky: the pygtksourceview dsc from stretch builds and installs on buster
08:03 PM seb_kuzminsky: and with that, linuxcnc-uspace installs and axis runs
08:04 PM seb_kuzminsky: (this is on amd64)
08:04 PM Tom_L: i was able to get axis to run on buster but not the 2 graphical front ends
08:05 PM Tom_L: gmocappy and gscreen
08:07 PM Tom_L: on i386
08:07 PM cerna: I don't think you need python-gtksourceview2 for AXIS.
08:08 PM Tom_L: no
08:08 PM Tom_L: just gscreen and gmoccapy
08:09 PM Tom_L: don't know about Touchy
08:10 PM seb_kuzminsky: yeah gscreen doesn't run for me on buster either
08:14 PM jepler: hi seb_kuzminsky
08:15 PM seb_kuzminsky: hey jepler
08:15 PM seb_kuzminsky: how's isolation treating you?
08:16 PM jepler: it could be worse
08:16 PM jepler: you had questions about the pi image I made?
08:17 PM jepler: I saw you said you have the packages building now, that's exciting. thank you for your work getting it set up
08:17 PM seb_kuzminsky: day late & a dollar short but what can you do
08:18 PM seb_kuzminsky: oh yeah, i remember my question
08:18 PM seb_kuzminsky: where did the kernel come from? did you build it?
08:18 PM jepler: yes
08:18 PM seb_kuzminsky: there's no /boot/config-$(uname -r), so the buildbot scripts don't know if it's rt-preempt or vanilla
08:19 PM seb_kuzminsky: which is fine, but i just thought i'd mention it
08:19 PM jepler: interesting omission
08:20 PM jepler: hum I wonder where the packages went...
08:21 PM jepler: https://media.unpythonic.net/pi4-kernel-pkg/
08:21 PM jepler: it's built with the kernel's own debian-package-building target, so it's not quite a proper debian.org kernel package I guess
08:21 PM seb_kuzminsky: oh yeah
08:21 PM jepler: but no kernel on pi is, they're all abominations
08:22 PM jepler: or at any rate the rpi.org ones are
08:23 PM jepler: jepler@raspberrypi:~ $ dpkg-query -S config-4.19.71-rt24-v7l+
08:23 PM jepler: linux-image-4.19.71-rt24-v7l+: /boot/config-4.19.71-rt24-v7l+
08:23 PM jepler: is it that the uname-r doesn't match?
08:23 PM * jepler sent a long message: < https://matrix.org/_matrix/media/r0/download/matrix.org/TaSemotgqODajBCwamIEQeFK >
08:24 PM seb_kuzminsky: hm, i have 4.19.97-v7l+
08:24 PM seb_kuzminsky: maybe i have a differnt disk image in my pi than i do in my head?
08:25 PM jepler: hm
08:25 PM jepler: sorry about that "long message" thing, I love/hate using matrix instead of irssi for irc
08:25 PM seb_kuzminsky: how do you like matrix?
08:26 PM jepler: I mean, it's not great.
08:26 PM Tom_L: good for screenshots and the like
08:26 PM seb_kuzminsky: maybe i should dig up another micro SD card and do this all over with that image
08:27 PM jepler: in theory, matrix ticks the boxes of working across multiple devices and interacting with irc services. but, it doesn't work as slick as discord or slack, notifications are kinda not working, and for people actually using irc clients it's occasionally hostile
08:27 PM jepler: any idea what image you did use?
08:28 PM seb_kuzminsky: there's a linuxcnc user so i think it's your image, maybe an older one?
08:28 PM jepler: image_2020-01-11-linuxcnc-pi4-full.zip from https://zaphod.unpythonic.net/pi/
08:29 PM jepler: however all those images have 4.19.71-rt24-v7l+-3 as the debian version of the kernel package
08:30 PM seb_kuzminsky: heh, then i dont know where i got it
08:30 PM seb_kuzminsky: maybe the image that andy put on wlo a while back (since removed)?
08:30 PM jepler: at least one other person has made images
08:30 PM seb_kuzminsky: i'll switch to your image sometime soon
08:30 PM jepler: afaik mine's the only one with the kernel as a debian package and built by scripts so it's got that going for it
08:30 PM jepler: I hope the setup goes more smoothly the second time
08:31 PM seb_kuzminsky: yay that sounds so sane
08:31 PM jepler: https://github.com/jepler/pi-gen/
08:31 PM seb_kuzminsky: i'll check it out later, now it's time to go play board games with the wife & kids
08:31 PM jepler: sounds great
08:31 PM jepler: take care
08:31 PM seb_kuzminsky: trying to keep some semblance of sanity in all this madness
08:31 PM seb_kuzminsky: ttyl
08:36 PM jepler: the package at https://media.unpythonic.net/pi4-kernel-pkg/ should be dputtable whispers
09:45 PM linuxcnc-build: build #2 of 4040.deb-buster-rtpreempt-i386 is complete: Failure [4failed shell_3 shell_4] Build details are at http://buildbot.linuxcnc.org/buildbot/builders/4040.deb-buster-rtpreempt-i386/builds/2
09:45 PM linuxcnc-build: build #3 of 4040.deb-buster-rtpreempt-i386 is complete: Failure [4failed apt-get-update shell_1] Build details are at http://buildbot.linuxcnc.org/buildbot/builders/4040.deb-buster-rtpreempt-i386/builds/3 blamelist: andypugh <andy@bodgesoc.org>