current master (2.9) building debs error?

More
15 Apr 2022 20:22 #240338 by robertspark
all was working, now flinging an error:
rob@RobsCNC:~/linuxcnc-dev/debian$ ./configure no-docs uspace
uspace is accepted for compatibility, but ignored successfully configured for 'uspace-Debian-11'..
rob@RobsCNC:~/linuxcnc-dev/debian$ cd ..
rob@RobsCNC:~/linuxcnc-dev$ dpkg-buildpackage -j4 -b -uc
dpkg-buildpackage: error: syntax error in debian/control at line 44: block lacks the 'Package' field

any ideas what i should be doing different?



thanks
 

Please Log in or Create an account to join the conversation.

More
15 Apr 2022 21:49 #240349 by rodw
try dpkg-buildpackage -B

There were some changes required for Debian Packaging.
I remember having similar issues but got past it
I may have dropped the no-docs
The following user(s) said Thank You: robertspark

Please Log in or Create an account to join the conversation.

More
16 Apr 2022 06:39 #240374 by robertspark
tham rod, I'll give it a shot.

I did check the Dev docs and there wasn't anything different

so that may need changing
linuxcnc.org/docs/devel/html/code/buildi...ding_debian_packages

I'll give it a try later thanks again

Please Log in or Create an account to join the conversation.

More
16 Apr 2022 09:26 #240383 by rodw
Rob, this was the issue
github.com/LinuxCNC/linuxcnc/pull/1700

It followed on from a issue I logged because linuxcnc-uspace package in Debian unstable was uninstallable because of an change in python versions.

Please Log in or Create an account to join the conversation.

More
24 May 2022 21:53 #243723 by tripwire
I'm getting the same error message even when running dpkg-buildpackage -B

Did it work for you @robertspark? If not, what was your solution?

Please Log in or Create an account to join the conversation.

More
24 May 2022 22:16 #243726 by robertspark
Yes, I've had it working.

basically it was my no-docs that was wrong {that seems to have been removed}

linuxcnc.org/docs/devel/html/code/buildi...ding_debian_packages

./configure uspace
then
cd ..
dpkg-buildpackage -j4 -b -uc

if you have a 4 core processor then add j4.... it will speed up the build.... just add the right number to match your cores (2,4,16, 32).
The following user(s) said Thank You: tripwire

Please Log in or Create an account to join the conversation.

More
25 May 2022 16:34 #243815 by tripwire
I believe I got through the installation. I had to cobble together a bunch of missing dependencies but got all the commands from rodw's recipe to run.

I can launch linuxcnc but when I try to open, say axis, I get the following:
dave@debianDave:~$ linuxcnc
LINUXCNC - 2.9.0~pre0
Machine configuration directory is '/home/dave/linuxcnc/configs/sim.axis-2'
Machine configuration file is 'axis.ini'
Starting LinuxCNC...
linuxcnc TPMOD=tpmod HOMEMOD=homemod EMCMOT=motmod
Note: Using POSIX realtime
Found file(lib): /usr/share/linuxcnc/hallib/core_sim.hal
Found file(lib): /usr/share/linuxcnc/hallib/sim_spindle_encoder.hal
Found file(lib): /usr/share/linuxcnc/hallib/axis_manualtoolchange.hal
Found file(lib): /usr/share/linuxcnc/hallib/simulated_home.hal
Found file(lib): /usr/share/linuxcnc/hallib/check_xyz_constraints.hal
link (updating variable file): No such file or directory
Traceback (most recent call last):
  File "/usr/bin/hal_manualtoolchange", line 69, in <module>
    nf.start(app); nf.makecommand(app, "_", _)
  File "/usr/lib/python3/dist-packages/nf.py", line 120, in start
    source_lib_tcl(r, "support.tcl")
  File "/usr/lib/python3/dist-packages/nf.py", line 112, in source_lib_tcl
    r.tk.call("source", os.path.join(tcl_libdir, f))
