Re: [Emc-developers] buildbot? no updates in about a week now.

2022-06-10 Thread gene heskett
On Friday, 10 June 2022 09:12:50 EDT gene heskett wrote:
> On Friday, 10 June 2022 08:12:14 EDT andy pugh wrote:
> > On Fri, 10 Jun 2022 at 13:05, gene heskett 
> 
> wrote:
> > > I just looked, no backports.
> > 
> > This is a private "backport". ie the deb file is on the LinuxCNC
> > repository. https://www.linuxcnc.org/dists/buster/base/binary-amd64/
> > 
> > Including for armhf:
> > https://www.linuxcnc.org/dists/buster/base/binary-armhf/
> > 
> > Sudo apt-get install po4a should get you the new version. But if you
> > are building the docs on a Pi then you are a masochist, given that
> > you
> > can just download them.
> 
> I've been accused of that before, Andy, but it keeps my diabetic butt
> out of the bars too.
> 
> Not for the pi, but for my sixty40 mill, I added a git clone about a
> year back, updated it, and so far its building to runtests just fine.
> It did build all the english .pdfs in doing that.
> 
> I broke my scripts up so if it does all the runtests, I'll check the
> make-debs next. From a different login shell as I haven't figured out
> how to cancel the runinplace that shell is running with. This is on a
> intel box. But the power has blinked, so I may take a new UPS out to
> that box before I try make-debs. For some unpublished reason I've run
> on the generac about 45 minutes starting in the lunch hour for the
> last 2 days. I lost 2 hours worth of setup measurements when it went
> off about 1/2 after I'd done the last touchoff before actually writing
> the code to carve a pcb from scratch.
> 
> Looks like that build was ok:
> Runtest: 240 tests run, 240 successful, 0 failed + 0 expected
> 
> So I'll take this UPS out and install it. It won't do the mill any good
> since the vfd needs 250 volts too. But it will save the machine while
> its makeing debs.
> 
> More later if its worth reporting.

And po4a appears to be stuck on the man page for xor2. Its now been stuck 
at:
man/man9/xor2.9:4: (po4a::man)
   This file contains the line '.\" This file was generated 
with halcompile.g.'. You should translate the source file, but continuing 
anyway.

Which may be the last man page, but nothing has happened for at least 10 
minutes now. I'll log in another shell & see what I can. But on switching 
back to that workspace it looks like its now repeating, for another 
language perhaps? I don't see the language being mentioned in the trace 
output.

And thats what killed the deb build here:
# english documentation has no "en" suffix
d=debian/linuxcnc-doc-en/usr/share/doc/linuxcnc && mkdir -p $d && mv -t 
$d /home/gene/linuxcnc-dev/debian/linuxcnc-uspace/usr/share/doc/linuxcnc/
*.pdf
mkdir -p /home/gene/linuxcnc-dev/debian/linuxcnc-uspace/usr/share/doc/
linuxcnc/examples 
cd /home/gene/linuxcnc-dev/debian/linuxcnc-uspace/usr/share/doc/linuxcnc/
examples && ln -sf ../../../linuxcnc/ncfiles ./nc_files
# -dev
mkdir -p debian/linuxcnc-uspace-dev/usr/include
mv -t debian/linuxcnc-uspace-dev/usr/include /home/gene/linuxcnc-dev/
debian/linuxcnc-uspace/usr/include/linuxcnc
mv: cannot move '/home/gene/linuxcnc-dev/debian/linuxcnc-uspace/usr/
include/linuxcnc' to 'debian/linuxcnc-uspace-dev/usr/include/linuxcnc': 
Directory not empty
make[1]: *** [debian/rules:103: override_dh_auto_install] Error 1
make[1]: Leaving directory '/home/gene/linuxcnc-dev'
make: *** [debian/rules:39: binary] Error 2
dpkg-buildpackage: error: fakeroot debian/rules binary subprocess 
returned exit status 2

