Re: [Emc-developers] Bug#1012789: linuxcnc-uspace: Linux CNC will not start
The problem was also reported on https://forum.linuxcnc.org/9-installing-linuxcnc/45634-current-master-2-9-building-debs-error and I can confirm this locally. Above URL points to my changes to debian/rules in https://github.com/LinuxCNC/linuxcnc/pull/1700 that have not yet been merged with master. I need to investigate. Help would be appreciated. On 15.06.22 00:13, Vector Hasting wrote: Thank you for looking at this! (My purpose reporting here is the understanding that we're trying to debug to get sid into stable Bookworm with LinuxCNC, and I also want LinuxCNC working on my little SBC.) This is potentially helpful, but doesn't immediately clear things up for me... Here's what I did after getting this email: I found the following libtiff packages on my SBC: libtiff-dev 4.4.0-2 libtiff5 4.4.0-2 libtiffxx5 4.4.0-2 When I search the debian repository, it lists these as unstable (I presume because we're on sid). But it also lists them as the most recent releases, not the releases from Buster (4.2.0-1). Trying to follow the threads further, I went after the error message you pointed out and saw it's trying to get: libtifftcl4.1.0.so I searched the debian repository and nothing by the name of libtiffcl4 exists: "You have searched for packages that names contain libtifftcl in all suites, all sections, and all architectures. Sorry, your search gave no results" Interestingly, the Sourceforge branches for tkImg does not have a *branch* for 1.4 (which appears to be what the line above is looking for) https://sourceforge.net/p/tkimg/code/HEAD/tree/branches/ But there *is* a version 1.4.13 under tags: https://sourceforge.net/p/tkimg/code/HEAD/tree/tags/1.4.13/ I downloaded that 1.4.13 source and used MS Code to search the downloaded source and found a piece of code compat/libtiff/libtiff/libtiff.map that has the string " LIBTIFF_4.0" in it. I found 8 files that have _TIFFsetString in it. But I don't understand the compiling setup well enough to see how those files get compiled to create an object named libtifftcl4.1.0.so (??) (there is no string in the source for libtifftcl4) I'm happy to try and dig further, but I'm also at a stop point. Vector Hasting On Tue, 14 Jun 2022 at 07:31, andy pugh wrote: On Tue, 14 Jun 2022 at 14:49, Vector Hasting wrote: _tkinter.TclError: couldn't load file "/usr/lib/tcltk/aarch64-linux-gnu/Img1.4.13/libtifftcl4.1.0.so": /usr/lib/tcltk/aarch64-linux-gnu/Img1.4.13/libtifftcl4.1.0.so: undefined symbol: _TIFFsetString, version LIBTIFF_4.0 This looks to be a dependency (hard coded?) on the version of libtiff that shipped with Buster (4.1). But it also seems to be in a package that LinuxCNC depends on, but doesn't control? https://sourceforge.net/projects/tkimg/files/tkimg/1.4/tkimg%201.4.13/ (From the file path being searched) For me, the trail dries up there. I guess this is due to a Tcl/Tk dependency? -- atp "A motorcycle is a bicycle with a pandemonium attachment and is designed for the especial use of mechanical geniuses, daredevils and lunatics." — George Fitch, Atlanta Constitution Newspaper, 1912 ___ Emc-developers mailing list Emc-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-developers ___ Emc-developers mailing list Emc-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-developers
Re: [Emc-developers] Bug#1012789: linuxcnc-uspace: Linux CNC will not start
Thanks again, Andy! On the debian error board, https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1012789 Jeff Epler responded that this may be an OpenGL issue. Indeed, I went looking and I cannot run glxgears on my system, so I think it would be fair to say that OpenGL is a dependency beyond the 'package dependencies,' and that without it I can't run the plain vanilla, prettier interface of LinuxCNC. Jeff was awesome in also pointing out that there's an alternative interface based on Tcl . One has to take an ini file (as of this writing, located at ~/linuxcnc/configs/sim.axis ) and modify it for DISAPLY = tklinuxcnc see http://linuxcnc.org/docs/2.7/html/gui/tklinuxcnc.html for instructions. It be very indeed olde fashioned like, but rears its head from the swamp to mine eyes like a fine strapping beasty. Which is to say that on these SBC based computers, with nary a graphics card, just a wee Mali Arm based chip answering to another Arm based cpu, on preempt-rt kernel, seeing even this beasty looks very welcome to me. There are other threads regarding getting OpenGL *ES* working on the mali chip (it should support it) but so far I haven't been able to activate that enough to enable glxgears, which means LinuxCNC would be "right-out." Might I humbly recommend someone in authority consider adding a more fulsome error message somewhere so that when LinuxCNC becomes available in Debian Bookworm, those with SBCs (because there will be more of us trying this then) will see more quickly that it's our teeny graphics chip which are the issue, and that we have workaround to have an atari-nintendo-blue-screen-of-our-dreams for getting LinuxCNC up and running? Thanks again to everyone helping here. I'm going to copy part of this to the debian error board. Vector Hasting On Tue, 14 Jun 2022 at 15:52, andy pugh wrote: > On Tue, 14 Jun 2022 at 23:14, Vector Hasting > wrote: > > > I searched the debian repository and nothing by the name of libtiffcl4 > exists: > > I assume that it is a part of something else. > > I do have something close on my Buster installation: > > andypugh@buster:~/linuxcnc-dev/src$ sudo find / -name libtifftcl* > /usr/lib/tcltk/x86_64-linux-gnu/Img1.4.8/libtifftcl3.9.7.so > > andypugh@buster:~/linuxcnc-dev/src$ uname -a > Linux buster 4.19.195-rtai-amd64 #5 SMP PREEMPT Sun Jul 11 19:13:27 > BST 2021 x86_64 GNU/Linux > > And it seems to be part of libtk-img > > andypugh@buster:~/linuxcnc-dev/src$ sudo apt-file list libtk-img > ... > libtk-img: /usr/lib/tcltk/x86_64-linux-gnu/Img1.4.8/libtifftcl3.9.7.so > > I seem to have version 1.4.8 > > andypugh@buster:~/linuxcnc-dev/src$ apt list libtk-img > Listing... Done > libtk-img/oldstable,now 1:1.4.8+dfsg-1+deb10u1 amd64 [installed] > > libtk-img is shown as a LinuxCNC dependency, but it might well be that > the minimum version stated for Buster is too old (or new) > > > https://github.com/LinuxCNC/linuxcnc/blob/master/debian/control.main-pkg.in#L23 > > > -- > atp > "A motorcycle is a bicycle with a pandemonium attachment and is > designed for the especial use of mechanical geniuses, daredevils and > lunatics." > — George Fitch, Atlanta Constitution Newspaper, 1912 > ___ Emc-developers mailing list Emc-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-developers
Re: [Emc-developers] Bug#1012789: linuxcnc-uspace: Linux CNC will not start
On Tue, 14 Jun 2022 at 23:14, Vector Hasting wrote: > I searched the debian repository and nothing by the name of libtiffcl4 exists: I assume that it is a part of something else. I do have something close on my Buster installation: andypugh@buster:~/linuxcnc-dev/src$ sudo find / -name libtifftcl* /usr/lib/tcltk/x86_64-linux-gnu/Img1.4.8/libtifftcl3.9.7.so andypugh@buster:~/linuxcnc-dev/src$ uname -a Linux buster 4.19.195-rtai-amd64 #5 SMP PREEMPT Sun Jul 11 19:13:27 BST 2021 x86_64 GNU/Linux And it seems to be part of libtk-img andypugh@buster:~/linuxcnc-dev/src$ sudo apt-file list libtk-img ... libtk-img: /usr/lib/tcltk/x86_64-linux-gnu/Img1.4.8/libtifftcl3.9.7.so I seem to have version 1.4.8 andypugh@buster:~/linuxcnc-dev/src$ apt list libtk-img Listing... Done libtk-img/oldstable,now 1:1.4.8+dfsg-1+deb10u1 amd64 [installed] libtk-img is shown as a LinuxCNC dependency, but it might well be that the minimum version stated for Buster is too old (or new) https://github.com/LinuxCNC/linuxcnc/blob/master/debian/control.main-pkg.in#L23 -- atp "A motorcycle is a bicycle with a pandemonium attachment and is designed for the especial use of mechanical geniuses, daredevils and lunatics." — George Fitch, Atlanta Constitution Newspaper, 1912 ___ Emc-developers mailing list Emc-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-developers
Re: [Emc-developers] Bug#1012789: linuxcnc-uspace: Linux CNC will not start
libtiff5 seems to be missing in list of installed packages Ref: $ lsb_release -dr Description: Debian GNU/Linux bookworm/sid Release: 11.3 $ dpkg -l linuxcnc-uspace|grep ii ii linuxcnc-uspace 2.9.0~pre0+git20220402.2500863908-4 amd64 motion controller for CNC machines and robots $ apt-cache depends linuxcnc-uspace|grep img Depends: libtk-img $ apt-cache depends libtk-img libtk-img Depends: libtk8.6 Depends: libc6 Depends: libjpeg62-turbo Depends: libpng16-16 Depends: libtiff5 Depends: libx11-6 Depends: zlib1g Suggests: libtk-img-doc -- Dewey Garrett ___ Emc-developers mailing list Emc-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-developers
Re: [Emc-developers] Bug#1012789: linuxcnc-uspace: Linux CNC will not start
On Tue, 14 Jun 2022 at 14:49, Vector Hasting wrote: > _tkinter.TclError: couldn't load file > "/usr/lib/tcltk/aarch64-linux-gnu/Img1.4.13/libtifftcl4.1.0.so": > /usr/lib/tcltk/aarch64-linux-gnu/Img1.4.13/libtifftcl4.1.0.so: undefined > symbol: _TIFFsetString, version LIBTIFF_4.0 This looks to be a dependency (hard coded?) on the version of libtiff that shipped with Buster (4.1). But it also seems to be in a package that LinuxCNC depends on, but doesn't control? https://sourceforge.net/projects/tkimg/files/tkimg/1.4/tkimg%201.4.13/ (From the file path being searched) For me, the trail dries up there. I guess this is due to a Tcl/Tk dependency? -- atp "A motorcycle is a bicycle with a pandemonium attachment and is designed for the especial use of mechanical geniuses, daredevils and lunatics." — George Fitch, Atlanta Constitution Newspaper, 1912 ___ Emc-developers mailing list Emc-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-developers
[Emc-developers] Bug#1012789: linuxcnc-uspace: Linux CNC will not start
Package: linuxcnc-uspace Version: 2.9.0~pre0+git20220402.2500863908-4 Severity: grave Justification: renders package unusable X-Debbugs-Cc: vectorhast...@gmail.com Dear Maintainer, *** Reporter, please consider answering these questions, where appropriate *** * What led up to the situation? I installed the package from respository with sudo apt-get install * What exactly did you do (or not do) that was effective (or ineffective)? Tried to understand from the error message if there was a missing package, but could not find one. * What was the outcome of this action? It did not help * What outcome did you expect instead? *** End of the template - remove these template lines *** -- System Information: Debian Release: bookworm/sid APT prefers unstable APT policy: (500, 'unstable') Architecture: arm64 (aarch64) Kernel: Linux 4.19.0-20-rt-arm64 (SMP w/4 CPU threads; PREEMPT) Kernel taint flags: TAINT_UNSIGNED_MODULE Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled Versions of packages linuxcnc-uspace depends on: ii blt2.5.3+dfsg-4.1 ii bwidget1.9.15-1 ii iptables 1.8.8-1 ii libboost-python1.74.0 1.74.0-16 ii libc6 2.33-7 ii libcairo2 1.16.0-5 ii libedit2 3.1-20210910-1 ii libepoxy0 1.5.10-1 ii libgcc-s1 12.1.0-2 ii libglib2.0-0 2.72.2-2 ii libgtk-3-0 3.24.34-1 ii libgtk2.0-02.24.33-2 ii libgtksourceview-3.0-dev 3.24.11-2+b1 ii libmodbus5 3.1.6-2 ii libpango-1.0-0 1.50.7+ds-1 ii libpangocairo-1.0-01.50.7+ds-1 ii libpython3.10 3.10.5-1 ii libstdc++6 12.1.0-2 ii libtirpc3 1.3.2-2 ii libtk-img 1:1.4.13+dfsg-1 ii libtk8.6 8.6.12-1 ii libudev-dev251.2-5 ii libudev1 251.2-5 ii libusb-1.0-0 2:1.0.26-1 ii libx11-6 2:1.7.5-1 ii libxinerama1 2:1.1.4-3 ii libxmu62:1.1.3-3 ii mesa-utils 8.5.0-1 ii procps 2:3.3.17-7+b1 ii psmisc 23.5-1 ii python33.10.4-1+b1 ii python3-cairo 1.20.1-3 ii python3-configobj 5.0.6-5 ii python3-gi-cairo 3.42.1-1 ii python3-numpy 1:1.21.5-1 ii python3-opengl 3.1.5+dfsg-1 ii python3-tk 3.10.5-1 ii python3-xlib 0.29-1 ii tcl-tclreadline [tclreadline] 2.3.8-1 ii tcl8.6 8.6.12+dfsg-1 ii tclx8.4 [tclx] 8.4.1-4 ii tk8.6 8.6.12-1 ii udev 251.2-5 Versions of packages linuxcnc-uspace recommends: ii espeak 1.48.15+dfsg-3 ii espeak-ng 1.51+dfsg-7 ii gstreamer1.0-tools 1.20.2-1 pn hostmot2-firmware-all ii librsvg2-dev2.54.3+dfsg-1 ii linuxcnc-doc-en [linuxcnc-doc] 2.9.0~pre0+git20220402.2500863908-4 ii pyqt5-dev-tools 5.15.6+dfsg-1+b2 ii python3-dbus1.2.18-3+b1 ii python3-dbus.mainloop.pyqt5 5.15.6+dfsg-1+b2 ii python3-espeak 0.5-4+b1 ii python3-opencv 4.5.4+dfsg-9+b7 ii python3-pil 9.1.1-1 ii python3-pil.imagetk 9.1.1-1 ii python3-pyqt5 5.15.6+dfsg-1+b2 ii python3-pyqt5.qsci 2.11.6+dfsg-4+b1 ii python3-pyqt5.qtopengl 5.15.6+dfsg-1+b2 ii python3-pyqt5.qtsvg 5.15.6+dfsg-1+b2 ii python3-pyqt5.qtwebkit 5.15.6+dfsg-1+b2 ii sound-theme-freedesktop 0.8-2 Versions of packages linuxcnc-uspace suggests: pn mesaflash -- no debconf information Error's reported by package: Print file information: RUN_IN_PLACE=no LINUXCNC_DIR= LINUXCNC_BIN_DIR=/usr/bin LINUXCNC_TCL_DIR=/usr/lib/tcltk/linuxcnc LINUXCNC_SCRIPT_DIR= LINUXCNC_RTLIB_DIR=/usr/lib/linuxcnc/modules LINUXCNC_CONFIG_DIR= LINUXCNC_LANG_DIR=/usr/lib/tcltk/linuxcnc/msgs INIVAR=inivar HALCMD=halcmd LINUXCNC_EMCSH=/usr/bin/wish8.6 LINUXCNC - 2.9.0~pre0 Machine configuration directory is '/home/maker/linuxcnc/configs/sim.axis' Machine configuration file is 'axis_mm.ini' INIFILE=/home/maker/linuxcnc/configs/sim.axis/axis_mm.ini VERSION=1.1 PARAMETER_FILE=sim_mm.var TPMOD= HOMEMOD= TASK=milltask HALUI=halui DISPLAY=axis COORDINATES=X Y Z KINEMATICS=trivkins Starting LinuxCNC... Starting LinuxCNC server program: linuxcncsvr Loading Real Time OS, RTAPI, and HAL_LIB modules