Package Details: nextpnr-git 0.7.r178.gf3a5024-1

Git Clone URL: https://aur.archlinux.org/nextpnr-git.git (read-only, click to copy)
Package Base: nextpnr-git
Description: Portable FPGA place and route tool
Upstream URL: https://github.com/YosysHQ/nextpnr
Licenses: ISC
Conflicts: nextpnr
Provides: nextpnr
Submitter: grahamedgecombe
Maintainer: xiota (thotypous)
Last Packager: xiota
Votes: 26
Popularity: 0.77
First Submitted: 2018-08-02 17:35 (UTC)
Last Updated: 2025-02-15 17:18 (UTC)

Required by (5)

Sources (2)

Latest Comments

1 2 3 4 5 Next › Last »

xiota commented on 2025-02-15 17:22 (UTC)

@qw99 I haven't seen that error. The reference to /usr/local indicates you previously side-loaded something. Suggest reviewing contents of that folder and removing anything that isn't needed. Easiest way is to remove it entirely and reinstall core/filesystem. Also, recommend to build in a clean chroot.

qw99 commented on 2025-02-15 11:10 (UTC)

ninja: error: '/usr/local/lib/libboost_program_options.so.1.85.0', needed by 'bba/bbasm', missing and no known rule to make it. pacman -Q boost-libs outputs boost-libs 1.87.0-2.

xiota commented on 2025-01-20 21:01 (UTC)

@aaruni96 Disabled ng-ultra architecture. Package should build without test failure now. Upstream indicates this will be the default soon.

@Relih I did not see that error. pybind11 is headers only, so shouldn't be trying to link. Maybe try building in clean chroot.

Relih commented on 2025-01-17 07:31 (UTC)

Building fails because it cannot find pybind11 headers:

[ 11%] Building CXX object CMakeFiles/nextpnr-generic.dir/3rdparty/oourafft/fftsg.cc.o
[ 11%] Building CXX object CMakeFiles/nextpnr-generic.dir/3rdparty/oourafft/fftsg2d.cc.o
[ 12%] Linking CXX executable nextpnr-generic
/usr/bin/ld: cannot find -lpybind11_headers: No such file or directory
collect2: error: ld returned 1 exit status
make[2]: *** [CMakeFiles/nextpnr-generic.dir/build.make:899: nextpnr-generic] Error 1
make[1]: *** [CMakeFiles/Makefile2:731: CMakeFiles/nextpnr-generic.dir/all] Error 2
make: *** [Makefile:146: all] Error 2
==> ERROR: A failure occurred in build().
    Aborting...
 -> error making: nextpnr-git-exit status 4

Pybind11 is installed however

⚡➜ ~ yay -Qs pybind11
local/pybind11 2.13.6-2
    A lightweight header-only library that exposes C++ types in Python and vice versa

aaruni96 commented on 2025-01-05 12:17 (UTC)

Build fails because himbaechel-test fails. Logs are here:

Test project /home/user/.cache/yay/nextpnr-git/src/nextpnr/build
Connected to MAKE jobserver
    Start 1: generic-test
1/6 Test #1: generic-test .....................   Passed    0.02 sec
    Start 2: ice40-test
2/6 Test #2: ice40-test .......................   Passed    0.01 sec
    Start 3: ecp5-test
3/6 Test #3: ecp5-test ........................   Passed    0.01 sec
    Start 4: nexus-test
4/6 Test #4: nexus-test .......................   Passed    0.01 sec
    Start 5: gowin-test
5/6 Test #5: gowin-test .......................   Passed    0.01 sec
    Start 6: himbaechel-test
6/6 Test #6: himbaechel-test ..................***Exception: SegFault  0.11 sec

83% tests passed, 1 tests failed out of 6

Total Test time (real) =   0.17 sec

The following tests FAILED:
      6 - himbaechel-test (SEGFAULT)

Logs for the failed test :