real56m32.518s
user101m37.451s
sys 2m17.496s
gene@sixty40:~$ ls -l *.deb
-rw-r--r-- 1 gene gene35164 Oct 18  2021 linuxcnc-doc-
cn_2.9.0~pre0_all.deb
-rw-r--r-- 1 gene gene 18201504 Oct 18  2021 linuxcnc-doc-
en_2.9.0~pre0_all.deb
-rw-r--r-- 1 gene gene 10066032 Oct 18  2021 linuxcnc-doc-
es_2.9.0~pre0_all.deb
-rw-r--r-- 1 gene gene  6165416 Oct 18  2021 linuxcnc-doc-
fr_2.9.0~pre0_all.deb
-rw-r--r-- 1 gene gene 15786060 Oct 18  2021 linuxcnc-
uspace_2.9.0~pre0_amd64.deb
-rw-r--r-- 1 gene gene 14436388 Oct 18  2021 linuxcnc-uspace-
dbgsym_2.9.0~pre0_amd64.deb
-rw-r--r-- 1 gene gene  1215460 Oct 18  2021 linuxcnc-uspace-
dev_2.9.0~pre0_amd64.deb
So none of the debs I built last fall were replaced.

Comment please.

> Cheers, Gene Heskett.


Cheers, Gene Heskett.
-- 
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author, 1940)
If we desire respect for the law, we must first make the law respectable.
 - Louis D. Brandeis





___
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers


Re: [Emc-developers] buildbot? no updates in about a week now.

2022-06-10 Thread gene heskett
On Friday, 10 June 2022 08:12:14 EDT andy pugh wrote:
> On Fri, 10 Jun 2022 at 13:05, gene heskett  
wrote:
> > I just looked, no backports.
> 
> This is a private "backport". ie the deb file is on the LinuxCNC
> repository. https://www.linuxcnc.org/dists/buster/base/binary-amd64/
> 
> Including for armhf:
> https://www.linuxcnc.org/dists/buster/base/binary-armhf/
> 
> Sudo apt-get install po4a should get you the new version. But if you
> are building the docs on a Pi then you are a masochist, given that you
> can just download them.

I've been accused of that before, Andy, but it keeps my diabetic butt out 
of the bars too.

Not for the pi, but for my sixty40 mill, I added a git clone about a year 
back, updated it, and so far its building to runtests just fine. It did 
build all the english .pdfs in doing that.

I broke my scripts up so if it does all the runtests, I'll check the 
make-debs next. From a different login shell as I haven't figured out how 
to cancel the runinplace that shell is running with. This is on a intel 
box. But the power has blinked, so I may take a new UPS out to that box 
before I try make-debs. For some unpublished reason I've run on the 
generac about 45 minutes starting in the lunch hour for the last 2 days. 
I lost 2 hours worth of setup measurements when it went off about 1/2 
after I'd done the last touchoff before actually writing the code to 
carve a pcb from scratch.

Looks like that build was ok:
Runtest: 240 tests run, 240 successful, 0 failed + 0 expected

So I'll take this UPS out and install it. It won't do the mill any good 
since the vfd needs 250 volts too. But it will save the machine while its 
makeing debs.

More later if its worth reporting.

Cheers, Gene Heskett.
-- 
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author, 1940)
If we desire respect for the law, we must first make the law respectable.
 - Louis D. Brandeis





___
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers


Re: [Emc-developers] buildbot? no updates in about a week now.

2022-06-10 Thread andy pugh
On Fri, 10 Jun 2022 at 13:05, gene heskett  wrote:

> I just looked, no backports.

This is a private "backport". ie the deb file is on the LinuxCNC repository.
https://www.linuxcnc.org/dists/buster/base/binary-amd64/

Including for armhf: https://www.linuxcnc.org/dists/buster/base/binary-armhf/

Sudo apt-get install po4a should get you the new version. But if you
are building the docs on a Pi then you are a masochist, given that you
can just download them.

-- 
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] buildbot? no updates in about a week now.

2022-06-10 Thread gene heskett
On Friday, 10 June 2022 06:19:18 EDT andy pugh wrote:
> On Fri, 10 Jun 2022 at 11:04, Sebastian Kuzminsky  
wrote:
> > 1. Having the code & the docs live together in one repo makes it
> > easier to update both when either changes (ie, in the same PR), and
> > simplifies release management.
> 
> It also provides a way to see what new features are and how to use
> them when the edits and docs are all in the same git commit.
> (Admittedly only a small advantage, mainly to those who are subscribed
> to emc-commit )

I am not subbed to that, but my pi does 4 git pulls a day, sending me 
email from the pull so I'm moderately well up to date. I can't build docs 
on buster here either. And I don't atm, recall if I have backports 
enabled on the pi. Is there a po4a that will work there?
I just looked, no backports.

