[package - 132arm64-default][devel/lattice-ice40-examples-hx8k] Failed for lattice-ice40-examples-hx8k-g20180310_2 in build

From: <pkg-fallout_at_FreeBSD.org>
Date: Wed, 28 Feb 2024 14:42:08 UTC
You are receiving this mail as a port that you maintain
is failing to build on the FreeBSD package build server.
Please investigate the failure and submit a PR to fix
build.

Maintainer:     manu@FreeBSD.org
Log URL:        https://pkg-status.freebsd.org/ampere3/data/132arm64-default/74acf3311b89/logs/lattice-ice40-examples-hx8k-g20180310_2.log
Build URL:      https://pkg-status.freebsd.org/ampere3/build.html?mastername=132arm64-default&build=74acf3311b89
Log:

=>> Building devel/lattice-ice40-examples-hx8k
build started at Wed Feb 28 14:41:16 UTC 2024
port directory: /usr/ports/devel/lattice-ice40-examples-hx8k
package name: lattice-ice40-examples-hx8k-g20180310_2
building for: FreeBSD 132arm64-default-job-09 13.2-RELEASE-p10 FreeBSD 13.2-RELEASE-p10 arm64
maintained by: manu@FreeBSD.org
Makefile datestamp: -rw-r--r--  1 root  wheel  1434 Apr 27  2023 /usr/ports/devel/lattice-ice40-examples-hx8k/Makefile
Ports top last git commit: 74acf3311b
Ports top unclean checkout: no
Port dir last git commit: 8d3e020ed0
Port dir unclean checkout: no
Poudriere version: poudriere-git-3.4.1-1-g1e9f97d6
Host OSVERSION: 1500006
Jail OSVERSION: 1302001
Job Id: 09

---Begin Environment---
SHELL=/bin/csh
OSVERSION=1302001
UNAME_v=FreeBSD 13.2-RELEASE-p10
UNAME_r=13.2-RELEASE-p10
BLOCKSIZE=K
MAIL=/var/mail/root
MM_CHARSET=UTF-8
LANG=C.UTF-8
STATUS=1
HOME=/root
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin
MAKE_OBJDIR_CHECK_WRITABLE=0
LOCALBASE=/usr/local
USER=root
POUDRIERE_NAME=poudriere-git
LIBEXECPREFIX=/usr/local/libexec/poudriere
POUDRIERE_VERSION=3.4.1-1-g1e9f97d6
MASTERMNT=/usr/local/poudriere/data/.m/132arm64-default/ref
LC_COLLATE=C
POUDRIERE_BUILD_TYPE=bulk
PACKAGE_BUILDING=yes
SAVED_TERM=
OUTPUT_REDIRECTED_STDERR=4
OUTPUT_REDIRECTED=1
PWD=/usr/local/poudriere/data/.m/132arm64-default/09/.p
OUTPUT_REDIRECTED_STDOUT=3
P_PORTS_FEATURES=FLAVORS SUBPACKAGES SELECTED_OPTIONS
MASTERNAME=132arm64-default
SCRIPTPREFIX=/usr/local/share/poudriere
SCRIPTNAME=bulk.sh
OLDPWD=/usr/local/poudriere/data/.m/132arm64-default/ref/.p/pool
POUDRIERE_PKGNAME=poudriere-git-3.4.1-1-g1e9f97d6
SCRIPTPATH=/usr/local/share/poudriere/bulk.sh
POUDRIEREPATH=/usr/local/bin/poudriere
---End Environment---

---Begin Poudriere Port Flags/Env---
PORT_FLAGS=
PKGENV=
FLAVOR=
MAKE_ARGS=
---End Poudriere Port Flags/Env---

---Begin OPTIONS List---
---End OPTIONS List---

--MAINTAINER--
manu@FreeBSD.org
--End MAINTAINER--

--CONFIGURE_ARGS--

--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
MAKE=gmake XDG_DATA_HOME=/wrkdirs/usr/ports/devel/lattice-ice40-examples-hx8k/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/devel/lattice-ice40-examples-hx8k/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/devel/lattice-ice40-examples-hx8k/work/.cache  HOME=/wrkdirs/usr/ports/devel/lattice-ice40-examples-hx8k/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/devel/lattice-ice40-examples-hx8k/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/devel/lattice-ice40-examples-hx8k/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig SHELL=/bin/sh CONFIG_SHELL=/bin/sh
--End CONFIGURE_ENV--

