Re: [Emc-developers] lost file or mind?

2023-10-06 Thread Phill Carter via Emc-developers


> On 7 Oct 2023, at 3:32 pm, Thomas J Powderly  wrote:
> 
> Hello,
> 
> I cannot find a file used in my .ini /
> But the .ini runs fine from picker
> 
> the 'lost' file from the iniT ...
> 
> EMBED_TAB_COMMAND = pyvcp bars.xml

The file name would be bars.xml



> 
> 
> After a lot of searching, and failing to find the file,
> 
> ( searching ~/linuxcnc and all branches of #PATH )
> 
> I used the 'find' command on the _entire_ filesystem
> 
> tomp@ThaiTowerD10:/$ cd /
> tomp@ThaiTowerD10:/$ find . pyvcp_bars.xml
> ... after a long time  I see:
> find: 'pyvcp_bars.xml': No such file or directory
> 
> How am I missing it ?
> yet, linuxcnc finds and uses it ?
> 
> Also I have copied the .ini to fred.ini
> 
> It still ran. So the file I thought I was running was no better/different 
> from the copy
> 
> I edited fred.ini file to mangle the xml file name
> 
> and got 'file not found' err, so the copy was being used
> 
> so the file exists but nowhere I can think of
> 
> any ideas?
> 
> tomp
> 
> 
> 
> 
> ___
> 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


[Emc-developers] lost file or mind?

2023-10-06 Thread Thomas J Powderly

Hello,

I cannot find a file used in my .ini /
But the .ini runs fine from picker

the 'lost' file from the iniT ...

EMBED_TAB_COMMAND = pyvcp bars.xml


After a lot of searching, and failing to find the file,

( searching ~/linuxcnc and all branches of #PATH )

I used the 'find' command on the _entire_ filesystem

tomp@ThaiTowerD10:/$ cd /
tomp@ThaiTowerD10:/$ find . pyvcp_bars.xml
... after a long time  I see:
find: 'pyvcp_bars.xml': No such file or directory

How am I missing it ?
yet, linuxcnc finds and uses it ?

Also I have copied the .ini to fred.ini

It still ran. So the file I thought I was running was no 
better/different from the copy


I edited fred.ini file to mangle the xml file name

and got 'file not found' err, so the copy was being used

so the file exists but nowhere I can think of

any ideas?

tomp




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


Re: [Emc-developers] RTAI broken again with LinuxCNC

2023-10-06 Thread Alec Ari via Emc-developers
I can make a pull request, I'm pretty sure the appropriate fix is indeed the 
correct fix. I think it'd be important to test the implementations of atan, 
asin, acos, fmax and fmin to make sure all is well. LinuxCNC will report errors 
if any of the math is wrong, yes? Say for example the accuracy of atan is off 
by a few decimal points, how will the user know if there's a problem? I'm 
fairly certain this will be a non-issue but I just want to make sure switching 
from GNU89 to GNU11 doesn't come with any regressions.

Alec


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


Re: [Emc-developers] RTAI broken again with LinuxCNC

2023-10-06 Thread Alec Ari via Emc-developers
I don't exactly know why switching to GNU11 causes this issue, maybe the GNU11 
standard already defines these, but I removed LinuxCNC's definitions of the 
following functions:

atan
asin
acos
fmax
fmin

from rtapi_math.h

and had to remove -Werror=frame-larger-than=2560 from LinuxCNC's Makefile and 
everything seems to be working now.

commit:

https://github.com/NTULINUX/linuxcnc-rtai-gnu11/commit/f436cfbc1514f9b52f29486648c1fca8ffcc7d5f

Alec


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


Re: [Emc-developers] Uploading 2.9 to Debian Aw: Re: Bug#1053251: How to fix this bug

2023-10-06 Thread Rod Webster
Andy,

Thanks, I think  with linuxcnc-uspace being in the Debian repos, some
changes may be required to the workflow.

Currently, my installer does some apt pinning and sets priorities for
linuxcnc debs (ref: Getting Linuxcnc Chapter 9

). The installer then installs the linuxcnc debs from
http://buildbot2.highlab.com/. It relies on the key published there for apt
signing. An apt upgrade will grab the latest linuxcnc debs from the
buildbot. So the installer meets all your needs as is.

But once Linuxcnc 2.9 is available in Debian unstable, I think the
installer's pinning can be changed to pull linuxcnc from the Debian
unstable repos instead of Seb's buildbot. This will reduce traffic on the
buildbot which may not be a bad thing. It will no longer be necessary to
sign debs.

Likewise, once linuxcnc is in Debian unstable, Debian will build the
Raspberry pi debs for us. This then means the Pi installer no longer needs
to compile from source (because there is no buildbot for the pi) and can
also use the Debian unstable debs to keep everything consistent.

The installers should not need further changes until 2.9 gets into Debian 12

It does my head in thinking through this transition!

Rod Webster
1300 896 832
+61 435 765 611
Vehicle Modifications Network
www.vehiclemods.net.au

Rod Webster
*1300 896 832*
+61 435 765 611
Vehicle Modifications Network
www.vehiclemods.net.au


On Fri, 6 Oct 2023 at 21:39, andy pugh  wrote:

> On Fri, 6 Oct 2023 at 09:45, Rod Webster  wrote:
> >
> > Andy,
> > How do you go about building the installers?
>
> The normal process is:
>
> Buildbot builds the .debs and puts them in buildbot.linuxcnc.org/release
> Release manager copies the debs to the right places in a clone of
> https://github.com/LinuxCNC/infrastructure
> Release manager updates the indexes and signs them with the LinuxCNC key
> Upload to www.linuxcnc.org/dists
> Then the live-image builder is run, pulling down the packages from
> Debian and from LinuxCNC to assemble the installer.
>
>
>
> --
> 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] Uploading 2.9 to Debian Aw: Re: Bug#1053251: How to fix this bug

2023-10-06 Thread andy pugh
On Fri, 6 Oct 2023 at 09:45, Rod Webster  wrote:
>
> Andy,
> How do you go about building the installers?

The normal process is:

Buildbot builds the .debs and puts them in buildbot.linuxcnc.org/release
Release manager copies the debs to the right places in a clone of
https://github.com/LinuxCNC/infrastructure
Release manager updates the indexes and signs them with the LinuxCNC key
Upload to www.linuxcnc.org/dists
Then the live-image builder is run, pulling down the packages from
Debian and from LinuxCNC to assemble the installer.



-- 
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] Uploading 2.9 to Debian Aw: Re: Bug#1053251: How to fix this bug

