Ubuntu PPA Repository

More
8 years 1 month ago #117221 by Aesculap
Replied by Aesculap on topic Ubuntu PPA Repository
Reply 08/09/18

I have the same issue.

I have compiled 2 RT kernels [4.16.18-rt12 (after the latest stable) & 4.13.13-rt5 (before the latest stable)] for implementation on amd64 UBUNTU 18.04.1 (see screenshot below); I have not yet tried to create an NVIDIA driver module for either so that at the time of writing (and of the screenshot) the Nouveau Xorg driver is running at 2560 x 1440.

I have used both the Git-Hub master source and Jared's dedicated source for LinuxCNC, commencing with ./autogen.sh in ~/linuxcnc-dev/src (renamed in Jared's case (from 'recipe') after tar -xJfv of his 2.80 source archive).



There is a consistent failure after 'successful' compilation in the runtests script suite, involving the parsing of text strings in the HAL-compile module; the same 3 tests fail with all builds, but LinuxCNC runs without difficulty in simulation. Clearly nothing can be hooked up to it without HAL passing self-testing at this stage.

In passing, I have successfully determined (intercurrrently) LinuxCNC 2.80 with pre-empt kernel [rpi-4.14.66-rt*] to userspace completion with ALL tests passed; the build dependencies were satisfied in that ecosystem, possibly the relevant sources could be compiled for this project, TNYA.

Resolution of the dependency issues to allow full building would be most welcome. Perhaps a source *tar.gz of the required dependencies could be made available from Jared's Launchpad site in due course.

Regards

Please Log in or Create an account to join the conversation.

More
8 years 1 month ago #117320 by Aesculap
Replied by Aesculap on topic Ubuntu PPA Repository
Reply 11/09/18

Further to the foregoing information.

I have now extensively tested the various compilation alternatives under UBUNTU 18.04.1 with the amd64 RT:Pre-empt kernels indicated previously; the 4.13.13-rt5 (before the latest stable) is the faster.
LinuxCNC 2.80 builds without error in this order: ./configure uspace noauto, dpkg-checkbuilddeps, ./autogen.sh, ./configure --with-realtime=uspace, make clear, make -j4 | tee -a LinuxCNCMake.log [Note: this command may be used to send the terminal output to the *.log file preferred, LinuxCNCMake.log in this case], sudo make setuid, . ./scripts/rip-environment (the last from within the linuxcnc-dev (or top local linuxcnc directory) directory).
Satisfaction of any build dependencies will be forced by the above sequence; they will depend upon your local machine setup.
Following this, in order to have pyvcp and HAL-widget functionality in creating custom control layouts, etc. it will be necessary to install GTK2-compatible versions of both glade and glade-gtk2; this is easily possible via standard trusted repositories.
However, once the above satisfying steps have been completed, and the linuxcnc install appears to function perfectly, in every permutation tried, either using Jared's source or git-hub repository, the outcome of the runtests suite is the same, ie:

*** /home/administrator/linuxcnc-dev/tests/halcompile/extralib: FAIL: test run exited with 2
--- count-and-extra-args.expected 2018-09-07 03:03:14.000000000 +0930
+++ count-and-extra-args.result 2018-09-09 15:42:53.814071238 +0930
@@ -1,26 +0,0 @@
-count=2
-argc=2
-argv[0]=userspace_count_names
-argv[1]=zip
-argv[2]=(null)
-userspace-count-names.0.out
-userspace-count-names.1.out
-
-count=2
-argc=3
-argv[0]=userspace_count_names
-argv[1]=zip
-argv[2]=zap
-argv[3]=(null)
-userspace-count-names.0.out
-userspace-count-names.1.out
-
-count=2
-argc=3
-argv[0]=userspace_count_names
-argv[1]=zap
-argv[2]=zoot
-argv[3]=(null)
-userspace-count-names.0.out
-userspace-count-names.1.out
-
--- count=3.expected 2018-09-07 03:03:14.000000000 +0930
+++ count=3.result 2018-09-09 15:42:54.234110248 +0930
@@ -1,8 +0,0 @@
-count=3
-argc=1
-argv[0]=userspace_count_names
-argv[1]=(null)
-userspace-count-names.0.out
-userspace-count-names.1.out
-userspace-count-names.2.out
-
--- names-and-extra-args.expected 2018-09-07 03:03:14.000000000 +0930
+++ names-and-extra-args.result 2018-09-09 15:42:54.626146656 +0930
@@ -1,33 +0,0 @@
-count=0
-names[0]=swim
-names[1]=swish
-argc=3
-argv[0]=userspace_count_names
-argv[1]=slap
-argv[2]=slop
-argv[3]=(null)
-swim.out
-swish.out
-
-count=0
-names[0]=swat
-names[1]=swap
-argc=4
-argv[0]=userspace_count_names
-argv[1]=slam
-argv[2]=slalom
-argv[3]=slap
-argv[4]=(null)
-swap.out
-swat.out
-
-count=0
-names[0]=sock
-names[1]=slack
-argc=2
-argv[0]=userspace_count_names
-argv[1]=slip
-argv[2]=(null)
-slack.out
-sock.out
-
--- names.expected 2018-09-07 03:03:14.000000000 +0930
+++ names.result 2018-09-09 15:42:55.046185664 +0930
@@ -1,9 +0,0 @@
-count=0
-names[0]=bibble
-names[1]=bobble
-argc=1
-argv[0]=userspace_count_names
-argv[1]=(null)
-bibble.out
-bobble.out
-
--- no-args.expected 2018-09-07 03:03:14.000000000 +0930
+++ no-args.result 2018-09-09 15:42:55.442222444 +0930
@@ -1,6 +0,0 @@
-count=0
-argc=1
-argv[0]=userspace_count_names
-argv[1]=(null)
-userspace-count-names.0.out
-
*** /home/administrator/linuxcnc-dev/tests/halcompile/userspace-count-names: FAIL: checkresult exited with 1
*** /home/administrator/linuxcnc-dev/tests/halcompile/userspace: FAIL: test run exited with 2
loadrt found the test component, and it failed to load
Runtest: 224 tests run, 221 successful, 3 failed + 0 expected
Failed:
/home/administrator/linuxcnc-dev/tests/halcompile/extralib
/home/administrator/linuxcnc-dev/tests/halcompile/userspace-count-names
/home/administrator/linuxcnc-dev/tests/halcompile/userspace