Take care & stay well everybody.

Cheers, Gene Heskett.
-- 
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author, 1940)
If we desire respect for the law, we must first make the law respectable.
 - Louis D. Brandeis





___
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers


Re: [Emc-developers] buildbot? no updates in about a week now.

2022-06-10 Thread andy pugh
On Fri, 10 Jun 2022 at 11:04, Sebastian Kuzminsky  wrote:

> 1. Having the code & the docs live together in one repo makes it easier
> to update both when either changes (ie, in the same PR), and simplifies
> release management.

It also provides a way to see what new features are and how to use
them when the edits and docs are all in the same git commit.
(Admittedly only a small advantage, mainly to those who are subscribed
to emc-commit )

-- 
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] buildbot? no updates in about a week now.

2022-06-10 Thread Sebastian Kuzminsky

On 6/10/22 11:30, Jérémie Tarot wrote:


What about splitting out the docs in dedicated packages like many other
projects?

We could have linuxcnc-doc for english and then linuxcnc-doc-$lang for
translations. This in turn would allow us to build docs translation
packages at will.

In the future, this will also avoid installing 1Gb of 27 translations docs!


The English docs & each of the translated docs is already each in a 
separate package.  Users can choose which, if any, to install.


Or do you mean to split the repo, so the docs and the code are in 
different git repositories?  I'm opposed to that idea for a couple of 
reasons:


1. Having the code & the docs live together in one repo makes it easier 
to update both when either changes (ie, in the same PR), and simplifies 
release management.


2. Our "halcompile" infrastructure puts the code and the manpage for 
that code in the same file, so that infrastructure would have to be 
changed or discontinued.



--
Sebastian Kuzminsky


___
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers


Re: [Emc-developers] buildbot? no updates in about a week now.

2022-06-10 Thread Jérémie Tarot
Le jeu. 9 juin 2022 à 14:38, Sebastian Kuzminsky  a écrit :