2023-10-06 Thread Rod Webster
Andy,
How do you go about building the installers?
I'm happy to build them for AMD64 and the Pi as I am all set up to do that.
I usually upload them to my Google drive so you could pull the images down
and upload to the web site.
This PR needs to be accepted.
https://github.com/LinuxCNC/linuxcnc-live-build/pull/27
Just tell me when its OK to build them as its Friday night already here.

Rod Webster
*1300 896 832*
+61 435 765 611
Vehicle Modifications Network
www.vehiclemods.net.au


On Fri, 6 Oct 2023 at 18:32, andy pugh  wrote:

> On Thu, 5 Oct 2023 at 20:08, Steffen Möller 
> wrote:
> >
> > Heyho, I just found
> https://github.com/LinuxCNC/linuxcnc/releases/tag/v2.9.0 - great!
>
> Due to the Debian deadline being missed, and
> https://github.com/LinuxCNC/linuxcnc/pull/2677 appearing overnight to
> fix something that was "2.9 must-fix" but got downgraded when I
> couldn't and also a minor foul-up with the version number in the
> release, I think we will go straight to 2.9.1 some time during the
> weekend.
>
> --
> 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] Uploading 2.9 to Debian Aw: Re: Bug#1053251: How to fix this bug

2023-10-06 Thread andy pugh
On Thu, 5 Oct 2023 at 20:08, Steffen Möller  wrote:
>
> Heyho, I just found https://github.com/LinuxCNC/linuxcnc/releases/tag/v2.9.0 
> - great!

Due to the Debian deadline being missed, and
https://github.com/LinuxCNC/linuxcnc/pull/2677 appearing overnight to
fix something that was "2.9 must-fix" but got downgraded when I
couldn't and also a minor foul-up with the version number in the
release, I think we will go straight to 2.9.1 some time during the
weekend.

-- 
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