The failure of these tests may not be significant; everything seems to work, particularly after the glade/glade-GTK2 dependencies are satisfied.
It would be wonderful if one of the senior developers close to the code could indicate the likely cause(s), and their significance; at this stage, a faulty data structure, and/or the parsing of that data due to incorrect pointers seems most likely.
Additionally, I have installed 2.80 directly from Jared's repository (ie as he recommends via sudo apt-get *) after correcting the missing dependencies identified during that process; the outcome of the runtests suite is the same.
I have not found any references to the outcome of the post-installation runtests (these or any) or their relationship to any as yet undetermined defects.

Regards

Please Log in or Create an account to join the conversation.

More
6 years 8 months ago #156370 by sacarde
Replied by sacarde on topic Ubuntu PPA Repository
hi,
in a ubuntu18.04 I install ppa: ppa.launchpad.net/szechyjs/linuxcnc/ubuntu bionic InRelease

but when I run: sudo apt-get install linuxcnc-uspace
I have:

Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
linuxcnc-uspace : Depends: python2.7-imaging but it is not installable or
python-imaging but it is not installable
Depends: python-gst0.10 but it is not installable
Depends: gstreamer0.10-plugins-base but it is not installable
Recommends: linuxcnc-doc-en but it is not going to be installed or
linuxcnc-doc
Recommends: hostmot2-firmware-all but it is not installable
Recommends: linux-image-rt-amd64 but it is not installable
E: Unable to correct problems, you have held broken packages.


what is the problem?

thank you

Please Log in or Create an account to join the conversation.

More
6 years 8 months ago #156388 by tommylight
Replied by tommylight on topic Ubuntu PPA Repository
Please check if that is the official repository, and you also need to enable source code repositories in the software sources from the administration menu.

Please Log in or Create an account to join the conversation.

More
6 years 8 months ago #156429 by sacarde
Replied by sacarde on topic Ubuntu PPA Repository
now I have this sources.list
Code:
deb http://it.archive.ubuntu.com/ubuntu/ bionic main restricted deb-src http://it.archive.ubuntu.com/ubuntu/ bionic universe main restricted multiverse deb http://it.archive.ubuntu.com/ubuntu/ bionic-updates main restricted deb-src http://it.archive.ubuntu.com/ubuntu/ bionic-updates universe main restricted multiverse deb http://it.archive.ubuntu.com/ubuntu/ bionic universe deb http://it.archive.ubuntu.com/ubuntu/ bionic-updates universe deb http://it.archive.ubuntu.com/ubuntu/ bionic multiverse deb http://it.archive.ubuntu.com/ubuntu/ bionic-updates multiverse deb http://it.archive.ubuntu.com/ubuntu/ bionic-backports main restricted universe multiverse deb-src http://it.archive.ubuntu.com/ubuntu/ bionic-backports main restricted universe multiverse deb http://archive.canonical.com/ubuntu bionic partner deb-src http://archive.canonical.com/ubuntu bionic partner deb http://security.ubuntu.com/ubuntu bionic-security main restricted deb-src http://security.ubuntu.com/ubuntu bionic-security universe main restricted multiverse deb http://security.ubuntu.com/ubuntu bionic-security universe deb http://security.ubuntu.com/ubuntu bionic-security multiverse deb http://ppa.launchpad.net/szechyjs/linuxcnc/ubuntu bionic main deb-src http://ppa.launchpad.net/szechyjs/linuxcnc/ubuntu bionic main

but problem remain

Please Log in or Create an account to join the conversation.

  • BeagleBrainz
  • New Member
  • New Member
More
6 years 8 months ago #156434 by BeagleBrainz
Replied by BeagleBrainz on topic Ubuntu PPA Repository

sacarde wrote: hi,
in a ubuntu18.04 I install ppa: ppa.launchpad.net/szechyjs/linuxcnc/ubuntu bionic InRelease

but when I run: sudo apt-get install linuxcnc-uspace
I have:

Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
linuxcnc-uspace : Depends: python2.7-imaging but it is not installable or
python-imaging but it is not installable
Depends: python-gst0.10 but it is not installable
Depends: gstreamer0.10-plugins-base but it is not installable
Recommends: linuxcnc-doc-en but it is not going to be installed or
linuxcnc-doc
Recommends: hostmot2-firmware-all but it is not installable
Recommends: linux-image-rt-amd64 but it is not installable
E: Unable to correct problems, you have held broken packages.


what is the problem?

thank you

Code:
The packages marked as Depends: xxxx but is not installable
Are not available in the Ubuntu repo. I have no idea where the maintainer sourced these files from

Please Log in or Create an account to join the conversation.

Time to create page: 0.342 seconds
Powered by Kunena Forum