_tkinter.TclError: couldn't load file "/usr/lib/tcltk/x86_64-linux-gnu/Img1.4.13/libtifftcl4.1.0.so": /usr/lib/tcltk/x86_64-linux-gnu/Img1.4.13/libtifftcl4.1.0.so: undefined symbol: _TIFFsetString, version LIBTIFF_4.0
Traceback (most recent call last):
  File "/usr/bin/axis", line 128, in <module>
    nf.start(root_window)
  File "/usr/lib/python3/dist-packages/nf.py", line 120, in start
    source_lib_tcl(r, "support.tcl")
  File "/usr/lib/python3/dist-packages/nf.py", line 112, in source_lib_tcl
    r.tk.call("source", os.path.join(tcl_libdir, f))
_tkinter.TclError: couldn't load file "/usr/lib/tcltk/x86_64-linux-gnu/Img1.4.13/libtifftcl4.1.0.so": /usr/lib/tcltk/x86_64-linux-gnu/Img1.4.13/libtifftcl4.1.0.so: undefined symbol: _TIFFsetString, version LIBTIFF_4.0
Shutting down and cleaning up LinuxCNC...
task: 1192 cycles, min=0.000010, max=0.001213, avg=0.001053, 0 latency excursions (> 10x expected cycle time of 0.001000s)
Note: Using POSIX realtime
LinuxCNC terminated with an error.  You can find more information in the log:
    /home/dave/linuxcnc_debug.txt
and
    /home/dave/linuxcnc_print.txt
as well as in the output of the shell command 'dmesg' and in the terminal
dave@debianDave:~$

Any ideas?
Thanks.
 

Please Log in or Create an account to join the conversation.

More
25 May 2022 17:43 #243824 by robertspark
have you installed all the dependencies as part of the build?

did the build go well?

how did you install linuxcnc debs?
sudo dpkg -i package_file.deb

did you install all of the debs?

it looks like it is missing part of the files.... those are compiled files....

_tkinter.TclError: couldn't load file "/usr/lib/tcltk/x86_64-linux-gnu/Img1.4.13/libtifftcl4.1.0.so": /usr/lib/tcltk/x86_64-linux-gnu/Img1.4.13/libtifftcl4.1.0.so: undefined symbol: _TIFFsetString, version LIBTIFF_4.0



what are you installing it on? (Debian / Ubuntu / MX / Mint???)
what hardware (PC I presume x86?)

Please Log in or Create an account to join the conversation.

More
25 May 2022 17:48 #243825 by robertspark
I'd suggest just checking you have all of the dependencies installed.....

linuxcnc.org/docs/devel/html/code/buildi...g-Build-Dependencies
sudo apt-get install dpkg-dev
cd linuxcnc-dev/debian
./configure uspace
cd ..
dpkg-checkbuilddeps

.... if not, install the missing ones and rebuild + reinstall the debs...

Please Log in or Create an account to join the conversation.

