[Pkg-electronics-devel] Bug#1003968: fpga-icestorm: icetime looking in wrong directory for chipdb files

Scott Ashcroft scott.ashcroft at talk21.com
Tue Jan 18 17:50:58 GMT 2022


Package: fpga-icestorm
Version: 0~20220102git3b7b199-1
Severity: normal

Dear Maintainer,

icetime seems to be looking in /usr/local/share/icebox and
/usr/bin/../share/icebox for chipdb files instead of /usr/share/fpga-
icestorm/chipdb.

icetime  -d icebreaker.pcf -d up5k -P sg48 -mtr pcm.rpt pcm.asc
// Reading input .asc file..
// Reading 5k chipdb file..
Can't find chipdb file for device 5k

Using strace the end of the trace shows it trying to open the file in
the wrong directory:

write(1, "// Reading 5k chipdb file..\n", 28) = 28
openat(AT_FDCWD, "/usr/local/share/icebox/chipdb-5k.txt", O_RDONLY) = -
1 ENOENT (No such file or directory)
readlink("/proc/self/exe", "/usr/bin/icetime", 4096) = 16
openat(AT_FDCWD, "/usr/bin/../share/icebox/chipdb-5k.txt", O_RDONLY) =
-1 ENOENT (No such file or directory)
write(2, "Can't find chipdb file for device 5k\n", 37) = 37
exit_group(1)                           = ?
+++ exited with 1 +++

Cheers,
Scott


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

Kernel: Linux 5.15.0-2-amd64 (SMP w/4 CPU threads)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8),
LANGUAGE=en_GB:en
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages fpga-icestorm depends on:
ii  libc6       2.33-2
ii  libftdi1    0.20-4+b1
ii  libgcc-s1   11.2.0-13
ii  libstdc++6  11.2.0-13
ii  python3     3.9.7-1

Versions of packages fpga-icestorm recommends:
ii  fpga-icestorm-chipdb  0~20190913git0ec00d8-2
ii  yosys                 0.9-2+b1

Versions of packages fpga-icestorm suggests:
pn  arachne-pnr  <none>

-- no debconf information



More information about the Pkg-electronics-devel mailing list