#1071425 - verilator: No such file or directory at /usr/bin/verilator - Debian Bug report logs

Debian Bug report logs - #1071425
verilator: No such file or directory at /usr/bin/verilator

version graph

Package: verilator; Maintainer for verilator is Debian Electronics Team <pkg-electronics-devel@lists.alioth.debian.org>; Source for verilator is src:verilator (PTS, buildd, popcon).

Reported by: Bob Wong <ybx332@gmail.com>

Date: Sun, 19 May 2024 03:51:02 UTC

Severity: serious

Tags: fixed-upstream

Found in version verilator/5.024-1

Fixed in version verilator/5.030-2

Done: أحمد المحمودي (Ahmed El-Mahmoudy) <aelmahmoudy@users.sourceforge.net>

Bug is archived. No further changes may be made.

Forwarded to https://github.com/verilator/verilator/issues/5140

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, ybx332@gmail.com, Debian Electronics Team <pkg-electronics-devel@lists.alioth.debian.org>:
Bug#1071425; Package verilator. (Sun, 19 May 2024 03:51:04 GMT) (full text, mbox, link).


Acknowledgement sent to Bob Wong <ybx332@gmail.com>:
New Bug report received and forwarded. Copy sent to ybx332@gmail.com, Debian Electronics Team <pkg-electronics-devel@lists.alioth.debian.org>. (Sun, 19 May 2024 03:51:04 GMT) (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: Bob Wong <ybx332@gmail.com>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: verilator: No such file or directory at /usr/bin/verilator
Date: Sun, 19 May 2024 11:49:24 +0800
Package: verilator
Version: 5.024-1
Severity: important
X-Debbugs-Cc: ybx332@gmail.com

Dear Maintainer,

*** Reporter, please consider answering these questions, where appropriate ***

   * What led up to the situation?
   * What exactly did you do (or not do) that was effective (or
     ineffective)?
   * What was the outcome of this action?
   * What outcome did you expect instead?

When I run verilator form command line, it gives me the error Can't exec
"/usr/bin/../share/verilator/bin/verilator": No such file or directory at
/usr/bin/verilator line 21. I looked at the package 5.020 and find out version
5.024 is missing files. There is no bin folder under share/verilator directory.
Also, the perl script for verilator seems to miss lots of lines. In the 5.020
version, there are 528 lines while in the 5.024 version there are only 22
lines. Please fix the package to make it usable again, and thanks for your
help.


-- System Information:
Debian Release: trixie/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 6.7.12-amd64 (SMP w/12 CPU threads; PREEMPT)
Locale: LANG=zh_CN.UTF-8, LC_CTYPE=zh_CN.UTF-8 (charmap=UTF-8), LANGUAGE=zh_CN:zh
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages verilator depends on:
ii  libjs-sphinxdoc          7.2.6-6
ii  perl                     5.38.2-4
ii  python3                  3.11.8-1
ii  sphinx-rtd-theme-common  2.0.0+dfsg-1

Versions of packages verilator recommends:
ii  libsystemc-dev  2.3.4-3

Versions of packages verilator suggests:
ii  gtkwave  3.3.118-0.1

-- no debconf information



Information forwarded to debian-bugs-dist@lists.debian.org, Debian Electronics Team <pkg-electronics-devel@lists.alioth.debian.org>:
Bug#1071425; Package verilator. (Sat, 25 May 2024 14:03:07 GMT) (full text, mbox, link).


Acknowledgement sent to Carsten Schoenert <c.schoenert@t-online.de>:
Extra info received and forwarded to list. Copy sent to Debian Electronics Team <pkg-electronics-devel@lists.alioth.debian.org>. (Sat, 25 May 2024 14:03:07 GMT) (full text, mbox, link).


Message #10 received at 1071425@bugs.debian.org (full text, mbox, reply):

From: Carsten Schoenert <c.schoenert@t-online.de>
To: Bob Wong <ybx332@gmail.com>, 1071425@bugs.debian.org
Subject: Re: Bug#1071425: verilator: No such file or directory at /usr/bin/verilator
Date: Sat, 25 May 2024 15:52:39 +0200
Control: forwarded -1 https://github.com/verilator/verilator/issues/5140
Control: severity -1 serious

Hello Bob,

Am Sun, May 19, 2024 at 11:49:24AM +0800 schrieb Bob Wong:
... 
> When I run verilator form command line, it gives me the error Can't exec
> "/usr/bin/../share/verilator/bin/verilator": No such file or directory at
> /usr/bin/verilator line 21. I looked at the package 5.020 and find out version
> 5.024 is missing files. There is no bin folder under share/verilator directory.
> Also, the perl script for verilator seems to miss lots of lines. In the 5.020
> version, there are 528 lines while in the 5.024 version there are only 22
> lines. Please fix the package to make it usable again, and thanks for your
> help.

I thought I did fixed this successfully, but obviously not.

Upstream did change the installation folder for the various verilator_*
scripts *and* binaries from /usr/bin to /usr/share/verilator/.
Which isn't correct as by FHS /usr/share is only intended for
architecture independent code.

https://refspecs.linuxfoundation.org/FHS_3.0/fhs/ch04s11.html

I raised an issue about this in the upstream bug tracker [1] as correcting
this needs a bit more work within the upstream code.
Until then you can use an older version picked from snapshot.debian.org.

[1] https://github.com/verilator/verilator/issues/5140

Regards
Carsten



Set Bug forwarded-to-address to 'https://github.com/verilator/verilator/issues/5140'. Request was from Carsten Schoenert <c.schoenert@t-online.de> to 1071425-submit@bugs.debian.org. (Sat, 25 May 2024 14:03:07 GMT) (full text, mbox, link).


Severity set to 'serious' from 'important' Request was from Carsten Schoenert <c.schoenert@t-online.de> to 1071425-submit@bugs.debian.org. (Sat, 25 May 2024 14:03:08 GMT) (full text, mbox, link).


Added tag(s) fixed-upstream. Request was from debian-bts-link@lists.debian.org to control@bugs.debian.org. (Thu, 24 Oct 2024 18:00:18 GMT) (full text, mbox, link).


Reply sent to أحمد المحمودي (Ahmed El-Mahmoudy) <aelmahmoudy@users.sourceforge.net>:
You have taken responsibility. (Tue, 10 Dec 2024 16:54:01 GMT) (full text, mbox, link).


Notification sent to Bob Wong <ybx332@gmail.com>:
Bug acknowledged by developer. (Tue, 10 Dec 2024 16:54:02 GMT) (full text, mbox, link).


Message #21 received at 1071425-close@bugs.debian.org (full text, mbox, reply):

From: Debian FTP Masters <ftpmaster@ftp-master.debian.org>
To: 1071425-close@bugs.debian.org
Subject: Bug#1071425: fixed in verilator 5.030-1
Date: Tue, 10 Dec 2024 16:50:29 +0000
[Message part 1 (text/plain, inline)]
Source: verilator
Source-Version: 5.030-1
Done: أحمد المحمودي (Ahmed El-Mahmoudy) <aelmahmoudy@users.sourceforge.net>

We believe that the bug you reported is fixed in the latest version of
verilator, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 1071425@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
أحمد المحمودي (Ahmed El-Mahmoudy) <aelmahmoudy@users.sourceforge.net> (supplier of updated verilator package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Mon, 09 Dec 2024 18:16:56 +0100
Source: verilator
Architecture: source
Version: 5.030-1
Distribution: unstable
Urgency: medium
Maintainer: Debian Electronics Team <pkg-electronics-devel@lists.alioth.debian.org>
Changed-By: أحمد المحمودي (Ahmed El-Mahmoudy) <aelmahmoudy@users.sourceforge.net>
Closes: 1071425
Changes:
 verilator (5.030-1) unstable; urgency=medium
 .
   * [b3eba13] New upstream version 5.030 (Closes: #1071425)
   * [77e508e] Update copyright years
   * [2f79e2d] d/changelog: remove trailing whitespace
Checksums-Sha1:
 a9c8661918a87309fcb0752dc79786374003622c 1901 verilator_5.030-1.dsc
 18a97e1188e9c6ba3e285c02eb0f5744802b93da 32881792 verilator_5.030.orig.tar.gz
 0e616e13edc2f237668d47142ac7dcc2a6eb2a7f 12488 verilator_5.030-1.debian.tar.xz
 94846c74890cb2dd00ca5093a488f186cc995644 8794 verilator_5.030-1_source.buildinfo
Checksums-Sha256:
 57e08dff4c86d511d928cb3d576be02596d2aad5eb3120f74f933372fb6827db 1901 verilator_5.030-1.dsc
 0b4ecb8aa112d68ae53bfb38d8ea7cdbf99df82e065034db8d3179e39327bd67 32881792 verilator_5.030.orig.tar.gz
 9275ecc48db1762bcaa95cd161c75f1f81ed04ebbc76b77efec763a03c4b9213 12488 verilator_5.030-1.debian.tar.xz
 51a0117b56f1edbfce63557b706335044273f339cff1fbfae853ed0a88f2efb8 8794 verilator_5.030-1_source.buildinfo
Files:
 22790d6d200cf9a4675480369d24d560 1901 electronics optional verilator_5.030-1.dsc
 47bc795bf3124e450764c885fa59b4c3 32881792 electronics optional verilator_5.030.orig.tar.gz
 a8c1dd497b7de70bd364c5cda43828e0 12488 electronics optional verilator_5.030-1.debian.tar.xz
 36b78e830b9a7465135a8c94e2f208a9 8794 electronics optional verilator_5.030-1_source.buildinfo

-----BEGIN PGP SIGNATURE-----

iQFWBAEBCgBAFiEEggahliCEfm0N+LF2vBlqlO3dobcFAmdYbksiHGFlbG1haG1v
dWR5QHVzZXJzLnNvdXJjZWZvcmdlLm5ldAAKCRC8GWqU7d2htyyyB/9NYgqL7EOe
2hgp7n8RSAdC01C+lDDJ0LdWGWeny9i5YS5QQjE4eKjFCDj9K3bWaQJ4JPrVopD0
wFlXBRzKs2qFOIaCLzxwTz+P9eetrTcfWskk67V4qdj5loV9Of7IbRAaVqFmlJfS
kJ7a3KQB9Tr8BLbpZCD87iHattZh7utVAXXtNgVqnlBJraGv3gy0mUs5SDKIkwuT
o3ae35o81pl3InPFYmnn0HQEbHLRdn3ZJF2CRj2+V61SekhrqLbaKBIWl281ST/2
lQeC8yiP7xxmMzSlGHTeqyeBRunwybsDNE/NjqKVvAd0Tv4nfzBNz0Yiaa/pDhSd
PL0/dY6d6aAH
=7mmn
-----END PGP SIGNATURE-----

[Message part 2 (application/pgp-signature, inline)]

Bug reopened Request was from أحمد المحمودي (Ahmed El-Mahmoudy) <aelmahmoudy@users.sourceforge.net> to control@bugs.debian.org. (Thu, 19 Dec 2024 10:54:01 GMT) (full text, mbox, link).


No longer marked as fixed in versions verilator/5.030-1. Request was from أحمد المحمودي (Ahmed El-Mahmoudy) <aelmahmoudy@users.sourceforge.net> to control@bugs.debian.org. (Thu, 19 Dec 2024 10:54:01 GMT) (full text, mbox, link).


Reply sent to أحمد المحمودي (Ahmed El-Mahmoudy) <aelmahmoudy@users.sourceforge.net>:
You have taken responsibility. (Thu, 19 Dec 2024 15:57:02 GMT) (full text, mbox, link).


Notification sent to Bob Wong <ybx332@gmail.com>:
Bug acknowledged by developer. (Thu, 19 Dec 2024 15:57:02 GMT) (full text, mbox, link).


Message #30 received at 1071425-close@bugs.debian.org (full text, mbox, reply):

From: Debian FTP Masters <ftpmaster@ftp-master.debian.org>
To: 1071425-close@bugs.debian.org
Subject: Bug#1071425: fixed in verilator 5.030-2
Date: Thu, 19 Dec 2024 15:55:08 +0000
[Message part 1 (text/plain, inline)]
Source: verilator
Source-Version: 5.030-2
Done: أحمد المحمودي (Ahmed El-Mahmoudy) <aelmahmoudy@users.sourceforge.net>

We believe that the bug you reported is fixed in the latest version of
verilator, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 1071425@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
أحمد المحمودي (Ahmed El-Mahmoudy) <aelmahmoudy@users.sourceforge.net> (supplier of updated verilator package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Thu, 19 Dec 2024 16:24:40 +0100
Source: verilator
Architecture: source
Version: 5.030-2
Distribution: unstable
Urgency: medium
Maintainer: Debian Electronics Team <pkg-electronics-devel@lists.alioth.debian.org>
Changed-By: أحمد المحمودي (Ahmed El-Mahmoudy) <aelmahmoudy@users.sourceforge.net>
Closes: 1071425 1090785
Changes:
 verilator (5.030-2) unstable; urgency=medium
 .
   * [f0f19fb] Add make-hello-c test
   * [1c1671f] d/control: add g++ dependency
   * [d46d849] d/control: add ccache to deps
   * [d72c87e] d/rules: Remove override_dh_install target
     upstream no longer installs binaries in data_dir/bin, but it installs a
     redirect.tmp file there (Closes: #1090785, #1071425)
Checksums-Sha1:
 24506066aaa06abc2f1724fed7c9a37a86207329 1924 verilator_5.030-2.dsc
 da72b21a75ab6bff34cb90033a2f0e76e97dfb7f 12688 verilator_5.030-2.debian.tar.xz
 33089cc135a68904ba7d7c2a6f5498e2ca5a6879 8794 verilator_5.030-2_source.buildinfo
Checksums-Sha256:
 216852633256bd9516f2581ab18917b51997c15dc0f0591ed84e88ea58a722c4 1924 verilator_5.030-2.dsc
 335be34549103b13a7cf24c6fd0270a37b262d0da5879673907f086500b655fc 12688 verilator_5.030-2.debian.tar.xz
 55a45236a4af02c362b7702cacde834cae5edebe11c9eda593488aa0ac2961b6 8794 verilator_5.030-2_source.buildinfo
Files:
 792ce03a95ed8725aa93914029b30607 1924 electronics optional verilator_5.030-2.dsc
 d78fb6209756cc0507b08c773c121045 12688 electronics optional verilator_5.030-2.debian.tar.xz
 a248f75a3c99fb8c0904117527207043 8794 electronics optional verilator_5.030-2_source.buildinfo

-----BEGIN PGP SIGNATURE-----

iQFWBAEBCgBAFiEEggahliCEfm0N+LF2vBlqlO3dobcFAmdkO4YiHGFlbG1haG1v
dWR5QHVzZXJzLnNvdXJjZWZvcmdlLm5ldAAKCRC8GWqU7d2ht7sLB/9msoPSuFh2
3R+7SkWT00wYvENkDIpG2pP8VFiYSQ/oB4ATdlcElMDnGQKb3i/uTFSOVRcdeXFv
nteuEaTBPO619CjZXhajGUekLOohagSeoNhbGdQTHX7N9+wdqfzliuTd/x5HSBJK
ugJSAm/eUfYvS+DUHHxAKF4DIp0LKXoptZ0MgcAdkQmGb6a1Mm5r1AliEn0NsjIa
Qcd6MJec0ofBXYSF2foGgP5y8aTe5dhuEF7S5x0GM74Tdk0LvoA7p3x2yZo23FX/
h2c09I+XcLzaF1/zctLakH7eeUGMXPYBZyJdBeCtzNZKzsopepdRX6cSparuXVHO
YpUGevzL3vit
=hmyj
-----END PGP SIGNATURE-----

[Message part 2 (application/pgp-signature, inline)]

Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Sun, 19 Jan 2025 07:25:21 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Mon Feb 17 17:27:13 2025; Machine Name: bembo

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU General Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.