More
25 May 2022 19:47 #243832 by tripwire
Thanks for the suggestions! Here are the results:
dave@debianDave:~$ sudo apt-get install dpkg-dev
[sudo] password for dave:
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
dpkg-dev is already the newest version (1.21.7).
dpkg-dev set to manually installed.
The following packages were automatically installed and are no longer required:
  bc cups cups-browsed cups-client cups-core-drivers cups-daemon cups-filters
  cups-filters-core-drivers cups-ipp-utils cups-ppdc cups-server-common
  fcitx-bin fcitx-frontend-all fcitx-frontend-qt6 fcitx-ui-classic
  fcitx5-config-qt fcitx5-frontend-gtk3 fcitx5-frontend-qt5 fonts-symbola
  g++-10 gir1.2-champlain-0.12 gir1.2-dazzle-1.0 gir1.2-evince-3.0
  gir1.2-gdata-0.0 gir1.2-geocodeglib-1.0 gir1.2-gfbgraph-0.2
  gir1.2-gnomebluetooth-1.0 gir1.2-gtkchamplain-0.12 gir1.2-gtkclutter-1.0
  gir1.2-gweather-3.0 gir1.2-handy-0.0 gir1.2-rb-3.0 gir1.2-rest-0.7
  gir1.2-tracker-2.0 gir1.2-zpj-0.0 hyphen-en-us libabsl20200923 libamtk-5-0
  libamtk-5-common libaom0 libb2-1 libbotan-2-17 libcamel-1.2-62 libcbor0
  libcmis-0.5-5v5 libcodec2-0.9 libcolord-gtk1 libcupsfilters1 libdav1d4
  libdazzle-1.0-0 libdazzle-common libedataserver-1.2-25
  libedataserverui-1.2-2 libextutils-pkgconfig-perl libfcitx5gclient1
  libfcitx5gclient2 libfluidsynth2 libfontembed1 libfwupdplugin1
  libgdk-pixbuf-xlib-2.0-0 libgdk-pixbuf2.0-0 libgettextpo0 libgit2-1.1
  libglew2.1 libgpod-common libgpod4 libgupnp-1.2-0 libgweather-3-16
  libgweather-common libhandy-0.0-0 libicu67 libidn11 libigdgmm11 libime-bin
  libkf5itemviews-data libkf5itemviews5 libkf5widgetsaddons-data
  libkf5widgetsaddons5 libldap-2.4-2 liblibreoffice-java liblirc-client0
  libllvm11 liblouisutdml-bin liblouisutdml-data liblouisutdml9 libmailutils7
  libmbedcrypto3 libmbedtls12 libmbedx509-0 libmms0 libmozjs-78-0
  libmusicbrainz5-2 libmusicbrainz5cc2v5 libneon27-gnutls libntfs-3g883
  libofa0 liborcus-0.16-0 liborcus-parser-0.16-0 libotf0 libperl5.32
  libpoppler-cpp0v5 libpoppler102 libpth20 libpython3.9 libqpdf28
  libqrcodegencpp1 libqt6core6 libqt6dbus6 libqt6gui6 libquvi-0.9-0.9.3
  libquvi-scripts-0.9 libreoffice-help-en-us libsgutils2-2 libstdc++-10-dev
  libtepl-5-0 libtracker-control-2.0-0 libtracker-miner-2.0-0
  libtracker-sparql-2.0-0 libunoloader-java liburing1 libvpx6 libwebp6
  libx264-160 libx265-192 libxcb-damage0 libxencall1 libxendevicemodel1
  libxenevtchn1 libxenforeignmemory1 libxengnttab1 libxenhypfs1 libxenmisc4.14
  libxenstore3.0 libxentoolcore1 libxentoollog1 libxmlb1 lua-bitop lua-expat
  lua-json lua-lpeg lua-socket mythes-en-us perl-modules-5.32 python3-ldb
  python3-mako python3-markupsafe python3-serial python3-talloc
  qt6-gtk-platformtheme ruby2.7 task-desktop tegaki-zinnia-japanese
  unicon-imc2 unoconv ure-java x11-apps x11-session-utils xinit xorg
Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
dave@debianDave:~$

And
dave@debianDave:~$ cd dev/linuxcnc/debian
dave@debianDave:~/dev/linuxcnc/debian$ ./configure uspace
uspace is accepted for compatibility, but ignored
successfully configured for 'uspace-Debian-unstable'..
dave@debianDave:~/dev/linuxcnc/debian$
and
dave@debianDave:~/dev/linuxcnc$ dpkg-checkbuilddeps
dave@debianDave:~/dev/linuxcnc$

And...I'm getting the same error message when I try to open axis...

I'm installing LINUXCNC - 2.9.0~pre0 on Debian 11 on a x86 machine. I was following rodw's instructions in one of his posts (I can't even find it now.) I had all this working before but ran into a snag with qtpyvcp and ended up reinstalling Debian 11.

Is there a definitive recipe for installing linuxcnc 9 on Debian 11?
Thanks.

 

Please Log in or Create an account to join the conversation.

Time to create page: 0.086 seconds
Powered by Kunena Forum