--MAKE_ENV--
XDG_DATA_HOME=/wrkdirs/usr/ports/devel/lattice-ice40-examples-hx8k/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/devel/lattice-ice40-examples-hx8k/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/devel/lattice-ice40-examples-hx8k/work/.cache  HOME=/wrkdirs/usr/ports/devel/lattice-ice40-examples-hx8k/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/devel/lattice-ice40-examples-hx8k/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/devel/lattice-ice40-examples-hx8k/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES PREFIX=/usr/local  LOCALBASE=/usr/local  CC="cc" CFLAGS="-O2 -pipe  -fstack-protector-strong -fno-strict-aliasing "  CPP="cpp" CPPFLAGS=""  LDFLAGS=" -fstack-protector-strong " LIBS=""  CXX="c++" CXXFLAGS="-O2 -pipe -fstack-protector-strong -fno-strict-aliasing  " BSD_INSTALL_PROGRAM="install  -s -m 555"  BSD_IN
STALL_LIB="install  -s -m 0644"  BSD_INSTALL_SCRIPT="install  -m 555"  BSD_INSTALL_DATA="install  -m 0644"  BSD_INSTALL_MAN="install  -m 444"
--End MAKE_ENV--

--PLIST_SUB--
OSREL=13.2 PREFIX=%D LOCALBASE=/usr/local  RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/lattice-ice40-examples-hx8k"  EXAMPLESDIR="share/examples/lattice-ice40-olimex"  DATADIR="share/lattice-ice40-examples-hx8k"  WWWDIR="www/lattice-ice40-examples-hx8k"  ETCDIR="etc/lattice-ice40-examples-hx8k"
--End PLIST_SUB--

--SUB_LIST--
PREFIX=/usr/local LOCALBASE=/usr/local  DATADIR=/usr/local/share/lattice-ice40-examples-hx8k DOCSDIR=/usr/local/share/doc/lattice-ice40-examples-hx8k EXAMPLESDIR=/usr/local/share/examples/lattice-ice40-olimex  WWWDIR=/usr/local/www/lattice-ice40-examples-hx8k ETCDIR=/usr/local/etc/lattice-ice40-examples-hx8k
--End SUB_LIST--

