Package Details: nextpnr-git r2504.ca733561-1

Git Clone URL: (read-only, click to copy)
Package Base: nextpnr-git
Description: Portable FPGA place and route tool
Upstream URL:
Licenses: custom:ISC
Conflicts: nextpnr
Provides: nextpnr
Submitter: grahamedgecombe
Maintainer: grahamedgecombe
Last Packager: grahamedgecombe
Votes: 10
Popularity: 0.033488
First Submitted: 2018-08-02 17:35
Last Updated: 2020-02-11 20:30

Latest Comments

1 2 Next › Last »

marzoul commented on 2020-03-21 09:37

Follow-up : python issue is caused by wrong detection of python version from repo. No known solution yet.

marzoul commented on 2020-03-19 22:24

Hi, I have a build error. Is there a missing python-related dependency ?

In file included from /home/adrien/Dev/AUR/nextpnr-git/src/nextpnr/gui/
/home/adrien/Dev/AUR/nextpnr-git/src/nextpnr/common/pybindings.h:24:10: fatal error: Python.h: No such file or directory
   24 | #include <Python.h>
      |          ^~~~~~~~~~
compilation terminated.
make[2]: *** [generated/gui/ice40/CMakeFiles/gui_ice40.dir/build.make:210: generated/gui/ice40/CMakeFiles/gui_ice40.dir/] Error 1
make[2]: Leaving directory '/home/adrien/Dev/AUR/nextpnr-git/src/nextpnr/build'
make[1]: *** [CMakeFiles/Makefile2:660: generated/gui/ice40/CMakeFiles/gui_ice40.dir/all] Error 2
make[1]: Leaving directory '/home/adrien/Dev/AUR/nextpnr-git/src/nextpnr/build'
make: *** [Makefile:141: all] Error 2
==> ERROR: A failure occurred in build().

xiretza commented on 2020-02-21 07:11

@guturise: rebuild trellis(-git).

gururise commented on 2020-02-20 22:28

getting this build error:

[ 50%] Generating ecp5/chipdbs/chipdb-25k.bba
Traceback (most recent call last):
  File "/home/gene/.cache/yay/nextpnr-git/src/nextpnr/ecp5/", line 2, in <module>
    import pytrellis
ImportError: cannot open shared object file: No such file or directory
make[2]: *** [CMakeFiles/ecp5_chipdb.dir/build.make:82: ecp5/chipdbs/chipdb-25k.bba] Error 1
make[2]: Leaving directory '/home/gene/.cache/yay/nextpnr-git/src/nextpnr/build'
make[1]: *** [CMakeFiles/Makefile2:330: CMakeFiles/ecp5_chipdb.dir/all] Error 2
make[1]: Leaving directory '/home/gene/.cache/yay/nextpnr-git/src/nextpnr/build'
make: *** [Makefile:141: all] Error 2

xiretza commented on 2020-02-05 14:14

TRELLIS_ROOT was renamed to TRELLIS_INSTALL_PREFIX, requiring a change in line 30 of the PKGBUILD:

EDIT: Actually, the meaning changed too, it should now only be /usr:

grahamedgecombe commented on 2020-01-15 19:44

To the person who flagged as out of date:

I can't reproduce the build failure.

A common problem is that trellis-git/icestorm-git sometimes need to be updated/rebuilt before building nextpnr-git, so I'd suggest trying that. Otherwise, pasting the exact failure would be helpful.

grahamedgecombe commented on 2019-03-26 21:31

@redfast00: do you have the latest version of icestorm-git?

redfast00 commented on 2019-03-26 17:57

Package seems broken:

 core is up to date
 extra is up to date
 community is up to date
 multilib is up to date
 blackarch is up to date
:: Starting full system upgrade...
 there is nothing to do

~~ initializing aurman...
~~ calculating solutions...

:: The following 1 package(s) are getting updated:
   aur/nextpnr-git  r1831.6d66404-1  ->  r2004.c67b825-1

?? Do you want to continue? Y/n: 
~~ looking for new pkgbuilds and fetching them...

==> Making package: nextpnr-git r2008.ed4fc88-1 (Tue 26 Mar 2019 06:51:52 PM CET)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Updating nextpnr git repo...
Fetching origin
==> Validating source files with sha256sums...
    nextpnr ... Skipped
==> Extracting sources...
  -> Creating working copy of nextpnr git repo...
Switched to a new branch 'makepkg'
==> Starting pkgver()...
==> Removing existing $pkgdir/ directory...
==> Starting build()...
-- Found PythonInterp: /usr/bin/python3 (found suitable version "3.7.2", minimum required is "3.5") 
-- Boost version: 1.69.0
-- Found the following Boost libraries:
--   filesystem
--   thread
--   program_options
--   iostreams
--   chrono
--   date_time
--   atomic
--   regex
-- Found PythonInterp: /usr/bin/python3 (found version "3.7.2") 
CMake Warning at /usr/share/cmake-3.14/Modules/FindBoost.cmake:1799 (message):
  No header defined for python-py372; skipping header check
Call Stack (most recent call first):
  CMakeLists.txt:139 (find_package)

CMake Warning at /usr/share/cmake-3.14/Modules/FindBoost.cmake:1799 (message):
  No header defined for python-py37; skipping header check
Call Stack (most recent call first):
  CMakeLists.txt:146 (find_package)

CMake Warning at /usr/share/cmake-3.14/Modules/FindBoost.cmake:1799 (message):
  No header defined for python-py3; skipping header check
Call Stack (most recent call first):
  CMakeLists.txt:146 (find_package)

-- Configuring architecture : generic
-- Configuring architecture : ice40
-- Configuring architecture : ecp5
-- Configuring done
-- Generating done
-- Build files have been written to: /home/redfast/.cache/aurman/nextpnr-git/src/nextpnr/build
[  0%] Automatic MOC for target gui_ice40
[  0%] Built target gui_ice40_autogen
[ 11%] Built target gui_ice40
[ 12%] Built target bbasm
make[2]: *** No rule to make target '/usr/share/icebox/chipdb-u4k.txt', needed by '../ice40/chipdbs/chipdb-u4k.bba'.  Stop.
make[1]: *** [CMakeFiles/Makefile2:183: CMakeFiles/ice40_chipdb.dir/all] Error 2
make: *** [Makefile:141: all] Error 2
==> ERROR: A failure occurred in build().
2019-03-26 18:51:53,625 - wrappers - makepkg - ERROR - makepkg query ['makepkg', '-cf', '--noconfirm'] failed in directory /home/redfast/.cache/aurman/nextpnr-git

andres commented on 2019-03-25 17:11

package eigen is needed to build this.

benallard commented on 2018-08-29 17:24

After updating icestorm-git, the issue is gone.