>
>
> We could teach our debian packaging to know about build profiles
> (https://wiki.debian.org/BuildProfileSpec) and then switch the CI to use
> the `nodoc` build profile, but that would leave our poor old Buster
> users without local docs.
>


What about splitting out the docs in dedicated packages like many other
projects?

We could have linuxcnc-doc for english and then linuxcnc-doc-$lang for
translations. This in turn would allow us to build docs translation
packages at will.

In the future, this will also avoid installing 1Gb of 27 translations docs!

___
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers


Re: [Emc-developers] buildbot? no updates in about a week now.

2022-06-09 Thread Sebastian Kuzminsky

On 6/9/22 14:08, Hans Unzner wrote:

I only wonder why Petters fix (
https://github.com/LinuxCNC/linuxcnc/pull/1754) which should use po4a only
when the correct version is available, didn't resolve that.


Petter's fix made the linuxcnc build system detect that the po4a on 
Buster is too old, and disables building of translated docs (pdf & html 
files).


But the debian packages don't know that those docs did not get built, 
and still tries to build the debs for the translated docs.  The files 
that should go in those debs (the translated docs) are missing, so 
building the debs fails.


We could teach our debian packaging to know about build profiles 
(https://wiki.debian.org/BuildProfileSpec) and then switch the CI to use 
the `nodoc` build profile, but that would leave our poor old Buster 
users without local docs.



--
Sebastian Kuzminsky


___
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers


Re: [Emc-developers] buildbot? no updates in about a week now.

2022-06-09 Thread andy pugh
On Thu, 9 Jun 2022 at 13:24, Greg C  wrote:
>
> I am confused on this as well.  Unless I am reading this incorrectly, there
> were builds that did complete (albeit with warnings) after that commit was
> merged?

The issue in the logs seems to be a lack of pdf files to operate on.

But the build starts with a _lot_ of missing dependencies, of fairly
basic packages:

dpkg: pbuilder-satisfydepends-dummy: dependency problems, but
configuring anyway as you requested:
 pbuilder-satisfydepends-dummy depends on debhelper (>= 9); however:
  Package debhelper is not installed.
 pbuilder-satisfydepends-dummy depends on dh-python; however:
  Package dh-python is not installed.
 pbuilder-satisfydepends-dummy depends on libudev-dev; however:
  Package libudev-dev is not installed.
...
A few dozen more
...
  Package texlive-latex-recommended is not installed.
 pbuilder-satisfydepends-dummy depends on asciidoc-dblatex; however:
  Package asciidoc-dblatex is not installed.
 pbuilder-satisfydepends-dummy depends on texlive-xetex; however:
  Package texlive-xetex is not installed.


-- 
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] buildbot? no updates in about a week now.

2022-06-09 Thread Greg C
I am confused on this as well.  Unless I am reading this incorrectly, there
were builds that did complete (albeit with warnings) after that commit was
merged?

http://buildbot.linuxcnc.org/buildbot/grid

On Thu, Jun 9, 2022 at 8:11 AM Hans Unzner  wrote:

> Am Do., 9. Juni 2022 um 11:25 Uhr schrieb Sebastian Kuzminsky <
> s...@highlab.com>:
>
> > On 6/9/22 10:42, andy pugh wrote:
> > > .deb builds are currently failing:
> > >
> > >
> >
> http://buildbot.linuxcnc.org/buildbot/builders/4041.deb-buster-rtpreempt-amd64/builds/1818
> >
> > debs are failing because the wonderful new translation infrastructure
> > that just went into master requires a newer po4a than what's available
> > on Buster.  (The version in Bullseye and newer works.)
> >
> > So I think the best fix is to backport a working po4a to buster, and add
> > the updated po4a debs to our deb archive on wlo.
> >
> > I'm working on this now, hope to have something up later today.
> >
> >
> > --
> > Sebastian Kuzminsky
> >
> >
> I only wonder why Petters fix (
> https://github.com/LinuxCNC/linuxcnc/pull/1754) which should use po4a only
> when the correct version is available, didn't resolve that.
>
> ___
> 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] buildbot? no updates in about a week now.

2022-06-09 Thread Hans Unzner
Am Do., 9. Juni 2022 um 11:25 Uhr schrieb Sebastian Kuzminsky <
s...@highlab.com>:

> On 6/9/22 10:42, andy pugh wrote:
> > .deb builds are currently failing:
> >
> >
> http://buildbot.linuxcnc.org/buildbot/builders/4041.deb-buster-rtpreempt-amd64/builds/1818
>
> debs are failing because the wonderful new translation infrastructure
> that just went into master requires a newer po4a than what's available
> on Buster.  (The version in Bullseye and newer works.)
>
> So I think the best fix is to backport a working po4a to buster, and add
> the updated po4a debs to our deb archive on wlo.
>
> I'm working on this now, hope to have something up later today.
>
>
> --
> Sebastian Kuzminsky
>
>
I only wonder why Petters fix (
https://github.com/LinuxCNC/linuxcnc/pull/1754) which should use po4a only
when the correct version is available, didn't resolve that.

___
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers


Re: [Emc-developers] buildbot? no updates in about a week now.

2022-06-09 Thread andy pugh
On Thu, 9 Jun 2022 at 10:22, Sebastian Kuzminsky  wrote:

> So I think the best fix is to backport a working po4a to buster, and add
> the updated po4a debs to our deb archive on wlo.
>
> I'm working on this now, hope to have something up later today.

Thanks for that. I was planning to do exactly that this evening.
(So, at least we are agreed on the validity of the plan)

-- 
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] buildbot? no updates in about a week now.

2022-06-09 Thread Sebastian Kuzminsky

On 6/9/22 10:42, andy pugh wrote:

.deb builds are currently failing:

http://buildbot.linuxcnc.org/buildbot/builders/4041.deb-buster-rtpreempt-amd64/builds/1818


debs are failing because the wonderful new translation infrastructure 
that just went into master requires a newer po4a than what's available 
on Buster.  (The version in Bullseye and newer works.)


So I think the best fix is to backport a working po4a to buster, and add 
the updated po4a debs to our deb archive on wlo.


I'm working on this now, hope to have something up later today.


--
Sebastian Kuzminsky


___
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers


Re: [Emc-developers] buildbot? no updates in about a week now.

2022-06-09 Thread andy pugh
.deb builds are currently failing:

http://buildbot.linuxcnc.org/buildbot/builders/4041.deb-buster-rtpreempt-amd64/builds/1818

-- 
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] buildbot? no updates in about a week now.

2022-06-09 Thread gene heskett
Cheers, Gene Heskett.
-- 
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author, 1940)
If we desire respect for the law, we must first make the law respectable.
 - Louis D. Brandeis





___
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers