Package Details: camotics-git r1012.8a867d3-1

Git Clone URL: https://aur.archlinux.org/camotics-git.git (read-only, click to copy)
Package Base: camotics-git
Description: 3-axis NC machining simulation software
Upstream URL: http://camotics.org/
Keywords: CAM simulation
Licenses: GPL2
Conflicts: camotics
Provides: camotics
Submitter: hpmachining
Maintainer: hpmachining
Last Packager: hpmachining
Votes: 3
Popularity: 0.001696
First Submitted: 2019-04-20 17:36 (UTC)
Last Updated: 2023-04-10 21:26 (UTC)

Required by (0)

Sources (1)

Latest Comments

« First ‹ Previous 1 2 3 Next › Last »

hpmachining commented on 2023-05-09 15:45 (UTC) (edited on 2023-05-09 15:49 (UTC) by hpmachining)

@s218, I would like to help, but I can't duplicate your issue. I rebuilt cbang-git with mariadb-libs(mysql) added to the dependencies and then camotics-git with mariadb added to the dependencies to see if that was causing an issue, but it still built without error for me, so that's not what is causing the build to fail.

Here is how I recommend to proceed.

1) Make sure arch is up to date (pacman -Syu)
2) Pull and build the latest v8-r and install.
3) Pull and build the latest cbang-git and install.
4) Pull and build the latest camotics-git.

Use LC_ALL=C makepkg to get the build log in english and post entire build log to a pastebin service if the build fails and we can go from there.

s218 commented on 2023-05-09 14:00 (UTC) (edited on 2023-05-09 14:05 (UTC) by s218)

To my shame I must admit that I am not strong enough to so easily, on the fly, to take and run a chroot and run the assembly in it (poke your nose in the instructions - I would be grateful). But to pass the issuance - please, -

========== /bin/sh: line 1: pkg-config: command not found OSError: 'pkg-config Qt5Core Qt5Gui Qt5OpenGL Qt5Network Qt5Widgets Qt5WebSockets --libs --cflags' exited 127: File "/home/memfis/.cache/pikaur/build/camotics-git/src/camotics/SConstruct", line 94: env.EnableQtModules(qtmods.split()) File "/usr/lib/python3.11/site-packages/SCons/Util.py", line 737: return self.method(nargs, *kwargs) File "/home/memfis/.cache/pikaur/build/camotics-git/src/camotics/config/qt5/init.py", line 977: self.ParseConfig('pkg-config %s --libs --cflags' % ' '.join(pcmodules)) File "/usr/lib/python3.11/site-packages/SCons/Environment.py", line 1674: return function(self, self.backtick(command), unique) File "/usr/lib/python3.11/site-packages/SCons/Environment.py", line 597: raise OSError("'%s' exited %d" % (command, status)) ==> ERROR: A failure occurred in build(). Aborting...

Command 'makepkg --force' failed to execute. :: Try recovering?

hpmachining commented on 2023-05-08 20:59 (UTC)

@s218, try building in a clean chroot. Camotics does not need mysql, but something in the upstream code may be detecting that it is installed and trying to do something with it. I inquired about Camotics using mysql upstream here.

I did encounter an issue building cbang-git, which should always be rebuilt when building the latest camotics-git. I pushed a patch to fix that issue. If you are still having issues after rebuilding cbang-git and camotics-git, both in a clean chroot, post the build log in English and I will try to help you. It builds properly on my end.

s218 commented on 2023-05-08 19:48 (UTC)

should probably specify the dependencies more fully. For example there is this word - mysql/mysqld_error.h

hpmachining commented on 2023-05-08 15:04 (UTC) (edited on 2023-05-08 20:13 (UTC) by hpmachining)

@s218, I can't read your error messages. I think prepending LC_ALL=C to the command line you use to build should output them in English.

s218 commented on 2023-05-07 19:24 (UTC)

аналогично, It must be Python 11's fault? compile error -

