2.9 Master on Debian 11.3

More
4 years 4 months ago #245061 by hhogendoorn
Replied by hhogendoorn on topic 2.9 / build Debian 11.3
configure uspace no-docs

Please Log in to join the conversation.

More
4 years 4 months ago #245313 by hhogendoorn
Build today's master Linuxcnc 2.9, april 17 2022 on Debian 11.3 , and all the parts I need ,Axis, smart serial rs274 Handwheel,  are building/running OK.
Rgrds Hans

Please Log in to join the conversation.

More
4 years 4 months ago #245818 by aluebke
Replied by aluebke on topic 2.9 Master on Debian 11.3
Is building the docs broken currently? When I build the package with no-docs flag it works. Without it I get an error from asciidocs and can't continue.

Please Log in to join the conversation.

More
4 years 4 months ago #246108 by andypugh
Replied by andypugh on topic 2.9 Master on Debian 11.3
Docs built for me today, made debs too.

<edit> Though that was on Buster, not 11. 

Please Log in to join the conversation.

More
4 years 4 months ago #246174 by aluebke
Replied by aluebke on topic 2.9 Master on Debian 11.3
I am on Bullseye. Just tried again and I get an error. This is also on a Raspberry Pi if that makes a difference.  Here it is if anyone has seen it...

asciidoc: Master_Documentation.adoc: line 292: reading: /home/pi/linuxcnc-dev/docs/src/es/hal/hal-examples.adoc
asciidoc: include: /home/pi/linuxcnc-dev/docs/src/es/hal/comp.adoc
asciidoc: Master_Documentation.adoc: line 294: reading: /home/pi/linuxcnc-dev/docs/src/es/hal/comp.adoc
asciidoc: ERROR: rtcomps.adoc: line 491: [tabledef-default] total width less than 100%: 0
asciidoc: ERROR: rtcomps.adoc: line 491: [tabledef-default] missing leading separator: (?ms)((?<!\S)((?P<span>[\d.]+)(?P<op>[*+]))?(?P<align>[<\^>.]{,3})?(?P<style>[a-z])?)?\|
asciidoc: WARNING: comp.adoc: line 120: table row 1: empty spanned row
asciidoc: WARNING: comp.adoc: line 120: table row 2: empty spanned row
asciidoc: WARNING: comp.adoc: line 120: table row 3: empty spanned row
asciidoc: WARNING: comp.adoc: line 120: table row 4: empty spanned row
asciidoc: include: /home/pi/linuxcnc-dev/docs/src/es/hal/halmodule.adoc
asciidoc: Master_Documentation.adoc: line 296: reading: /home/pi/linuxcnc-dev/docs/src/es/hal/halmodule.adoc
asciidoc: ERROR: comp.adoc: line 126: [tabledef-default] total width less than 100%: 0
asciidoc: ERROR: comp.adoc: line 126: [tabledef-default] missing leading separator: (?ms)((?<!\S)((?P<span>[\d.]+)(?P<op>[*+]))?(?P<align>[<\^>.]{,3})?(?P<style>[a-z])?)?\|
asciidoc: WARNING: halmodule.adoc: line 73: table row 1: empty spanned row
asciidoc: include: /home/pi/linuxcnc-dev/docs/src/es/motion/kinematics.adoc
asciidoc: Master_Documentation.adoc: line 305: reading: /home/pi/linuxcnc-dev/docs/src/es/motion/kinematics.adoc
asciidoc: include: /home/pi/linuxcnc-dev/docs/src/es/motion/dh-parameters.adoc
asciidoc: Master_Documentation.adoc: line 307: reading: /home/pi/linuxcnc-dev/docs/src/es/motion/dh-parameters.adoc
asciidoc: include: /home/pi/linuxcnc-dev/docs/src/es/motion/5-axis-kinematics.adoc
asciidoc: Master_Documentation.adoc: line 309: reading: /home/pi/linuxcnc-dev/docs/src/es/motion/5-axis-kinematics.adoc
asciidoc: include: /home/pi/linuxcnc-dev/docs/src/es/motion/switchkins.adoc
asciidoc: Master_Documentation.adoc: line 311: reading: /home/pi/linuxcnc-dev/docs/src/es/motion/switchkins.adoc
asciidoc: include: /home/pi/linuxcnc-dev/docs/src/es/motion/pid-theory.adoc
asciidoc: Master_Documentation.adoc: line 313: reading: /home/pi/linuxcnc-dev/docs/src/es/motion/pid-theory.adoc
asciidoc: ERROR: halmodule.adoc: line 76: [tabledef-default] total width less than 100%: 0
asciidoc: ERROR: halmodule.adoc: line 76: [tabledef-default] missing leading separator: (?ms)((?<!\S)((?P<span>[\d.]+)(?P<op>[*+]))?(?P<align>[<\^>.]{,3})?(?P<style>[a-z])?)?\|
asciidoc: WARNING: pid-theory.adoc: line 62: table row 1: empty spanned row
asciidoc: ERROR: pid-theory.adoc: line 66: [tabledef-default] total width less than 100%: 0
asciidoc: ERROR: pid-theory.adoc: line 66: [tabledef-default] missing leading separator: (?ms)((?<!\S)((?P<span>[\d.]+)(?P<op>[*+]))?(?P<align>[<\^>.]{,3})?(?P<style>[a-z])?)?\|
asciidoc: WARNING: pid-theory.adoc: line 75: table row 1: empty spanned row
asciidoc: include: /home/pi/linuxcnc-dev/docs/src/es/motion/external-offsets.adoc
asciidoc: Master_Documentation.adoc: line 315: reading: /home/pi/linuxcnc-dev/docs/src/es/motion/external-offsets.adoc
asciidoc: include: /home/pi/linuxcnc-dev/docs/src/es/tooldatabase/tooldatabase.adoc
asciidoc: Master_Documentation.adoc: line 317: reading: /home/pi/linuxcnc-dev/docs/src/es/tooldatabase/tooldatabase.adoc
asciidoc: include: /home/pi/linuxcnc-dev/docs/src/es/code/rs274.adoc
asciidoc: Master_Documentation.adoc: line 319: reading: /home/pi/linuxcnc-dev/docs/src/es/code/rs274.adoc
asciidoc: include: /home/pi/linuxcnc-dev/docs/src/es/common/glossary.adoc
asciidoc: Master_Documentation.adoc: line 323: reading: /home/pi/linuxcnc-dev/docs/src/es/common/glossary.adoc
asciidoc: include: /home/pi/linuxcnc-dev/docs/src/es/common/gpld-copyright.adoc
asciidoc: Master_Documentation.adoc: line 325: reading: /home/pi/linuxcnc-dev/docs/src/es/common/gpld-copyright.adoc
asciidoc: ERROR: pid-theory.adoc: line 79: [tabledef-default] missing closing delimiter
asciidoc: ERROR: pid-theory.adoc: line 79: [tabledef-default] total width less than 100%: 0
asciidoc: ERROR: pid-theory.adoc: line 79: [tabledef-default] missing leading separator: (?ms)((?<!\S)((?P<span>[\d.]+)(?P<op>[*+]))?(?P<align>[<\^>.]{,3})?(?P<style>[a-z])?)?\|
asciidoc: WARNING: Master_Documentation.adoc: line 327: table row 1: empty spanned row
asciidoc: WARNING: Master_Documentation.adoc: line 327: table row 2: empty spanned row
asciidoc: WARNING: Master_Documentation.adoc: line 327: table row 3: empty spanned row

