inxi 3.1.06-1-1 does not report Compiler an Desktop

Bug #1896071 reported by corrado venturini
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
inxi (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

inxi 3.1.06-1-1 does not report Compiler an Desktop: compiler: N/A Desktop: N/A

corrado@corrado-n4-gg-0905:~$ inxi -Sx
System: Host: corrado-n4-gg-0905 Kernel: 5.8.0-18-generic x86_64 bits: 64
           compiler: N/A Desktop: N/A
           Distro: Ubuntu 20.10 (Groovy Gorilla)
corrado@corrado-n4-gg-0905:~$ apt policy inxi
inxi:
  Installed: 3.1.06-1-1
  Candidate: 3.1.06-1-1
  Version table:
 *** 3.1.06-1-1 500
        500 http://archive.ubuntu.com/ubuntu groovy/universe amd64 Packages
        500 http://archive.ubuntu.com/ubuntu groovy/universe i386 Packages
        100 /var/lib/dpkg/status
corrado@corrado-n4-gg-0905:~$

while the old version reports: compiler: gcc v: 9.3.0 Desktop: Gnome 3.36.4

corrado@corrado-n5-focal:~$ inxi -Sx
System:
  Host: corrado-n5-focal Kernel: 5.4.0-45-generic x86_64 bits: 64
  compiler: gcc v: 9.3.0 Desktop: Gnome 3.36.4
  Distro: Ubuntu 20.04.1 LTS (Focal Fossa)
corrado@corrado-n5-focal:~$ apt policy inxi
inxi:
  Installed: 3.0.38-1-0ubuntu1
  Candidate: 3.0.38-1-0ubuntu1
  Version table:
 *** 3.0.38-1-0ubuntu1 500
        500 http://archive.ubuntu.com/ubuntu focal/universe amd64 Packages
        500 http://archive.ubuntu.com/ubuntu focal/universe i386 Packages
        100 /var/lib/dpkg/status
corrado@corrado-n5-focal:~$

full output follows:
corrado@corrado-n4-gg-0905:~$ inxi -Fxx
System: Host: corrado-n4-gg-0905 Kernel: 5.8.0-18-generic x86_64 bits: 64 compiler: N/A Desktop: N/A
           wm: gnome-shell dm: GDM3 Distro: Ubuntu 20.10 (Groovy Gorilla)
Machine: Type: Laptop System: Dell product: Inspiron 3793 v: N/A serial: <superuser/root required>
           Chassis: type: 10 serial: <superuser/root required>
           Mobo: Dell model: 0C1PF2 v: A00 serial: <superuser/root required> UEFI: Dell v: 1.5.0
           date: 12/17/2019
Battery: ID-1: BAT0 charge: 24.7 Wh condition: 37.1/42.0 Wh (88%) volts: 11.9/11.4
           model: SWD-ATL3.618 DELL WJPC403 serial: 6595 status: Discharging
CPU: Info: Quad Core model: Intel Core i5-1035G1 bits: 64 type: MT MCP arch: Ice Lake rev: 5
           L2 cache: 6144 KiB
           flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx bogomips: 19046
           Speed: 2604 MHz min/max: 400/3600 MHz Core speeds (MHz): 1: 3611 2: 564 3: 2342 4: 1094 5: 3027
           6: 3919 7: 3610 8: 2337
Graphics: Device-1: Intel Iris Plus Graphics G1 vendor: Dell driver: i915 v: kernel bus ID: 00:02.0
           chip ID: 8086:8a56
           Device-2: Realtek Integrated_Webcam_HD type: USB driver: uvcvideo bus ID: 1-6:3
           chip ID: 0bda:5520
           Display: x11 server: X.Org 1.20.8 compositor: gnome-shell driver: modesetting
           unloaded: fbdev,vesa resolution: 1920x1080~60Hz s-dpi: 96
           OpenGL: renderer: Mesa Intel UHD Graphics (ICL GT1) v: 4.6 Mesa 20.1.5 direct render: Yes
Audio: Device-1: Intel Smart Sound Audio vendor: Dell driver: snd_hda_intel v: kernel bus ID: 00:1f.3
           chip ID: 8086:34c8
           Sound Server: ALSA v: k5.8.0-18-generic
Network: Device-1: Realtek RTL810xE PCI Express Fast Ethernet vendor: Dell driver: r8169 v: kernel
           port: 3000 bus ID: 01:00.0 chip ID: 10ec:8136
           IF: enp1s0 state: down mac: 98:e7:43:59:19:19
           Device-2: Qualcomm Atheros QCA9377 802.11ac Wireless Network Adapter vendor: Dell
           driver: ath10k_pci v: kernel port: 3000 bus ID: 02:00.0 chip ID: 168c:0042
           IF: wlp2s0 state: up mac: d8:12:65:b8:21:b9
           Device-3: Qualcomm Atheros type: USB driver: btusb bus ID: 1-10:4 chip ID: 0cf3:e009
Drives: Local Storage: total: 476.94 GiB used: 10.57 GiB (2.2%)
           ID-1: /dev/nvme0n1 vendor: Toshiba model: KBG40ZNS512G NVMe KIOXIA 512GB size: 476.94 GiB
           speed: 31.6 Gb/s lanes: 4 serial: 201PD3JEPTML
Partition: ID-1: / size: 31.25 GiB used: 9.10 GiB (29.1%) fs: ext4 dev: /dev/nvme0n1p4
Swap: ID-1: swap-1 type: partition size: 8.00 GiB used: 0 KiB (0.0%) priority: -2 dev: /dev/nvme0n1p2
Sensors: System Temperatures: cpu: 54.0 C mobo: N/A
           Fan Speeds (RPM): cpu: 0
Info: Processes: 252 Uptime: 13m Memory: 7.55 GiB used: 1.32 GiB (17.4%) Init: systemd v: 246
           runlevel: 5 Compilers: gcc: 10.2.0 alt: 10 Packages: 1866 apt: 1860 snap: 6 Shell: Bash
           v: 5.0.17 running in: gnome-terminal inxi: 3.1.06
corrado@corrado-n4-gg-0905:~$

Revision history for this message
Harald Hope (lontact) wrote :

This is caused by a syntax change in /proc/version

Since I had no /proc/version for ubuntu I had to guess, the issue was resolved for the distros that I got to see samples from, but I have yet to see a /proc/version output for ubuntu kernel 5.8.

Note this is NOT a bug in inxi because the syntax in question has been stable ever since inxi offered the compiler version for kernel, this was a change done for unknown reasons, and in a non standard manner, and will require more /proc/version samples from different distros to fully cover.

Revision history for this message
corrado venturini (corradoventu) wrote :

Here a /proc/version from my Groovy w kernel 5.8
and the old one for reference

corrado@corrado-n4-gg-0905:~$ cat /proc/version
Linux version 5.8.0-18-generic (buildd@lgw01-amd64-057) (gcc (Ubuntu 10.2.0-5ubuntu2) 10.2.0, GNU ld (GNU Binutils for Ubuntu) 2.35) #19-Ubuntu SMP Wed Aug 26 15:26:32 UTC 2020
corrado@corrado-n4-gg-0905:~$

corrado@corrado-n5-focal:~$ cat /proc/version
Linux version 5.4.0-47-generic (buildd@lcy01-amd64-014) (gcc version 9.3.0 (Ubuntu 9.3.0-10ubuntu2)) #51-Ubuntu SMP Fri Sep 4 19:50:52 UTC 2020
corrado@corrado-n5-focal:~$

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in inxi (Ubuntu):
status: New → Confirmed
Revision history for this message
Harald Hope (lontact) wrote :

This issue is resolved in the pinxi branch, and will be in next inxi, 3.1.07, whenever that comes out, probably soon.

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package inxi - 3.1.07-1-1

---------------
inxi (3.1.07-1-1) unstable; urgency=medium

  * New upstream version 3.1.07-1.
    - Update for new syntax of kernel compiler version. (LP: #1896071)

 -- Unit 193 <email address hidden> Wed, 30 Sep 2020 21:11:00 -0400

Changed in inxi (Ubuntu):
status: Confirmed → Fix Released
Revision history for this message
corrado venturini (corradoventu) wrote :

NOT completely fixed, now compiler is reported but Desktop: N/A

corrado@corrado-p3-gg-0930:~$ apt policy inxi
inxi:
  Installed: 3.1.07-1-1
  Candidate: 3.1.07-1-1
  Version table:
 *** 3.1.07-1-1 500
        500 http://archive.ubuntu.com/ubuntu groovy/universe amd64 Packages
        500 http://archive.ubuntu.com/ubuntu groovy/universe i386 Packages
        100 /var/lib/dpkg/status
corrado@corrado-p3-gg-0930:~$ inxi -Sx
System:
  Host: corrado-p3-gg-0930 Kernel: 5.8.0-21-generic x86_64 bits: 64
  compiler: gcc v: 10.2.0 Desktop: N/A Distro: Ubuntu 20.10 (Groovy Gorilla)
corrado@corrado-p3-gg-0930:~$

Revision history for this message
Harald Hope (lontact) wrote :

Please DO NOT tack on totally unrelated issues, the desktop has NOTHING to do with the compiler. The compiler issue is fixed. If you have other issues, file an issue on github inxi, the desktop logic is totally unrelated, and can be quite complicated to debug, certainly not an appropriate issue for launchpad, file it where it will make a difference: https://github.com/smxi/inxi

Revision history for this message
corrado venturini (corradoventu) wrote :

My bug was about compiler AND Desktop, so this issues is not unrelated.
if You need I will a new bug for Desktop only.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.