---Begin make.conf---
USE_PACKAGE_DEPENDS=yes
BATCH=yes
WRKDIRPREFIX=/wrkdirs
PORTSDIR=/usr/ports
PACKAGES=/packages
DISTDIR=/distfiles
PACKAGE_BUILDING=yes
PACKAGE_BUILDING_FLAVORS=yes
####  ####
# XXX: We really need this but cannot use it while 'make checksum' does not
# try the next mirror on checksum failure.  It currently retries the same
# failed mirror and then fails rather then trying another.  It *does*
# try the next if the size is mismatched though.
#MASTER_SITE_FREEBSD=yes
# Build ALLOW_MAKE_JOBS_PACKAGES with 3 jobs
MAKE_JOBS_NUMBER=3
#### Misc Poudriere ####
.include "/etc/make.conf.ports_env"
GID=0
UID=0
---End make.conf---
--Resource limits--
cpu time               (seconds, -t)  unlimited
file size           (512-blocks, -f)  unlimited
data seg size           (kbytes, -d)  1048576
stack size              (kbytes, -s)  1048576
core file size      (512-blocks, -c)  unlimited
max memory size         (kbytes, -m)  unlimited
locked memory           (kbytes, -l)  unlimited
max user processes              (-u)  89999
open files                      (-n)  8192
virtual mem size        (kbytes, -v)  unlimited
swap limit              (kbytes, -w)  unlimited
socket buffer size       (bytes, -b)  unlimited
pseudo-terminals                (-p)  unlimited
kqueues                         (-k)  unlimited
umtx shared locks               (-o)  unlimited
--End resource limits--
=======================<phase: check-sanity   >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>  License APACHE20 accepted by the user
===========================================================================
=======================<phase: pkg-depends    >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===>   lattice-ice40-examples-hx8k-g20180310_2 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.20.9_1.pkg
[132arm64-default-job-09] Installing pkg-1.20.9_1...
[132arm64-default-job-09] Extracting pkg-1.20.9_1: .......... done
===>   lattice-ice40-examples-hx8k-g20180310_2 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of lattice-ice40-examples-hx8k-g20180310_2
===========================================================================
=======================<phase: fetch-depends  >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===========================================================================
=======================<phase: fetch          >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>  License APACHE20 accepted by the user
===> Fetching all distfiles required by lattice-ice40-examples-hx8k-g20180310_2 for building
===========================================================================
=======================<phase: checksum       >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>  License APACHE20 accepted by the user
===> Fetching all distfiles required by lattice-ice40-examples-hx8k-g20180310_2 for building
=> SHA256 Checksum OK for OLIMEX-iCE40HX8K-EVB-g20180310-ae283711fc6c18f1905d0abf78195aed191ce612_GH0.tar.gz.
===========================================================================
=======================<phase: extract-depends>============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===========================================================================
=======================<phase: extract        >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>  License APACHE20 accepted by the user
===> Fetching all distfiles required by lattice-ice40-examples-hx8k-g20180310_2 for building
===>  Extracting for lattice-ice40-examples-hx8k-g20180310_2
=> SHA256 Checksum OK for OLIMEX-iCE40HX8K-EVB-g20180310-ae283711fc6c18f1905d0abf78195aed191ce612_GH0.tar.gz.
===========================================================================
=======================<phase: patch-depends  >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===========================================================================
=======================<phase: patch          >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>  Patching for lattice-ice40-examples-hx8k-g20180310_2
===========================================================================
=======================<phase: build-depends  >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===>   lattice-ice40-examples-hx8k-g20180310_2 depends on executable: abc - not found
===>   Installing existing package /packages/All/abc-g20220920.pkg
[132arm64-default-job-09] Installing abc-g20220920...
[132arm64-default-job-09] `-- Installing readline-8.2.7_1...
[132arm64-default-job-09] |   `-- Installing indexinfo-0.3.1...
[132arm64-default-job-09] |   `-- Extracting indexinfo-0.3.1: .... done
[132arm64-default-job-09] `-- Extracting readline-8.2.7_1: .......... done
[132arm64-default-job-09] Extracting abc-g20220920: ..... done
===>   lattice-ice40-examples-hx8k-g20180310_2 depends on executable: abc - found
===>   Returning to build of lattice-ice40-examples-hx8k-g20180310_2
===>   lattice-ice40-examples-hx8k-g20180310_2 depends on executable: arachne-pnr - not found
===>   Installing existing package /packages/All/arachne-pnr-g20181021_3.pkg
[132arm64-default-job-09] Installing arachne-pnr-g20181021_3...
[132arm64-default-job-09] Extracting arachne-pnr-g20181021_3: ......... done
=====
Message from arachne-pnr-g20181021_3:

--
===>   NOTICE:

The arachne-pnr port currently does not have a maintainer. As a result, it is
more likely to have unresolved issues, not be up-to-date, or even be removed in
the future. To volunteer to maintain this port, please create an issue at:

https://bugs.freebsd.org/bugzilla

More information about port maintainership is available at:
<snip>
Generating RTLIL representation for module `\$_DFFE_PP0P_'.
Generating RTLIL representation for module `\$_DFFE_PP1P_'.
Generating RTLIL representation for module `\$_SDFF_NP0_'.
Generating RTLIL representation for module `\$_SDFF_NP1_'.
Generating RTLIL representation for module `\$_SDFF_PP0_'.
Generating RTLIL representation for module `\$_SDFF_PP1_'.
Generating RTLIL representation for module `\$_SDFFCE_NP0P_'.
Generating RTLIL representation for module `\$_SDFFCE_NP1P_'.
Generating RTLIL representation for module `\$_SDFFCE_PP0P_'.
Generating RTLIL representation for module `\$_SDFFCE_PP1P_'.
Successfully finished Verilog frontend.

2.44.2. Continuing TECHMAP pass.
No more expansions possible.
<suppressed ~22 debug messages>
Removed 19 unused cells and 727 unused wires.