a2x: ERROR: "/usr/bin/asciidoc" --backend docbook -a "a2x-format=pdf" -f ../docs/src/docbook.conf -f ../docs/src/asciidoc-dont-replace-arrows.conf --doctype book --attribute "scriptdir=../docs/src/" --verbose --out-file "/home/pi/linuxcnc-dev/docs/src/es/Master_Documentation.xml" "/home/pi/linuxcnc-dev/docs/src/es/Master_Documentation.adoc" returned non-zero exit status 1

make[2]: *** [../docs/src/Submakefile:479: ../docs/src/es/Master_Documentation.pdf] Error 1
make[2]: Leaving directory '/home/pi/linuxcnc-dev/src'
make[1]: *** [debian/rules:57: override_dh_auto_build-indep] Error 2
make[1]: Leaving directory '/home/pi/linuxcnc-dev'
make: *** [debian/rules:39: build] Error 2
dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2

Please Log in to join the conversation.

More
4 years 4 months ago #246176 by charleyann
I tried it again this morning. Still no luck with the docs on 11.3
Same as above.

Please Log in to join the conversation.

More
4 years 4 months ago #246180 by aluebke
Replied by aluebke on topic 2.9 Master on Debian 11.3
I do get the exact same error on an AMD64 machine, also with Bullseye. I'll make a Buster VM later and try that.

Please Log in to join the conversation.

More
4 years 4 months ago #246181 by Bari
Replied by Bari on topic 2.9 Master on Debian 11.3
LCNC 2.9 uspace Debian 11 Packages:
repository.qtpyvcp.com/repo/linuxcnc_debs/

These were built back in April of this year.

LCNC 2.9 installed without any issues on Deb11 until a few weeks ago.

"po4a 0.62 in bullseye is too old, it also cannot build our docs
we need 0.66 from bookworm/testing and unstable
it also looks like DEB_BUILD_OPTIONS=parallel=N is no longer honored, so that'll make the build times longer too"

For RIP:
username@debian11:~/dev/rip/src$ make
emc/Submakefile:4: warning: overriding recipe for target '../include/linuxcnc.h'
emc/Submakefile:4: warning: ignoring old recipe for target '../include/linuxcnc.h'
Reading 205/205 dependency files
Done reading dependencies
Reading 230/230 realtime dependency files
Done reading realtime dependencies
You now need to run 'sudo make setuid' in order to run in place with access to hardware.
cd rip
source scripts/rip-environment
you may need to add a line like this one to your ~/.bashrc

source /home/username/Projects/linuxcnc/scripts/rip-environment

RIP works on Deb11 with some changes to the install instructions. I'm building on Sid later. I'll post an update.

Please Log in to join the conversation.

More
4 years 4 months ago #246209 by aluebke
Replied by aluebke on topic 2.9 Master on Debian 11.3
I can confirm that updating po4a to the bookworm version (0.66) works. This is on both AARCH64 and AMD64.  Here's how I did it:

Add a file to /etc/apt/sources.list.d called bookworm.list

Put the following in that file:

deb deb.debian.org/debian bookworm main contrib non-free
deb security.debian.org/debian-security bookworm-security main contrib non-free
deb deb.debian.org/debian bookworm-updates main contrib non-free

Create a file in /etc/apt/apt.conf.d/ called 99bookworm

Put the following in that file:

APT::Default-Release "bullseye";

Then I ran apt update. Finally:

apt -t bookworm install po4a

Please Log in to join the conversation.

Time to create page: 0.061 seconds
Powered by Kunena Forum