On Sat, 30 Sept 2023 at 22:40, Alec Ari via Emc-developers
<emc-developers@lists.sourceforge.net> wrote:

> Then skip to line 92, Creating RTAI Debian packages
>
> That's a really odd problem that I've never before. I was able to build RTAI 
> kernel and module packages on Debian 12, forget my exact release.
>
> If it fails again, I'll host the deb packages on my Github. Following those 
> instructions though you should have no problems.

I think, for the moment, it would help if you had an RTAI deb package
that I could try.

I probably need to start from scratch and that will take several hours.

Currently attempting to build a .deb package  fails like this:



andypugh@rm-one:~/RTAI$ dpkg-buildpackage -uc -us
dpkg-buildpackage: info: source package rtai
dpkg-buildpackage: info: source version 5.3.3-linuxcnc-delta
dpkg-buildpackage: info: source distribution bullseye
dpkg-buildpackage: info: source changed by Alec Ari <neotheu...@ymail.com>
dpkg-buildpackage: info: host architecture amd64
 dpkg-source --before-build .
 fakeroot debian/rules clean
dh_testdir
rm -f build-stamp debian/rtai-modules-5.4.256.files
dh_clean
dh_clean: warning: Compatibility levels before 10 are deprecated
(level 9 in use)
 dpkg-source -b .
dpkg-source: info: using source format '1.0'
dpkg-source: warning: native package version may not have a revision
dpkg-source: warning: source directory 'RTAI' is not
<sourcepackage>-<upstreamversion> 'rtai-5.3.3-linuxcnc'
dpkg-source: info: building rtai in rtai_5.3.3-linuxcnc-delta.tar.gz
dpkg-source: info: building rtai in rtai_5.3.3-linuxcnc-delta.dsc
 debian/rules build
dh_testdir
# Build RTAI
./autogen.sh --enable-cpus=8
--with-linux-dir=/usr/src/linux-headers-5.4.256-rtai-amd64
/usr/src/linux-headers-5.4.256-rtai-amd64_5.4.256-rtai-amd64-1_amd64.deb
--prefix=/usr/realtime-5.4.256-rtai-amd64 --libdir=/usr/lib
--includedir=/usr/include/rtai --host=x86_64-linux-gnu
autoreconf: export WARNINGS=
autoreconf: Entering directory '.'
autoreconf: configure.ac: not using Gettext
autoreconf: running: aclocal -I m4
autoreconf: configure.ac: tracing
autoreconf: running: libtoolize --copy
autoreconf: configure.ac: not using Intltool
autoreconf: configure.ac: not using Gtkdoc
autoreconf: running: aclocal -I m4
autoreconf: running: /usr/bin/autoconf
autoreconf: running: /usr/bin/autoheader
autoreconf: running: automake --add-missing --copy --no-force
autoreconf: Leaving directory '.'
configure: WARNING: you should use --build, --host, --target
configure: WARNING: invalid host type:
/usr/src/linux-headers-5.4.256-rtai-amd64_5.4.256-rtai-amd64-1_amd64.deb
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for x86_64-linux-gnu-strip... x86_64-linux-gnu-strip
checking for a race-free mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether make supports nested variables... (cached) yes
checking build system type... Invalid configuration
`/usr/src/linux-headers-5.4.256-rtai-amd64_5.4.256-rtai-amd64-1_amd64.deb':
machine `/usr/src/linux-headers-5.4.256-rtai-amd64_5.4.256-rtai-amd64'
not recognized
configure: error: /bin/bash ./scripts/autoconf/config.sub
/usr/src/linux-headers-5.4.256-rtai-amd64_5.4.256-rtai-amd64-1_amd64.deb
failed
Error running configure.
--
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

Reply via email to