6/6 Test: himbaechel-test
Command: "/home/user/.cache/yay/nextpnr-git/src/nextpnr/build/nextpnr-himbaechel-test"
Directory: /home/user/.cache/yay/nextpnr-git/src/nextpnr/build
"himbaechel-test" start time: Jan 04 06:25 EST
Output:
----------------------------------------------------------
[==========] Running 5 tests from 1 test case.
[----------] Global test environment set-up.
[----------] 5 tests from NGUltraLutDffTest
[ RUN      ] NGUltraLutDffTest.pack_constants
Info: Using uarch 'ng-ultra' for device 'NG-ULTRA'
ERROR: Unable to read chipdb /home/user/.cache/yay/nextpnr-git/src/nextpnr/build/share/himbaechel/ng-ultra/chipdb-ng-ultra.bin
unknown file: Failure
Unknown C++ exception thrown in SetUp().
<end of output>
Test time =   0.11 sec
----------------------------------------------------------
Test Failed.
"himbaechel-test" end time: Jan 04 06:25 EST
"himbaechel-test" time elapsed: 00:00:00
----------------------------------------------------------

pera commented on 2024-10-19 20:40 (UTC)

I couldn't build this package with the current version of prjapicula (nextpnr master branch depends on the yet to be released apicula master branch) so I have created this new package that builds from source and retrieves the pickle artifacts generated by github actions (instead of running the fuzzers): https://aur.archlinux.org/packages/apicula-git

sf101 commented on 2024-10-19 16:04 (UTC)

When I try to compile nextpnr-git (after compiling prjtrellis-db-git), I get

    vagrant: [ 99%] Building CXX object CMakeFiles/nextpnr-himbaechel-test.dir/himbaechel/uarch/xilinx/xilinx.cc.o
    vagrant: [ 99%] Building CXX object CMakeFiles/nextpnr-himbaechel-test.dir/himbaechel/uarch/xilinx/xilinx_place.cc.o
    vagrant: [ 99%] Linking CXX executable nextpnr-himbaechel-test
    vagrant: [ 99%] Built target nextpnr-himbaechel-test
    vagrant: [ 99%] Built target chipdb-himbaechel-example
    vagrant: [ 99%] Generating ../../../share/himbaechel/gowin/chipdb-GW1N-1.bin
    vagrant: Traceback (most recent call last):
    vagrant:   File "/home/vagrant/.cache/paru/clone/nextpnr-git/src/nextpnr/himbaechel/uarch/gowin/gowin_arch_gen.py", line 1470, in <module>
    vagrant:     main()
    vagrant:   File "/home/vagrant/.cache/paru/clone/nextpnr-git/src/nextpnr/himbaechel/uarch/gowin/gowin_arch_gen.py", line 1429, in main
    vagrant:     create_packages(ch, db)
    vagrant:   File "/home/vagrant/.cache/paru/clone/nextpnr-git/src/nextpnr/himbaechel/uarch/gowin/gowin_arch_gen.py", line 1227, in create_packages
    vagrant:     if variant in db.sip_cst and pkgname in db.sip_cst[variant]:
    vagrant:                   ^^^^^^^^^^
    vagrant: AttributeError: 'Device' object has no attribute 'sip_cst'
    vagrant: make[2]: *** [himbaechel/uarch/gowin/CMakeFiles/chipdb-himbaechel-gowin.dir/build.make:82: share/himbaechel/gowin/chipdb-GW1N-1.bin] Error 1
    vagrant: make[1]: *** [CMakeFiles/Makefile2:1771: himbaechel/uarch/gowin/CMakeFiles/chipdb-himbaechel-gowin.dir/all] Error 2
    vagrant: make: *** [Makefile:146: all] Error 2
    vagrant: ==> ERROR: A failure occurred in build().
    vagrant:     Aborting...
    vagrant: error: failed to build 'nextpnr-git-0.7.r29.gf0859503-1':
    vagrant: error: packages failed to build: nextpnr-git-0.7.r29.gf0859503-1

Is there perhaps a dependency missing?

yjun commented on 2024-09-06 16:21 (UTC) (edited on 2024-09-06 16:24 (UTC) by yjun)

Considering the latest documentation and discussions, it appears that Gowin will be replaced by a new architecture called himbaechel-gowin. Should we update the PKGBUILD file accordingly?

nextpnr-himbaechel

Gowin: Remove nextpnr-gowin

apicula

sf101 commented on 2024-04-29 18:16 (UTC)

Please consider adding support for himbaechel, it is needed for some boards such as the Tang Nano 9K.

_ARCHS=('generic' 'ice40' 'ecp5' 'nexus' 'gowin' 'himbaechel')
    himbaechel)
      makedepends+=('prjapicula')
      _CONFIG+=('-DHIMBAECHEL_GOWIN_DEVICES=all')
      ;;