Package Details: linuxcnc 2.9.2-2

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.126201
First Submitted: 2018-11-24 01:49 (UTC)
Last Updated: 2024-03-04 22:44 (UTC)

Latest Comments

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

s218 commented on 2024-02-24 19:31 (UTC)

  |             gpiod_line_request_set_value

hal/drivers/hal_gpio.c:271:23: предупреждение: assignment to «const char *» from «int» makes pointer from integer without a cast [-Wint-conversion] 271 | line_name = gpiod_line_name(gpiod_line_bulk_get_line(gpio->out_chips[c].bulk, i)); | ^ hal/drivers/hal_gpio.c: В функции «hal_gpio_read»: hal/drivers/hal_gpio.c:322:9: предупреждение: неявная декларация функции «gpiod_line_get_value_bulk» [-Wimplicit-function-declaration] 322 | gpiod_line_get_value_bulk(gpio->in_chips[c].bulk, gpio->in_chips[c].vals); | ^ hal/drivers/hal_gpio.c: В функции «hal_gpio_write»: hal/drivers/hal_gpio.c:342:9: предупреждение: неявная декларация функции «gpiod_line_set_value_bulk» [-Wimplicit-function-declaration] 342 | gpiod_line_set_value_bulk(gpio->out_chips[c].bulk, gpio->out_chips[c].vals); | ^ make: *** [Makefile:1253: objects/rthal/drivers/hal_gpio.o] Ошибка 1 ==> ОШИБКА: Произошел сбой в build(). Прерывание...

ivanovp commented on 2024-02-17 18:32 (UTC)

I tried to compile it, I got an error: https://pastebin.com/J9acSDzq

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);

Tweety commented on 2024-01-13 10:02 (UTC)

Hi jkercher,

just after reinstalling I ran into a dependency problem at linuxcnc startup regarding OpenGL.

Installing python-openglpackage solved it for me. Should that be in the dependency check too?

greez2all Tweety

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