Package Details: linuxcnc 2.9.3-3

Git Clone URL: https://aur.archlinux.org/linuxcnc.git (read-only, click to copy)
Package Base: linuxcnc
Description: Controls CNC machines. It can drive milling machines, lathes, 3d printers, laser cutters, plasma cutters, robot arms, hexapods, and more (formerly EMC2)
Upstream URL: https://linuxcnc.org/
Keywords: 3d cnc printing
Licenses: GPL2, custom: unredestributable
Submitter: GPereira
Maintainer: FabioLolix
Last Packager: FabioLolix
Votes: 9
Popularity: 0.001347
First Submitted: 2018-11-24 01:49 (UTC)
Last Updated: 2024-08-09 08:09 (UTC)

Dependencies (47)

Required by (1)

Sources (3)

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 8 9 Next › Last »

jkercher commented on 2024-01-09 15:36 (UTC) (edited on 2024-01-09 15:41 (UTC) by jkercher)

@FabioLolix

Done

E: Hey, while you are in there, I noticed --disable-gtk2 is now unrecognized by the configure script.

Tweety commented on 2024-01-08 19:41 (UTC)

Hi all,

thanks for the hint. using the old version solved the problem for me in the meantime.

Maybe putting 1.6.4 into the NoUpgrade list will help until a clean solution is available?

greez2all Tweety

FabioLolix commented on 2024-01-07 12:51 (UTC)

Yesterday a rebuild failed for me too

@jkercher would you like to report the issue upstream while I make a libgpiod-1.6.4 pkgbuild?

jkercher commented on 2024-01-07 12:37 (UTC)

The struct gpiod_line_bulk error is because of libgpiod being updated. If I'm reading the source correctly, the latest version linuxcnc would be compatible with is v1.6.4. Looks like we need to do that manually for now until linuxcnc is fixed upstream.

For a lazy work around, I just grabbed the libgpiod-git (aur) PKGCONFIG and did one of these guys:

@@ -21,6 +21,7 @@ pkgver() {

 build() {
   cd "${pkgname%-git}"
+  git checkout v1.6.4
   ./autogen.sh \
     --enable-tools=yes \
     --enable-bindings-cxx \

We can add a check for this. Something like this can tell if you have the correct version:

if ! objdump -T /usr/lib/libgpiod.so | grep -qs gpiod_chip_find_line; then
        echo 'found libgpiod v2.  Need v1'
        exit 2
fi

petronny commented on 2024-01-06 02:52 (UTC)

I also get this error in a clean chroot:

In file included from hal/drivers/hal_gpio.c:39:
hal/drivers/hal_gpio.c:188:50: error: invalid application of ‘sizeof’ to incomplete type ‘struct gpiod_line_bulk’
  188 |             (*ptr)[c].bulk = rtapi_kmalloc(sizeof(*(*ptr)[c].bulk), RTAPI_GFP_KERNEL);

https://github.com/arch4edu/cactus/actions/runs/7422047629/job/20196592013

FabioLolix commented on 2024-01-05 20:42 (UTC)

Builded fine for me

Tweety commented on 2024-01-01 17:32 (UTC) (edited on 2024-01-01 17:35 (UTC) by Tweety)

Hi all,

Happy new year to everyone :) thanks for the new years build. I did a system-update and linuxcnc failed. Somewhere in between I found an error:

In Datei, eingebunden von hal/drivers/hal_gpio.c:39:
hal/drivers/hal_gpio.c:188:50: Fehler: Ungültige Anwendung von »sizeof« auf unvollständigen Typen »struct gpiod_line_bulk«
  188 |             (*ptr)[c].bulk = rtapi_kmalloc(sizeof(*(*ptr)[c].bulk), RTAPI_GFP_KERNEL);
      |                                                  ^

Anyone else with problems? greez 2 all and have a good start into 2024! Tweety

jkercher commented on 2023-09-21 23:01 (UTC)

Apologies, it's looks like I forgot to push the python pillow change. Not sure what you are on about @marsseed. All yours.

chetanpm commented on 2023-08-27 13:00 (UTC)

@jkercher Thanks. Now there is another error regarding missing rtapi: I get missing rtapi.conf error after choosing any sample configuration from linuxcnc configuragtion selector:

compose-mill% linuxcnc LINUXCNC - 2.10.0~pre0 Machine configuration directory is '/home/chetanpm/linuxcnc/configs/sim.axis' Machine configuration file is 'axis.ini' Starting LinuxCNC... Missing rtapi.conf. Check your installation. Realtime system did not load Shutting down and cleaning up LinuxCNC... Missing rtapi.conf. Check your installation. LinuxCNC terminated with an error. You can find more information in the log: /home/chetanpm/linuxcnc_debug.txt and /home/chetanpm/linuxcnc_print.txt as well as in the output of the shell command 'dmesg' and in the terminal

Any idea how to deal with it?

MarsSeed commented on 2023-08-26 16:45 (UTC)

Meanwhile there are 76 backported fix commits after the v2.8.4 release, on the '2.8' branch.

Might be worth using that latest 2.8 branch code here:

linuxcnc-2.8.4+r76.g6082f1d.tar.gz