g++ -o tplang -Wl,--as-needed -Wl,-s -Wl,-x -Wl,--gc-sections -no-pie -pthread -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -Wl,--wrap=log -Wl,--wrap=logf -Wl,--wrap=exp -Wl,--wrap=expf -Wl,--wrap=pow -Wl,--wrap=powf -Wl,--wrap=memcpy -Wl,-rpath=/usr/lib build/tplang.o -L/opt/cbang/lib -L. -Wl,--start-group build/libCAMoticsPy.a build/libCAMotics.a build/libCAMoticsGUI.a build/libclipper.a build/libDXF.a build/libSTL.a build/libGCode.a -lstdc++ -lutil -lcbang -lcbang-boost -lv8_libplatform -lv8 -lssl -lcrypto -llz4 -lmysqlclient -lexpat -lbz2 -lz -lpthread -ldl -lm -lpython3.11 build/dxflib/libdxflib.a -Wl,--end-group g++ -o build/camotics.so -Wl,--as-needed -Wl,-s -Wl,-x -Wl,--gc-sections -no-pie -pthread -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -Wl,--wrap=log -Wl,--wrap=logf -Wl,--wrap=exp -Wl,--wrap=expf -Wl,--wrap=pow -Wl,--wrap=powf -Wl,--wrap=memcpy -shared -Wl,-rpath=/usr/lib build/python.os -L/opt/cbang/lib -L. -Wl,--start-group build/libCAMoticsPy.a build/libCAMotics.a build/libCAMoticsGUI.a build/libclipper.a build/libDXF.a build/libSTL.a build/libGCode.a -lstdc++ -lutil -lcbang -lcbang-boost -lv8_libplatform -lv8 -lssl -lcrypto -llz4 -lmysqlclient -lexpat -lbz2 -lz -lpthread -ldl -lm -lpython3.11 build/dxflib/libdxflib.a -Wl,--end-group g++ -o planner -Wl,--as-needed -Wl,-s -Wl,-x -Wl,--gc-sections -no-pie -pthread -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -Wl,--wrap=log -Wl,--wrap=logf -Wl,--wrap=exp -Wl,--wrap=expf -Wl,--wrap=pow -Wl,--wrap=powf -Wl,--wrap=memcpy -Wl,-rpath=/usr/lib build/planner.o -L/opt/cbang/lib -L. -Wl,--start-group build/libCAMoticsPy.a build/libCAMotics.a build/libCAMoticsGUI.a build/libclipper.a build/libDXF.a build/libSTL.a build/libGCode.a -lstdc++ -lutil -lcbang -lcbang-boost -lv8_libplatform -lv8 -lssl -lcrypto -llz4 -lmysqlclient -lexpat -lbz2 -lz -lpthread -ldl -lm -lpython3.11 build/dxflib/libdxflib.a -Wl,--end-group /usr/bin/ld: /opt/cbang/lib/libcbang.a(Value.o): в функции «cb::gv8::Value::makePersistent() const»: (.text._ZNK2cb3gv85Value14makePersistentEv+0x6a): неопределённая ссылка на «v8::api_internal::GlobalizeReference(v8::internal::Isolate, unsigned long)» collect2: ошибка: выполнение ld завершилось с кодом возврата 1 scons: *** [camsim] Error 1 /usr/bin/ld: /opt/cbang/lib/libcbang.a(Value.o): в функции «cb::gv8::Value::makePersistent() const»: (.text._ZNK2cb3gv85Value14makePersistentEv+0x6a): неопределённая ссылка на «v8::api_internal::GlobalizeReference(v8::internal::Isolate, unsigned long)» collect2: ошибка: выполнение ld завершилось с кодом возврата 1 scons: *** [tplang] Error 1 /usr/bin/ld: /opt/cbang/lib/libcbang.a(Value.o): в функции «cb::gv8::Value::makePersistent() const»: (.text._ZNK2cb3gv85Value14makePersistentEv+0x6a): неопределённая ссылка на «v8::api_internal::GlobalizeReference(v8::internal::Isolate, unsigned long)» collect2: ошибка: выполнение ld завершилось с кодом возврата 1 scons: *** [camotics] Error 1 /usr/bin/ld: /opt/cbang/lib/libcbang.a(Value.o): в функции «cb::gv8::Value::makePersistent() const»: (.text._ZNK2cb3gv85Value14makePersistentEv+0x6a): неопределённая ссылка на «v8::api_internal::GlobalizeReference(v8::internal::Isolate, unsigned long)» collect2: ошибка: выполнение ld завершилось с кодом возврата 1 scons: *** [planner] Error 1 scons: building terminated because of errors.

hpmachining commented on 2022-07-03 21:22 (UTC)

Package has been updated to install camotics.so.

hpmachining commented on 2022-07-02 18:46 (UTC)

It doesn't look like camotics.so is needed for standalone installation. It is not installed by default by scons. I'll look into what it is used for and how to properly install it, and update when I figure it out.

s218 commented on 2022-07-02 12:36 (UTC)

Thank you for your work. However, they forgot to put camotics.so in the right place https://forum.freecadweb.org/viewtopic.php?f=15&t=69928&p=606673#p606673

hpmachining commented on 2022-06-29 15:26 (UTC)

It should build properly now. I also pushed changes to cbang-git, which will have to be rebuilt before building camotics-git. This works with v8-r version 10.5.84-1.