2.45. Executing OPT_LUT pass (optimize LUTs).
Discovering LUTs.
Number of LUTs:       60
  1-LUT                6
  2-LUT                9
  3-LUT               42
  4-LUT                3
  with \SB_CARRY    (#0)   36
  with \SB_CARRY    (#1)   36

Eliminating LUTs.
Number of LUTs:       60
  1-LUT                6
  2-LUT                9
  3-LUT               42
  4-LUT                3
  with \SB_CARRY    (#0)   36
  with \SB_CARRY    (#1)   36

Combining LUTs.
Number of LUTs:       59
  1-LUT                6
  2-LUT                8
  3-LUT               42
  4-LUT                3
  with \SB_CARRY    (#0)   36
  with \SB_CARRY    (#1)   36

Eliminated 0 LUTs.
Combined 1 LUTs.
<suppressed ~268 debug messages>

2.46. Executing TECHMAP pass (map to technology primitives).

2.46.1. Executing Verilog-2005 frontend: /usr/local/bin/../share/yosys/ice40/cells_map.v
Parsing Verilog input from `/usr/local/bin/../share/yosys/ice40/cells_map.v' to AST representation.
Generating RTLIL representation for module `\$lut'.
Successfully finished Verilog frontend.

2.46.2. Continuing TECHMAP pass.
Using template $paramod$d151c38cd9b2f723ca2e7bae80e30ea6d32d7878\$lut for cells of type $lut.
Using template $paramod$fd904e9e35cfd343a9df248824bd3f1408724879\$lut for cells of type $lut.
Using template $paramod\$lut\WIDTH=32'00000000000000000000000000000010\LUT=4'0010 for cells of type $lut.
Using template $paramod$571404c0889eaf57f492cb5e37f8acb5df5852f9\$lut for cells of type $lut.
Using template $paramod\$lut\WIDTH=32'00000000000000000000000000000010\LUT=4'1000 for cells of type $lut.
Using template $paramod\$lut\WIDTH=32'00000000000000000000000000000011\LUT=8'10000000 for cells of type $lut.
Using template $paramod$f9813472aa48e533b3838c6f2316dc2e78c66111\$lut for cells of type $lut.
Using template $paramod\$lut\WIDTH=32'00000000000000000000000000000011\LUT=8'11100100 for cells of type $lut.
Using template $paramod\$lut\WIDTH=32'00000000000000000000000000000001\LUT=2'01 for cells of type $lut.
Using template $paramod\$lut\WIDTH=32'00000000000000000000000000000011\LUT=8'00000010 for cells of type $lut.
Using template $paramod\$lut\WIDTH=32'00000000000000000000000000000010\LUT=4'1101 for cells of type $lut.
Using template $paramod\$lut\WIDTH=32'00000000000000000000000000000010\LUT=4'0001 for cells of type $lut.
Using template $paramod\$lut\WIDTH=32'00000000000000000000000000000011\LUT=8'00010000 for cells of type $lut.
Using template $paramod\$lut\WIDTH=32'00000000000000000000000000000011\LUT=8'10111010 for cells of type $lut.
Using template $paramod\$lut\WIDTH=32'00000000000000000000000000000010\LUT=4'0100 for cells of type $lut.
No more expansions possible.
<suppressed ~257 debug messages>
Removed 0 unused cells and 123 unused wires.

2.47. Executing AUTONAME pass.
Renamed 973 objects in module top (38 iterations).
<suppressed ~260 debug messages>

2.48. Executing HIERARCHY pass (managing design hierarchy).

2.48.1. Analyzing design hierarchy..
Top module:  \top

2.48.2. Analyzing design hierarchy..
Top module:  \top
Removed 0 unused modules.

2.49. Printing statistics.

=== top ===

   Number of wires:                119
   Number of wire bits:            170
   Number of public wires:         119
   Number of public wire bits:     170
   Number of memories:               0
   Number of memory bits:            0
   Number of processes:              0
   Number of cells:                157
     SB_CARRY                       49
     SB_DFF                         16
     SB_DFFE                         1
     SB_DFFESR                      15
     SB_DFFESS                       1
     SB_DFFSR                       16
     SB_LUT4                        59

2.50. Executing CHECK pass (checking for obvious problems).
Checking module top...
Found and reported 0 problems.

2.51. Executing BLIF backend.

End of script. Logfile hash: 4da37ec896, CPU: user 1.98s system 0.07s, MEM: 38.41 MB peak
Yosys 0.38 (git sha1 543faed9c8c, c++ 14.0.5 -O2 -fstack-protector-strong -fno-strict-aliasing -fPIC -Os)
Time spent: 58% 21x read_verilog (1 sec), 5% 23x opt_clean (0 sec), ...
arachne-pnr -d 8k -o example.asc -p ice40hx8k-evb.pcf example.blif -P ct256
seed: 1
device: 8k
read_chipdb +/share/arachne-pnr/chipdb-8k.bin...
  supported packages: bg121, bg121:4k, cb132, cb132:4k, cm121, cm121:4k, cm225, cm225:4k, cm81, cm81:4k, ct256, tq144:4k
read_blif example.blif...
prune...
read_pcf ice40hx8k-evb.pcf...
instantiate_io...
pack...

After packing:
IOs          5 / 206
GBs          0 / 8
  GB_IOs     0 / 8
LCs          85 / 7680
  DFF        16
  CARRY      20
  CARRY, DFF 33
  DFF PASS   4
  CARRY PASS 6
BRAMs        0 / 32
WARMBOOTs    0 / 1
PLLs         0 / 2

place_constraints...
promote_globals...
  promoted clk_24KHz, 38 / 38
  promoted LED1_m1_r_SB_DFFESS_Q_E_SB_LUT4_O_I3_SB_LUT4_I3_O, 17 / 17
  promoted BUT2_r_SB_LUT4_I2_O[1], 16 / 17
  promoted reset_SB_LUT4_I2_1_O, 14 / 14
  promoted CLK$2, 12 / 12
  promoted 5 nets
    2 sr/we
    1 cen/wclke
    2 clk
  5 globals
    2 sr/we
    1 cen/wclke
    2 clk
realize_constants...
  realized 1
place...
  initial wire length = 1420
  at iteration #50: temp = 13.704, wire length = 778
  at iteration #100: temp = 8.20507, wire length = 562
  at iteration #150: temp = 3.43071, wire length = 261
  at iteration #200: temp = 0.951643, wire length = 195
  final wire length = 158

After placement:
PIOs       8 / 206
PLBs       21 / 960
BRAMs      0 / 32

  place time 0.27s
route...
  pass 1, 0 shared.

After routing:
span_4     37 / 29696
span_12    17 / 5632

  route time 0.34s
write_txt example.asc...
icetime -d hx8k -mtr example.rpt example.asc
icepack example.asc example.bin
// Reading input .asc file..
// Reading 8k chipdb file..
// Creating timing netlist..
// Timing estimate: 8.17 ns (122.36 MHz)
rm example.blif example.asc
gmake[1]: Leaving directory '/wrkdirs/usr/ports/devel/lattice-ice40-examples-hx8k/work/iCE40HX8K-EVB-ae283711fc6c18f1905d0abf78195aed191ce612/demo/ice40hx8k-evb'
/usr/bin/env XDG_DATA_HOME=/wrkdirs/usr/ports/devel/lattice-ice40-examples-hx8k/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/devel/lattice-ice40-examples-hx8k/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/devel/lattice-ice40-examples-hx8k/work/.cache  HOME=/wrkdirs/usr/ports/devel/lattice-ice40-examples-hx8k/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/devel/lattice-ice40-examples-hx8k/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/devel/lattice-ice40-examples-hx8k/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES PREFIX=/usr/local  LOCALBASE=/usr/local  CC="cc" CFLAGS="-O2 -pipe  -fstack-protector-strong -fno-strict-aliasing "  CPP="cpp" CPPFLAGS=""  LDFLAGS=" -fstack-protector-strong " LIBS=""  CXX="c++" CXXFLAGS="-O2 -pipe -fstack-protector-strong -fno-strict-aliasing  " BSD_INSTALL_PROGRAM="install  -s -m
 555"  BSD_INSTALL_LIB="install  -s -m 0644"  BSD_INSTALL_SCRIPT="install  -m 555"  BSD_INSTALL_DATA="install  -m 0644"  BSD_INSTALL_MAN="install  -m 444" gmake -f Makefile -j3  -C /wrkdirs/usr/ports/devel/lattice-ice40-examples-hx8k/work/iCE40HX8K-EVB-ae283711fc6c18f1905d0abf78195aed191ce612/demo/ice40-io-video
gmake[1]: Entering directory '/wrkdirs/usr/ports/devel/lattice-ice40-examples-hx8k/work/iCE40HX8K-EVB-ae283711fc6c18f1905d0abf78195aed191ce612/demo/ice40-io-video'
yosys -p 'synth_ice40 -top top -blif example.blif' example.v
gmake[1]: *** [Makefile:8: example.blif] Segmentation fault (core dumped)
gmake[1]: Leaving directory '/wrkdirs/usr/ports/devel/lattice-ice40-examples-hx8k/work/iCE40HX8K-EVB-ae283711fc6c18f1905d0abf78195aed191ce612/demo/ice40-io-video'
*** Error code 2

Stop.
make: stopped in /usr/ports/devel/lattice-ice40-examples-hx8k